A family of Unix-like 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

4
votes
1answer
4k views

Linux apropos command always returns “nothing appropriate”

I have a minimal installation of CentOS 5.7 32-bit on a VM. The apropos command always returns "nothing appropriate" [root@localhost ~]# apropos man man: nothing appropriate Even after I run ...
3
votes
1answer
2k views

How do I delete files within a directory and subdirectories but not the folders?

How do I delete files within a directory and subdirectories but not the folders? I need to be able to do this on the Linux command line. With rm?
1
vote
0answers
241 views

Boot Camp on external hard-drive partition?

I would like to know if it is possible to boot Windows or Linux on a Mac through BootCamp, or without it, from an external hard-drive so to leave the internal drive completely unaffected. the thread ...
3
votes
2answers
3k views

Ubuntu - Save terminal tabs with directories and titles

In the terminal I always have the same 3 tabs open, plus other random ones. It would be nice if I could have the terminal open with these three tabs open and their titles set. I tried gnome-...
14
votes
4answers
19k views

Is there any GUI tool to configure /etc/fstab?

I have little experiences in configuring the 'fstab'. I'm looking for any GUI tool that helps me with this. If possible based on gtk and should be available in Debian.
0
votes
2answers
1k views

authenticating linux client with active directory

I am attempting to setup a linux client to authenticate with active directory. I tried following this article, but have had no luck authenticating: https://wiki.archlinux.org/index.php/...
2
votes
1answer
1k views

hostapd: clients cannot connect

I built a small Linux system based on Buildroot. I'd like to configure Buildroot and hostapd so that the machine works as a WPA2 access point. Unfortunately, my laptop (the client) cannot connect. ...
2
votes
1answer
824 views

Use Shorewall to port-forward requests based on the domain requested to different servers

How can I get my firewall to port forward traffic that is comming into different domain to different servers. So I have two web servers. Each one hosts different domains on different servers/IP: ...
1
vote
1answer
798 views

Does stat/lstat on nonexistent file cause a disk seek?

When searching for a library file from a right folder, my application currently does couple of lstat's for the possible locationslocations. Now I'm wondering whether these lstat's (application is ...
2
votes
3answers
26k views

How to lock screen with keyboard on Linux Mint (LXDE)

I'm trying out Linux Mint 11 with LXDE. I'm used to being able to lock the screen with a keyboard combination (for example, Win+L on Windows) rather than tracking down a menu or clicking an icon. Web ...
18
votes
3answers
20k views

How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG

How can I create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG? I used this command to convert an input.avi file to a series of PNG frames: ffmpeg -y -i input.avi -an -...
1
vote
1answer
357 views

Setting up a private GIT Repo

I am new to git and I want to setup a private git repo for my projects. We are two guys working on the project and have a shared connection. I am using fedora 14 and want to setup git on the same ...
3
votes
1answer
939 views

set up socks proxy at home to use away from home

I have a linux box at home. I know I can set up a proxy on a current computer by opening up terminal and typing ssh -D PORT USER@SERVER and then enter in the proxy and port in a browser. HOWEVER - I ...
1
vote
1answer
393 views

I wish to install Skype and other downloaded programs on Linux, specifically Debian, AMD64 LXDE

With Linux I have functioned up to now just using apt-get and modifying /etc/apt/sources.list . I followed the instructions in this blog. I added "deb h ttp://download.skype.com/linux/repos/debian/ ...
1
vote
1answer
91 views

How can `which cmd` != cmd?

Can anyone explain this? $ vim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 12 2010 12:47:31) $ `which vim` --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 13 2011 22:52:17) ...
9
votes
5answers
22k views

How to list files by file owner in Unix command?

I need to list all of the files my WD sorted alphabetically by the file owner name. Does ls have something for this?
1
vote
1answer
550 views

mv - move dir with destination-dir having the same subdirs as source-dir

In FreeBSD (I suppose it works like Linux et al in this regard), I'd like to move src_parent/mydir to dst_parent/mydir. dst_parent/mydir already exists, and it contains some subdirs that's also ...
1
vote
1answer
846 views

Useless nm_dbus_manager_init_bus error messages fill log

My system runs fine, but /var/log/messages repeats this message every few seconds, filling up my log directory: Oct 13 09:10:57 barry NetworkManager: <WARN> nm_dbus_manager_init_bus(): Could ...
2
votes
1answer
211 views

High latency when writing big files. How to prevent more-than-second page faults when quickly filling up FS?

When I do cat /dev/zero > /some/file all processes tends to become slow (even non-IO related). latencytop shows "Page Faults" are more than 2 seconds. Swap is not used. Adjusting vm.dirty* does ...
5
votes
1answer
2k 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
4k 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
83 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, ...
45
votes
7answers
95k 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
3k 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
308 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 ...
23
votes
4answers
27k 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
730 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
1k 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 http://www....
3
votes
4answers
5k 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?
1
vote
4answers
3k 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
222 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
2k 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
958 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
209 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 NFS-...
1
vote
1answer
182 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 ...
9
votes
1answer
521 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 ...
9
votes
1answer
4k views

Exporting vector graphics from Inkscape 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
96 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 text/x-...
1
vote
4answers
31k 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. ...
4
votes
1answer
4k 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
766 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?
4
votes
3answers
208 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 ...
5
votes
2answers
5k 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
240 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
1k 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
656 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
4
votes
1answer
4k 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 ...