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

3
votes
1answer
524 views

How to find files that don't belong to a given user

How do I recursively search for all files or directories that do not belong to given user?
1
vote
1answer
2k views

VirtualBox incredibly slow (CPU bound) with Debian host and guest

I'm trying to install Debian on VirtualBox running on a Debian host, but the guest is incredibly slow. Looking at the output of top it appears that the guest is CPU bound (I see high CPU usage but ...
1
vote
1answer
3k views

Ubuntu 11.10 firewall/gateway - no client internet access

I have read many other posts but cannot figure this out. eth0 is my external connected to a Comcast modem. The server has internet access with no issues. eth1 is internal and running DHCP for the ...
2
votes
2answers
80 views

Network music solution for mixed-OS network

My home network at current includes, two Ubuntu machines a Windows 7 desktop a Windows Vista laptop and a Windows XP netbook. In addition, there's one android-based smartphone in the house, ...
18
votes
6answers
24k views

Remove file without asking

How can I remove file without asking user if he agrees to delete file? I am writing shell script and use rm function, but it asks "remove regular file?" and I really don't need this. Thank you.
1
vote
2answers
2k views

How do I move Apache's www folder and then create a symbolic back link to it under Linux

I have installed ISPConfig and have an Apache /var/www folder. I would like to move this www folder to another drive mounted at /data. I did cp -r /var/www /data to create a copy in the /data ...
4
votes
1answer
2k views

ArchLinux - system hangs and becomes unresponsive

I have been having issues with a particular laptop for several weeks. Another one with the same OS and updates is running fine (so I am thinking this is a hardware issue). The system appears to hang ...
1
vote
1answer
263 views

synchronize user configurations between multiple machines on Linux

I have multiple Ubuntu boxes and I need to synchronize config files between them. The config files are both system global ones in /etc and user ones like ~/.emacs What do you think is the best way to ...
15
votes
3answers
14k views

How to chmod and chown hidden files in Linux?

How do I recursively execute chmod or chown for hidden files? sudo chmod -R 775 * does not work on hidden files. The same thing goes for sudo chown -R user:group.
0
votes
0answers
456 views

Shutdown command no longer broadcasts messages

The shutdown command has stopped broadcasting messages like this: luzar@ubuntu:~$ sudo shutdown -h -P +3 Please save your work now! Broadcast message from luzar@ubuntu (/dev/pts/0) at 11:57 ...
0
votes
0answers
712 views

cURL does not work on verbose mode

I have installed curl on a new ubuntu installation with apt-get and it behaves really weird. When I do curl http://www.google.co.uk everything work ok, but when I do curl -v ...
3
votes
4answers
2k views

Default path for installed binary?

By doing yum install vlc I have installed the vlc player on my system. Now I want to know where the binary of vlc was installed. So what is the default path for installation in Fedora Linux?
0
votes
3answers
2k views

Can I install Linux on a USB flash drive?

I want to install Red Hat Linux on my flash drive. Is there a way that I can do this? I tried a lot found through searching, but couldn't get a satisfactory answer. In fact, if I try the same for ...
1
vote
2answers
180 views

Vim editor's “restore, abort or cancel” - what shall I do?

While I am editing my httpd.conf file the vim editor get closed abruptly. now when i am trying to open that file again editor says " want to restore or Abort or cancel. After doing this one of the ...
0
votes
2answers
1k views

tar: “Cannot stat” when given arguments as shell variables

I have some directories in a location, that location's absolute path is stored in PROJECT_HOME. Now, I am trying to do the following in a script: TARGET_LIST="bin lib scripts deployment" tar -czf ...
0
votes
2answers
666 views

Blanking/changing Mac OS X password in Linux

I have a computer running Mac OS X, and I have a Linux live CD (I have Ubuntu 11.04, 10.4, and BackTrack 5). How do I blank the password on Mac OS X from my start CD, what program ...
0
votes
2answers
155 views

Running Ubuntu off a USB drive?

I was wondering if a USB 2.0 Thumb drive has enough bandwidth to act as a primary system drive in an Ubuntu Linux server. More specifically an SAN server. I am running an iSCSI target, ZFS and ...
1
vote
1answer
152 views

Pass an option syntax string as filename

I somehow got a file named --no-recursion in a directory. How can I get cat to show what it contains? Not like this, since the argument gets interpreted as an option: root@nagini [/home/lalilulelo]# ...
0
votes
1answer
2k views

Linux Extracting a rar format file

I copied a .rar file from a Windows to a Linux machine using WINSCP tool. After copying the file, I tried to extract the .rar file, but I wasn't successful. I tried using unrar and file.rar. I got ...
8
votes
1answer
445 views

Can two Linux partitions use the same swap space?

I have Ubuntu 10.04 and Windows 7 installed on my machine, due to some reasons I need to install one more copy of Ubuntu.. Is it possible that the new Ubuntu uses the same swap space used by previous ...
8
votes
1answer
2k views

Exporting vector graphics from Inskcape into Libreoffice

I'm trying to export a reasonably complex illustration from Inkscape into a Libreoffice Writer document. I'd like to avoid rasterizing the illustration as much as possible. So far I've tried the ...
1
vote
0answers
90 views

Integration of GVIM with Firefox with Mozplugger

I am wanting to make my Firefox browser open the GVIM application for codes and plain-text. I added the following lines in mozpluggerrc: text/x-c++src:c++: C++ File text/x-c++src:C: C++ File ...
1
vote
4answers
18k views

How to copy a file between two Linux machines?

I'm connecting from a Linux server (Machine 1) to another Linux server (Machine 2) using PuTTY. Using WinSCP, I have copied a zip file from my hard disk in Windows to the Machine 1's home directory. ...
2
votes
1answer
2k views

Recursively add directory to $PATH variable

Is it possible to recursively add a directory to my $PATH variable? Let's say I have a directory structure like the following: /usr/local/bin - /nodejs-x.x - /redis-x.x - /mongodb-x-x ...
1
vote
1answer
640 views

How to configure automounter with FUSE sshfs

Is there a way to configure the automounter (either Linux or OSX) with FUSE sshfs so that cd /servers/<server> will automount the correct server with sshfs?
2
votes
2answers
157 views

Upgrading to 64-bit hardware underneath 32-bit operating system

I have a home file server which was previously running on an Athlon XP cpu (Socket A). The operating system on it is Ubuntu 10.04 (LTS), 32-bit, server-flavor. I believe the motherboard has died and ...
4
votes
1answer
4k views

Split PDF document from command line in Linux?

I would like to extract page ranges from a PDF document into a new PDF document using the command line in Linux. Note that: Pdftk - The PDF Toolkit fails for me with: $ pdftk input.pdf cat 1 ...
1
vote
0answers
178 views

CUPS - use credentials from login to pass to samba server

Everytime I print, CUPS asks me for authentication information to print to a SAMBA shared printer. Is it possible to pass my credentials to the SAMBA share directly from whatever I used to ...
3
votes
2answers
931 views

Open Source Linux system benchmark software

How can I run a system benchmark in a Linux installation? I'd like to do a full test with the core system functionalities like: CPU performance Memory performance Disk / IO performance Network ...
0
votes
2answers
365 views

How can I hide username@node in linux shell?

I want to hide username@solaris in a Unix shell. I would like something like this: $ ls -l Instead I have this: user@solaris:~$ ls -l
2
votes
1answer
2k views

How to do hardware DTR/DSR flow control on Linux (serial port programming)?

It's possible to setup a serial port communication using hardware flow control with the RTS/CTS pins (CRTSCTS flag for tcsetattr), but there is no way to use the DTR/DSR pins for flow control in a ...
0
votes
4answers
144 views

Why I should type “./” when I want running an application that compiled by GCC in Linux?

My OS is Fedora Linux 14. I write a program with Code::Blocks IDE and it compiles my program with GCC. My output program is test. When I start my application in Code::Blocks it starts normally. But ...
0
votes
1answer
304 views

RHEL and Win7 Dual Boot Shared Folder Permission

Good morning; I've set things up like this (but can easily modify if the solution calls for it) on a 500GB HDD: Win7 Enterprise 64-bit, 80GB partition; this was installed and configured first, using ...
0
votes
0answers
77 views

Disk Partitioning and a Weird dev Configuration, how to fix?

I want to dual boot Fedora and openSuse since I'm testing them out. I need a stable linux work machine for my thesis, and I'm wary of using the latest Ubuntu (Debian is a good candidate, but I am so ...
0
votes
0answers
236 views

In voice call other side is unable to hear me

I'm experiencing problem in voice calling in Linux since last week. It is happening with skype, Google Talk and Pidgin. I think there is something wrong with pulse audio or might be some drive ...
3
votes
1answer
2k views

How do I change shell prompt permanently?

I use PS=$ to change the shell prompt to $, but when I restart the shell, I have to do it again. Is there a way to change the shell prompt permanently?
7
votes
2answers
6k views

How can I mount a disk image?

I have a disk image myimage.disk which contains the partition table and a primary partition (i.e. a FAT32 filesystem). Think that as a USB pen image. I want to mount the primary partition to a local ...
0
votes
2answers
720 views

How do I get computers to respond to ping in Linux?

I'm a newbie and I'd like to know about the Ping command on Linux (I'm using Ubuntu 11.04). After pinging a PC on my network, how can I make the target PC respond to my ping calls? I can see that the ...
0
votes
3answers
68 views

How do I check which recovered files are valid?

I have a lot of recovered files of which many are invalid even though they appear to be ok by name and extension. This is expected. Now I to need filter out those which are probably ok. I see to ...
0
votes
1answer
1k views

Copying a folder from one server to another using scp

I am using PuTTY. I am trying to copy a folder from one server to another server in Linux. But I am getting this error on to the PuTTY console as myfolder: Not a regular file Is it possible to ...
21
votes
7answers
18k views

ls -d is not displaying directories. Is there a way to get ls to only display directories instead of files and directories

Is there a way to get ls to only display directories instead of files and directories From the man page. -d, --directory list directory entries instead of contents, and do not ...
0
votes
1answer
338 views

/var/tempFS is full 100%! how do I remove files?

/var/tempFS 2.9G 2.8G 664K 100% /tmp How can I remove all files in this directory or change the partition size?
0
votes
3answers
228 views

Can't launch any Linux on hi-end hardware? [closed]

there a tough one: I've bought a new computer with the following configuration: ASUS Rampage III Extreme Core i7 950 ZOTAC AMP! GeForce GTX 560 KINGSTON KHX1600C9D3K3 3x4GB HAF 922 OCZ ...
7
votes
2answers
10k views

How to create a dummy sound card device in Linux server?

I want to run Linux program that require a soundcard, on a server, which has no soundcard. Is it possible to create a dummy soundcard? I am totally unaware of Linux sound system internals. Please ...
3
votes
1answer
4k views

Getting 2 IP addresses on one network card, using DHCP

Given: A computer running Linux (CentOS 5.x), one network card connected to LAN switch, a second one to cable modem via crossover cable. This computer acts as a router/firewall/traffic shaper for the ...
-2
votes
0answers
988 views

What is the @ sign signifying when viewing ls -la on a directory? [duplicate]

Possible Duplicate: what does the @ mean on the output of ls on os x terminal? -rw-r--r--@ 1 jeremysmith staff 249444 Oct 9 12:03 small.xml and the file as it is uploaded, which will ...
0
votes
3answers
998 views

How to remove parts of a file name

Ive got multiple mp3 files named like so: artist - year - album - track - title.mp3 about half of them, due to a "rename from tag" error are named like this: artist - year - album - track - title - ...
0
votes
1answer
397 views

Is dual-booting more secure than having a single operating system installed?

I need some advice. I've recently become wary about using one computer for everything I do, from a security perspective. I have antimalware installed, but I also download and run a lot of stuff I find ...
2
votes
1answer
438 views

gnu-screen: Automatically run script when attach/detach session

I would like to have bash script run by screen every time when i attach (start.sh) or detach (end.sh) session. Is there any way to configure screen to do that?
-1
votes
1answer
2k views

How to create music on Linux? [closed]

I'd like to start creating music on Linux. From 8 bit music, through creating instruments (for my synthesizer) to DJ mixing. What are first steps I should do if I got my computer only and ...