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

127
votes
13answers
221k views

How can I download an entire website?

How can I download all pages from a website? Any platform is fine.
43
votes
8answers
9k views

Cross-platform file system

I would like my external drives to be readable and writable from Linux, Mac OS X and Windows. FAT32 works, but the 4 GB file size limit is a showstopper these days. Are there any alternatives?
28
votes
8answers
8k views

Booting Linux off USB pendrives

Booting a Linux system off USB Pendrives is one of my favorite things. On a laptop we have the following advantages, The Harddisk can be shutdown and that reduces power consumption (hdparm) The ...
40
votes
12answers
95k views

How to recover a removed file under Linux?

By accident, I used rm on a file I didn't want to delete. Is there a way that I can get it back under Linux?
115
votes
12answers
95k views

How do I detach a process from Terminal, entirely?

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy. However, I'm struggling with how to completely detach a ...
18
votes
9answers
6k views

Intelligent file copy/move software?

Is there any intelligent (and-well integrated in the system) replacement for file copy/move ? By intelligent, I mean : on conflict, do not prompt the user while stopping the copy but prompt and, in ...
29
votes
7answers
33k views

Batch-convert files for encoding

How can I batch-convert files in a directory for their encoding (e.g. ANSI->UTF-8) with a command or tool? For single files an editor helps, but how to do the mass files job?
84
votes
6answers
115k views

How do I find out what version of Linux I'm running?

Is there a way to determine what version (distribution & kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system?
61
votes
2answers
43k views

Finding the process that is using a certain port in Linux

I'd like to be able to find out which process is currently using a certain port in Linux. Is there any way to do this?
17
votes
11answers
56k views

How can I automatically copy files to a USB drive when I connect it to my computer?

I am looking for a solution for copying all the files from a specific directory on the hard drive, to a specific directory on a USB memory device, once this device is connected. I have a program that ...
8
votes
2answers
2k views

Make grub keep its default boot under kernel updates

I dual-boot my machine and I want it to default to boot into windows so that whenever I restart the machine remotely from my home it will be able to get back into Windows (instead of Ubuntu). The ...
34
votes
2answers
35k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
8
votes
4answers
23k views

Can two users simultaneously share one pc

It's easy to have multiple user accounts on one computer and even switch between accounts without logging off. It is also possible to have more than one display connected to a single computer. Is it ...
9
votes
6answers
5k 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 ...
23
votes
9answers
62k views

How to check the health of a hard drive

My SATA drive started clicking and I was unable to access the data. It was not clicking loudly though, like a drive that has already gone bad. After tightening the connections to the hard drive, it ...
6
votes
1answer
6k views

rsync files newer than 1 week

I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B. Thanks for you help.
17
votes
1answer
73k 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) ...
6
votes
6answers
7k views

Connect to Linux by name rather than IP

I'm new to Linux (currently running Ubuntu 10.04) and I have just finished setting up SSH access to my Linux Machine. Currently, I have to use ssh root@x.x.x.x to connect but would much rather be ...
155
votes
8answers
9k views

What do the parentheses and number after a Unix command or C function mean?

I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too.
26
votes
8answers
35k views

How to extract text with OCR from a PDF on Linux?

How do I extract text from a PDF that wasn't built with an index? It's all text, but I can't search or select anything. I'm running Kubuntu, and Okular doesn't have this feature.
55
votes
6answers
18k 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
31
votes
4answers
7k views

How can I log all process launches in Linux

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
19
votes
7answers
56k views

Make a bootable usb to install Windows XP from Linux

I have a Dell Mini 9 with only Ubuntu installed, I want to install Windows XP also but I don't have and can't get an external CD drive, so I need to make a windows installation from the usb. All the ...
24
votes
1answer
3k 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 ...
16
votes
8answers
19k views

How to move from one drive to another that's a different size?

I've run into this scenario a few time: I need to replace a drive because I need more space, it's having problems, moving to a new box, etc. What's the best way to copy data from one partition size ...
38
votes
5answers
16k 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 ...
9
votes
2answers
18k views

How do I verify that TRIM is activated? (Linux)

I have kernel*.32 and I use ext4 on my drive. Now I just don't know how to check if trim support is enabled? Found this: ...
2
votes
2answers
977 views

How to recover deleted files?

My laptop has two os. one is windows vista. and other is Ubuntu. I am currently on ubuntu system, this is my primary OS. There are 4 partitions of my hard disk Windows OS Linux(Ubuntu OS) Data ...
79
votes
6answers
193k 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 ...
49
votes
10answers
62k views

Automatically mount external drives to /media/LABEL on boot without a user logged in?

This question is similar, but kind of the opposite of what I want. I want external USB drives to be mounted automatically at boot, without anyone logged in, to locations like /media/<label>. I ...
31
votes
8answers
6k views

How do you track which packages were installed on Ubuntu (Linux)?

(This question is very similar to 10458. It was suggested that Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Ubuntu setup I gradually install a number of ...
20
votes
2answers
38k views

Allow specific user permission to read/write my folder

I have a folder /home/samantha/folder that I want to share with the user tom. He can read/write the folder. How do I do that? chown wouldn't do it because I still want to be able to be the owner of ...
19
votes
3answers
8k views

Screen a running process

Sometimes I forget to run a program under a screen session and can't stop it in the middle, and I know it's going to take long. Is there a way to screen an already running process without restarting ...
76
votes
11answers
45k views

Undo an “rm -rf ~” command?

I had a folder I didn't want named '~', so from the command line I typed rm -rf ~ and accidentally deleted my home folder (since ~ resolved to /home/username). Is there any way back or do I ...
32
votes
4answers
19k views

Is there a way to find out what application using most of bandwidth in Linux?

I'm looking for an utility that could show me how much of a bandwidth each process are using. It should just print the data and exit as I want to feed that list into conky.
15
votes
15answers
29k views

Is there a quick/automatic way to change monitor brightness at night on Windows 7 or Linux?

I'm a fairly nocturnal creature by nature, but life requires me to spend more time during the bright hours of day. I also have a visual impairment which makes it that my eyes take a very long time to ...
16
votes
3answers
78k 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 ...
7
votes
3answers
3k views

Is there any way to execute something when closing the laptop's lid?

I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful ...
7
votes
3answers
13k views

How can I recover/undelete files from an ext4 partition?

Has anyone had success recovering deleted files from an ext4 partition? I've tried various utilities, but none have worked yet. I'd be grateful if someone can share a success story!
62
votes
15answers
68k 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 ...
84
votes
16answers
43k views

How to delete all files in a directory except some?

I need to delete all files in a directory, but exclude some of them. For example, in a directory with the files a b c ... z, I need to delete all except for u and p. Is there an easy way to do this?
22
votes
6answers
1k views

Learning the basics of Linux/Unix [closed]

I would like to learn the basics of Linux; In contrast to tutorials that teach how to do common tasks with Ubuntu or something. I'm looking for a structured introduction, not a reference. Also I would ...
61
votes
13answers
10k views

How is Linux not prone to viruses, malware and those kinds of things?

How is Linux protected against viruses? This question was a Super User Question of the Week. Read the blog entry for more details or contribute to the blog yourself
25
votes
6answers
55k views

Swap partition size for 4GB RAM

I'm planning to install Ubuntu 9.04 version. How much space should I dedicate for swap partition. I remember setting it to double the RAM size when I installed long back. At that time my RAM was 256 ...
16
votes
2answers
13k 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 ...
34
votes
3answers
32k 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 ...
50
votes
3answers
78k 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 ...
18
votes
9answers
12k views

Convert CRLF's to line feeds on Linux

What's the best way to convert CRLF's to line feeds in files on Linux? I've seen sed commands, but is there anything simpler?
5
votes
4answers
8k views

Creating WiFi Access point on a single interface in Linux

I am trying to create a WiFi hotspot or an access point on my Linux laptop. I am using Opensuse Kde 12.3. I found out a software called hostapd which lets you create hotspot but it requires two ...
8
votes
1answer
10k views

Can the Windows 7 system reserved partition be deleted without problems?

Ok, I recently got this netbook that came with Windows 7 and wanted to install Linux on it as well for a dual-boot. It came with four primary partitions on a 250 GB HDD, those being: 15 GB recovery ...