Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
1answer
2k views

Run VMware Player on CentOS 6

I am trying to run VMware Player on CentOS 6. I am stuck with the following issue after installing the VMware Player package. VMware Player fails to start and gives the following error message. ...
4
votes
2answers
1k views

How do I install the latest gcc 4.7.0 on centos 6.2?

[root@localhost dyliu]# yum list gcc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: ...
3
votes
1answer
845 views

How can I force linux to use HDMI video for the console?

A while ago I repurposed an old Acer 8940 laptop to be a home theatre system using XBMC on top of Gentoo. I have video over HDMI to my 1080p TV which is working perfectly with X, and audio via the ...
2
votes
1answer
1k views

Permission issue with emacs for non-root user (Ubuntu 11.10)

Background I'm working on my personal VPS configured mostly for learning sysadmin and personal projects. Have run up against an issue where my non-root user could only create/edit files in emacs by ...
3
votes
3answers
3k views

Linux on MacBook Air

I'm thinking of getting a MacBook Air. The answers to this post will help me make my decision. My questions and my understanding of current solutions are: How difficult is it to install a ...
3
votes
0answers
2k views

No DisplayPort output via DisplayPort→HDMI adapter from Nvidia card using Linux on Thinkpad W520

I have a Thinkpad W520 laptop with Nvidia Quadro 1000M graphics running Debian testing (“wheezy”) and Nvidia driver version 295.40-1. The graphics mode is set to discrete in the BIOS. I would like to ...
0
votes
3answers
247 views

How to fix the boot loader?

I dual booted my xp installing linux mint 12. 2 days ago I downloaded the Android SDK, on Eclipse Indigo (on Linux Mint) and now I can't start Linux Mint, nor XP. I can only use XP in safe mode, I ...
2
votes
1answer
175 views

Files names with forbidden characters for Windows, disappeared in TrueCrypt

I have files and folders in a TrueCrypt volume that contain the character :, which is not tolerated by Windows. These files were named with this character on a Linux system. When I opened the ...
2
votes
2answers
2k views

How to boot linux kernel without bootloader?

By default to boot image bzImage of a Linux kernel you need to use the bootloader. If you try to boot the image directly it will give the error: Booting from Hard Disk... Direct booting from floppy ...
1
vote
2answers
5k views

No video shown in MOV files when played in VLC on Linux

Files with the .MOV extension are great with their tiny size! I'm trying to play these files on Linux using VLC, as it's a great cross-platform application, but the problem is that NO video is shown ...
6
votes
2answers
2k views

How to use unison's path option with multiple paths?

I want to sync the following locations using unison: /home/user/Audiobooks with /shared/Audiobooks /home/user/Music with /shared/Music /home/user/Podcasts with /shared/Podcasts What would the ...
0
votes
3answers
227 views

SSH passwordless authentication failure

I am trying to ssh two machines and I would prefer to use keys generated for authentication rather than password. This will enable me to automate port-forwarding and many other things. Note: My ...
1
vote
1answer
4k views

Anybody have luck Scanning from HP OfficeJet Pro 8600 to Ubuntu Linux

Having no issues printing to HP OfficeJet Pro 8600 from Ubuntu. Ubuntu found network printer and installed ok using closest driver "OfficeJet 8500". However, scanner was not detected. I was ...
1
vote
2answers
331 views

tiling WM with resizable stack windows?

Right now I'm using dwm and for the most part loving it. It does almost everything I want, which is great, but there is one more thing I'd like that I'm not sure what WM can or can't do, or if there's ...
0
votes
1answer
179 views

vim serverlist over ssh doesn't work

I was trying to play with vim server instances and noticed when I SSH into my work box I can never see the names of the server - so I can't send signals to them as you will see, if I create a server ...
0
votes
2answers
360 views

After Fedora upgrade, system won't boot; what step to take next?

I have a home server running Fedora 12 and decided to upgrade to Fedora 14. I ran through the upgrade process using preupgrade with instructions from here. I ran into an issue withi insufficient ...
0
votes
3answers
699 views

Password protect /etc/hosts file

Can I create a different permission to access the hosts files so that the sudoer needs this extra key in order to access it? Also, would password protecting the file prevent OS from accessing it ...
0
votes
0answers
1k views

Linux can't boot without acpi=off on Thinkpad

I recently installed Linux Mint 12 - the Gnome version - on a new Lenovo Thinkpad L520 for a friend. It's running kernel 3.0.0-12- generic. When I booted - either into the live CD, or into the ...
6
votes
4answers
428 views

Damaged HDD recovery woes

I've got a dying disk, it's an emotional time, but I've managed to either recover or retrieve backups for most of the data. I've got a few questions though. When the disk first started dying, boot ...
1
vote
2answers
81 views

File Creator Program linux

I need to view via terminal in what program the file was created. Something like : $ "command" /Volumes/USB1/IMG_0231.jpg Creator = "Adobe Photoshop Elements 3.0 Macintosh". Any thoughts?
1
vote
1answer
2k views

How to detect a Wacom Intuos5 tablet in Linux Mint?

I have an Intuos5 drawing tablet that I'd like to use under Linux. Under Windows it runs fine, but I can't get it to work in Linux (using Mint 11). lsusb shows that it is known as a USB device: $ ...
0
votes
2answers
836 views

Have sudo create files under your own user id?

If I wanted to do something like sudo fdisk -l > test.txt but I wanted test.txt to be under my own user ID (and not root) without having to chown it afterwards, is there a way to do this? ...
16
votes
6answers
25k views

When to use Bash and when to use Perl/Python/Ruby?

We are doing all our scripting with Bash so far, but I'm starting to feel a bit silly about it. While we can of course do everything we want with Bash (it's quite powerful), I'm starting to wonder if ...
4
votes
1answer
129 views

Is there a way to discard any information retained in RAM without restarting when using Windows and Linux?

My understanding is that Truecrypt keys are retained in RAM when a device is mounted. Can I discard any information held in RAM without restarting in Windows and Linux?
2
votes
3answers
396 views

How can I make the linux time function prefix the output of a command insteading of placing the output after the command?

~$ /usr/bin/time -f "%e: " echo test test 0.00: I want the output to be 0.00: test How would I accomplish this?
0
votes
1answer
300 views

How to make Linux use the proper diplay driver? How to prioritize the drivers?

So, there are 2 GPUs in my laptop. An Intel one, and an ATI one. The Intel comes with a nice open-source driver, which works OOTB. The ATI one needs the proprietary driver, to function properly (like ...
0
votes
1answer
687 views

ShellScript:dialog inputbox

Somehow to interact with user using shell in Linux you can use dialog. my question about dialog --inputbox where you let user to enter a string as an answer to a question then you can redirect the ...
0
votes
1answer
479 views

Elimination of directory structure in a tar.gz file

$ tar -zcvf archive/test.tar.gz files will give me as below : files/ files/1 files/2 files/3 -- $ tar -zcvf archive/test.tar.gz -C files . will give me as below : ./ ./1 ./2 ./3 I am not ...
1
vote
1answer
171 views

Disable screen scaling in Xvesa?

Is it possible to disable the X screen from stretching to fill the monitor? For instance, if Xvesa is configured to display 800x600, can I have that 800x600 box centered in the middle of the screen ...
0
votes
1answer
345 views

How to grep for VIM colour schemes that do not use dark blue?

I simply cannot see the ANSI BLUE colour in a terminal with a black background. How does one grep the installed VIM colorschemes for one that does not use that colour at all? I often SSH into ...
7
votes
2answers
27k views

How to SCP from linux server to Windows client

I am Puttying into a linux machine and trying to copy a file down somewhere (anywhere) to my local machine. I figure SCP is the best candidate for the job but don't really care, so long as the ...
2
votes
2answers
695 views

what is . in permission list (-rw-rw-r--.)

what is . in file or directory permision e.g. -rw-rw-r--. 1 asterisk asterisk 1869 Apr 20 16:04 sip_additional.conf Its about ACL (SELINUX), but what does that . exactly represents.
6
votes
2answers
680 views

Can I login to multiple terminals with the same user safely on Linux?

By terminals I mean the ones you can switch to using Ctrl+Alt+F1-F6. I know I'm able to login multiple times but does this have any side-effects?
-2
votes
1answer
386 views

How to enable usedir module on Apache2 in Ubuntu?

How to enable userdir module on apahe2 on ubuntu and set the path to directory for specific user? This statement in /etc/apache2/sites-enabled/default is making fail apache service to restart. ...
3
votes
1answer
723 views

installing ubuntu in offline mode

I have made a dual boot of fedora 16 and windows 7. I wanted to make a triple boot by installing ubuntu 11 which i just downloaded (iso file 695 MB) from their official website. Can i install it in ...
0
votes
1answer
476 views

Can I kill console-kit-dae process on Ubuntu?

top command shows 2 process of console-kit-dae each using 22% of memory. I would like to know why and if I can kill them?
0
votes
1answer
785 views

Extracting files from NanoZip archive

I have compressed some files with NanoZip on Linux with: ./nz c a -cc file.nz files/* Now I'm trying to extract them with ./nz x file.nz file_copy/* but I can't find the output. The same goes ...
3
votes
3answers
3k views

Difference between the Windows and Linux thread scheduler

As far as I can tell, both use: Multilevel feedback queue Priority levels (different range) Both manage threads and not the process But what are the big differences?
1
vote
3answers
5k views

Search for files and print their full path

ls -R /media/X | grep filename lets me search for file names, but it only prints the file name and not the directory it resides in. How can I print the file name and its directory?
1
vote
1answer
201 views

Virtualize Linux Machine

I have one Linux BOX running Asterisk. I want to virtualize this machine, and put it in one VMWARE VM. What is the best method and tools to do it?
1
vote
1answer
4k views

How to change root password for PostgreSql phpPgAdmin?

What is the simplest way to change root password for PostgreSql phpPgAdmin ?
3
votes
1answer
8k views

How to overwrite file using echo?

When using echo "foo">> bar.txt more than once it appends to the end of a file. How to overwrite bar.txt each time?
0
votes
1answer
3k views

IPv6 source address selection and routing in Linux

I'm in the process of setting an ipv6 on my test network. I work with a /56 network and CentOS 6.2. I have an interface with 2 IPv6 addresses on 2 different networks : 2b0 1:abcd:4001:c00::30/56 ...
1
vote
4answers
999 views

How to reconnect to Ethernet interface on Linux computer?

I am working with a small Linux computer that has an Ethernet interface on it. Typically it has the lo "Local Loopback" interface on it & the eth0 "Ethernet" interface on it that does all of its ...
1
vote
4answers
11k views

Removing MySQL completely on Linux

I'm fairly new to Linux, when I first installed MySQL it was during an LAMP setup on personal machine with a Ubuntu Setup. ATM, I'm trying to get a fresh, clean install of only MySQL. I've been to ...
0
votes
1answer
464 views

Converting PPT and XLS to TXT from Linux command line

I want to convert PowerPoint (.ppt) and Excel (.xls) files to a plain text format (.txt) from the command line on a server running Linux. The server does not have xorg or similar libraries installed, ...
1
vote
1answer
1k views

I want to get a count of unique entries in the Apache error logs on

When viewing Apache's log files there are a lot of error message repeated. I would like to find out which error messages are most frequent and which are unique. I would like a simple script that can ...
2
votes
1answer
801 views

How to configure network profiles in Centos?

I'm trying to setup two network profiles in Centos. One for at home, one for at work. The home profile has a fixed IP address, fixed gateway and DNS server addresses. The work profile depends on DHCP. ...
2
votes
2answers
533 views

xterm select text with keyboard that is anywhere in window

Is there a way to select and copy text anywhere in terminal(xterm) window(that is, not only current shell line, but also output from previous commands) using only keyboard?
0
votes
1answer
2k views

Rsnapshot Exclude Directory Not Working

Rsnapshot not excluding the files that I specified in exclude_file. Config file config_version 1.2 snapshot_root /home/xxx/Backups/test/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync ...