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.
28
votes
10answers
16k views
How to execute a command whenever a file changes?
I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
27
votes
1answer
2k views
Can history files be unified in bash?
I routinely run multiple screen sessions on my Linux desktops and servers.
A problem with this is that when I grep through my command history, I find I issued a command in a different session, and ...
25
votes
6answers
33k views
Batch converting PNG to JPG in linux
Does anyone know a good way to batch-convert a bunch of PNGs into JPGs in linux? (I'm using Ubuntu).
A png2jpg binary that I could just drop into a shell script would be ideal.
19
votes
8answers
4k views
How to track LAN usage? (AKA 'top for LAN')
There's an evil application that is eating ALL my upload bandwidth (I'm brazilian, it's only ~35kbps) for like 80% of the time my PC is turned on.
I would like to know if there's any way to track ...
13
votes
2answers
8k views
Simulating a low-bandwidth, high-latency network connection on Linux
I'd like to simulate a high-latency, low-bandwidth network connection on my Linux machine.
Limiting bandwidth has been discussed before, e.g. here, but I can't find any posts which address limiting ...
60
votes
6answers
29k views
What is the “You have new mail” message in Linux/UNIX?
Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL).
Where is this mail?
What does it contain?
Who/What sent it?
How important ...
15
votes
1answer
2k views
Is there a way to make bash more TAB friendly?
I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it.
My one complaint however is that its TAB completion isn't as good as Windows Command Line TAB completion.
For ...
11
votes
5answers
2k views
Little girl friendly versions of Linux (or themes for Linux)
I'm going to install Linux on a PC for a daughter (age 7) of a friend of mine. I recently came across Hannah Montana Linux. The parents don't want a commercially branded thing going on, so no Hannah ...
23
votes
4answers
7k views
Getting macro keys from a Razer BlackWidow to work on Linux
I picked up a Razer BlackWidow Ultimate that has additional keys meant for macros that are set using a tool that's installed on Windows. I'm assuming that these aren't some fancypants joojoo keys and ...
21
votes
5answers
15k views
Recursively count all the files in a directory [duplicate]
Possible Duplicate:
How can I count the number of folders in a drive using Linux?
I have a really deep directory tree on my Linux box. I would like to count all of the files in that path, ...
14
votes
5answers
42k views
Add permanent SSL certificate exception in Chrome (Linux)
I have a problem with a website that has an SSL certificate which doesn't correspond to the website domain. Chrome gives me a warning for this website (and rightly so), which I have to ignore ...
26
votes
3answers
13k views
How do you check how much power a USB port can deliver?
Some laptops have a special USB port that can deliver more power than the other ones. However it is not always easy to identify which one is the good one, nor how much power it can deliver.
So is ...
23
votes
3answers
30k views
How can I determine what process has a file open in Linux?
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.
So, how can I determine what process has a particular ...
20
votes
6answers
6k views
What is the difference between executing a bash script and sourcing a bash script?
What is the difference between executing a bash script like A and sourcing a bash script like B?
A
>./myscript
B
>source myscript
6
votes
2answers
6k views
How to Combine find and grep for a complex search? ( GNU/linux, find, grep )
I'm trying to do a text search in some files that share a similar directory structure, but are not in the same directory tree, in GNU/Linux.
I have a web server with many sites that share the same ...
2
votes
2answers
9k views
Linux process to background - relogin - how to bring process back to foreground?
I start a process, put it in the background running, then log out, then log in again, and want to bring the process to front again. I've looked in "ps aux" for the PID, but it won't be put in the ...
13
votes
5answers
10k views
Save multiple gnome-terminal layout?
I have multiple gnome-terminal windows open. Is there a way to save the settings (window position, no. of tabs, title etc). across OS reboots ?
9
votes
3answers
9k views
What filesystem to use when using both Windows and Linux?
I will be buying a 2TB hard drive soon, and would like to use it as media storage. I would like to be able to read/write from both Windows (version 7, 64bit) and Ubuntu Linux, and I need support for ...
9
votes
4answers
37k views
undo Linux's rm? [duplicate]
Possible Duplicate:
UNDO LINUX Trash Command
Hi,
Is there any simple way to undo an rm command?
The question is purely theoretical; I have NEVER deleted the log of a benchmark queue who ...
3
votes
6answers
3k views
Which torrent apps work headless (from command line only)?
There's a question on here about what torrent apps work well remotely, but I'm hoping to find out one that works well through a command line interface, preferably with no GUI.
What torrent apps ...
19
votes
6answers
1k views
Should I worry about malware on Linux? [closed]
I don't run an antivirus on Linux ( most people I don't AFAIK ) and I'm not at all concerned about any form of malware or spyware or any other_bad_ware.
Should I by concerned?
Of course I don't ...
10
votes
5answers
52k views
How to remove the Ubuntu Gnome desktop after making the switch to KDE?
This is the opposite of this question. Basically I've been using Ubuntu for a while but decided to give KDE a shot so I went through the process of getting the latest KDE installed. I'm very ...
8
votes
6answers
3k views
Can I access Microsoft Outlook PST archives with any other tools?
I would like to access my Microsoft Outlook archives (pst files) from machines that do not have Microsoft Office installed. Is that possible? Think of several years worth of PST archive files.
My ...
3
votes
2answers
2k views
Can I get Linux into 'Party/Kiosk-Mode' like status?
I want to create a linux user account (in ubuntu or debian or whatever release is more suitable for this) which cannot do anything but just view a pre-determined web page. Kind of Kiosk style so that ...
1
vote
4answers
2k views
Configure Fedora 15 Linux to allow access via port 80 from other computers
I am trying to make my home server accessible to the whole web. I have installed Nginx on my Fedora 15 64-bit Linux machine, and it works with localhost but it doesn't work online or allow other ...
15
votes
8answers
1k views
Should I choose 32 or 64 bit for Linux?
I own a Linux workstation which currently has 4 GB of RAM and planning to go for 8 GB in the near future. CPU is a Core2Quad Q9550.
Should I install a 32 or 64 bit variant of Linux?
6
votes
2answers
577 views
Why would an incorrect password attempt take a lot longer to process than a correct one?
The most prominent place I've noticed this is when SSH-ing at work, but I feel like I've observed this behaviour elsewhere too.
When I try to log into Linux servers from my Windows desktop at work, ...
5
votes
5answers
592 views
Search for a text pattern in linux
I'm a linux newbie. I need to search for a string "teststring" in all *.java files coming under /home/user1/ (including subfolders). How can I do it in linux via shell command.
5
votes
4answers
2k views
How I can make sudo session an hour and not few minutes in Ubuntu 10.04?
How I can make sudo Ubuntu 10.04 session an hour and not few minutes?
Now I have to write my password for sudo commands every few minutes.
4
votes
2answers
3k views
How can I run my ubuntu partition in Windows? vmware?
My machine is dual-boot windows 7 and ubuntu 10 on different partitions of the hard drive. Normally, I boot into Ubuntu if I want to use Ubuntu. However, when I need to run in Windows I'd like to be ...
4
votes
3answers
366 views
what does crypt(3) and whatnot mean [duplicate]
Possible Duplicate:
What do the parentheses and number after a Linux command or C function mean?
In Linux Manpages (http://linux.die.net/man/3/crypt) I often see sth like this: crypt(3), ...
3
votes
1answer
2k views
Can a Linux machine act as both a wireless client and access point simultaneously using a single physical WLAN interface?
If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other ...
1
vote
1answer
393 views
Tool to bulk speed up/convert an audio file
I want to listen to certain podcasts on my phone but I have two common problems:
The audio is in some weird format (some don't play on my phone).
The audio is slow.
I want to use something like ...
4
votes
1answer
3k views
Which Large File System Format to use for USB Flash drive compatible with Ubuntu/Mac/Windows?
I've had this problem for a long time and can't find a solution. I switch between the 3 OSes all the time and use a 1TB USB Drive to do so. I can't seem to find a format that is compatible across all ...
3
votes
3answers
1k views
Add folder to PATH
How to add something to PATH ?
I have added like
PATH=$PATH:/home/example
export PATH
and it works until I restart , after that when I type env in PATH there is no /home/example.
3
votes
3answers
3k views
Adjust screen brightness automatically at night
Can anyone recommend an application that will automatically dim my monitors when it gets dark at night?
3
votes
6answers
723 views
Linux distributions comparison
Does any good comparison exist (like a table of present features) between the many Linux distributions?
What are the features and advantages on each distribution? (Ubuntu, Fedora, CentOS, etc.)
...
2
votes
3answers
302 views
No GRUB after re-installing Windows
I have Windows and I installed Fedora 12 on a separate partition.
However, I had a problem with my windows XP SP 3 and had to install Windows on my C drive.
When I re-boot I on longer get the GRUB ...
1
vote
2answers
4k views
Firefox displays garbage characters in lieu of web page
On this web page http://taj.chass.ncsu.edu/Hindi.Less.05/dialog_script.html, firefox and opera running on windows and linux display the source html interspersed with garbage characters (for me, they ...
0
votes
1answer
549 views
Two networks cannot be accessed simultaneously
I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file:
auto eth0
iface eth0 inet ...
0
votes
4answers
198 views
Share internet in Linux
I have an 3.5G USB Modem that I want to share its internet connection in Linux. I tried already, but only got having no internet on my own PC, still without sharing it.
It's really hard to find some ...
39
votes
5answers
102k views
How can I give write-access of a folder to all users in linux?
I installed apache2 on Ubuntu just now, and noticed that the /var/www folder is protected. I can just sudo everything but I would rather just give it write access.
How can I do this?
I tried sudo ...
41
votes
9answers
72k views
How to wipe free disk space in Linux?
When a file is deleted, its contents may still be left in the filesystem, unless explicitly overwritten with something else. "wipe" can securely erase files, but does not seem to allow erasing free ...
32
votes
13answers
24k views
Linux utility for finding the largest files/directories
I'm looking for a program to show me which files/directories occupy the most space, something like:
74% music
\- 60% music1
\- 14% music2
12% code
13% other
I know that it's possible in KDE3, but ...
36
votes
9answers
52k views
Linux: How to move all files from current directory to upper directory?
I tried something like mv . .. but it doesn't work.
36
votes
5answers
115k views
How to install real Firefox on Debian?
Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It however lacks plugin support, most of my favorites don't work.
So what is best way to install the "real" Firefox on ...
13
votes
5answers
54k views
How to boot a Linux live USB on a Mac?
I have a USB stick with a Fedora 11 live environment on it.
It's booting fine on 3 PCs where I've tried it.
But I can't get it to boot on a Mac (Intel). When pressing the alt key (or command key, I ...
19
votes
14answers
2k views
How to become a Linux superuser? [closed]
What process/reference/book/faq/tutorial/quickstart/primer/etc would you recommend to a lifelong Windows guy who wants to become a Linux superuser?
EDIT
Perhaps I should provide a little bit of ...
14
votes
4answers
17k views
Can I hibernate Linux without a swap partition?
I hadn't set up a swap partition on my PC, because a) I have plenty of RAM (8 GB) and b) I have large harddrives that I didn't want to chop into tiny pieces, so my smallest partitions are 50 GiB, and ...
8
votes
1answer
18k views
How can I add Linux to the new Windows 8 boot manager?
Which OSes can be put into the new Bootloader that Windows 8 provides? It seems to be quite pretty and consistent with the rest of the new Windows 8 design so it would be cool to put Linux (Ubuntu) ...