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

67
votes
8answers
100k views

How can I tunnel all of my network traffic through SSH?

Whenever I'm using the internet from an insecure location (such as public wifi) I like to use an ssh tunnel (ssh -D port host) to ensure my traffic can't be sniffed. Unfortunately, there seem to be ...
55
votes
10answers
80k views

ffmpeg: create a video from images

Is it possible to use ffmpeg create a video from a set of sequences, where the number does not start from zero? For example, I have some images [test_100.jpg, test_101.jpg, test_102.jpg, ..., ...
38
votes
5answers
120k views

How to access a BitLocker-encrypted drive in Linux?

I have a laptop running Windows 7 Ultimate. I have encrypted my drives using BitLocker. Now I have also installed Lubuntu along with Windows. But my encrypted drives are not visible in Linux. How ...
69
votes
13answers
13k 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
22
votes
3answers
11k 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 ...
35
votes
3answers
5k views

Have a file named ~ (tilde) in my home-directory

I just noticed that I have a file called ~ in my ~-directory. $ ls -la ~ ... -rw-r----- 1 x1 x1 733962240 Mar 1 17:55 ~ ... Any idea how I can mv or rm it?
19
votes
7answers
69k 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 ...
19
votes
3answers
25k views

How do I fork a process that doesn't die when shell exits?

If I run emacs from the shell: $ emacs foo & and then kill that shell, emacs dies. How can I run a command so that it will not die when the shell dies? I found references to nohup, but that ...
26
votes
7answers
6k views

Why create many partitions?

I have noticed that when installing Ubuntu some people create multiple partitions for directories. Like one for root, one for home, one for boot. What is the advantage to doing this over installing ...
11
votes
2answers
30k views

How do you install Linux alongside Windows 8 without corrupting the Windows 8 boot configuration?

In order to install Linux Mint 14 alongside Windows 8 I disabled UEFI and booted to a flash drive with the Linux image. I installed Linux, restarted the computer, and the GRUB boot loader appeared. ...
18
votes
16answers
38k 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 ...
15
votes
4answers
40k views

What filesystem to use when using both Windows and Linux? [duplicate]

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 ...
14
votes
5answers
19k views

Wired to wireless bridge in Linux

I am attempting to set up my Raspberry Pi as a bridge, using Debian wheezy. I have a hostapd.conf: (some details changed for security, and yes, I know WEP is no good)... interface=wlan0 bridge=br0 ...
14
votes
5answers
50k views

Filesystem to use for external hard drive to be used with Mac, Linux and Windows machines [duplicate]

Possible Duplicate: Cross-platform file system I have a rather large USB drive that I'd like to be able to use across the different machines I own. I'm having a hard time figuring out what ...
13
votes
3answers
14k views

Create a logoff script/task for Linux

In similar vein to my question for Windows and Mac OS X, how would one go about creating a logoff script for Linux? Any distro is fine, as I'm sure it'd be extendable across others. I'm most ...
11
votes
3answers
3k views

How do I remove KDE from Ubuntu if I decide not to stick with it?

I installed kubuntu-kde4-desktop package on my Ubuntu 9.04 install to give KDE a fair shake since I've always wanted to try it. I'm not done with it yet, but if I decide I want to go back to my tried ...
11
votes
3answers
5k views

How to delete a file with a weird name?

I wrote a program that uses POSIX memory-mapping function (mmap) The program takes a file (a.dat) and memory-maps it for reading/writing. Due to errors in the program, every time I run the program a ...
8
votes
3answers
4k 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 ...
8
votes
3answers
23k 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!
5
votes
3answers
7k 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 ...
12
votes
4answers
6k views

What are the differences between major Linux distributions? Will I notice?

I've been using Linux in some form intermittently for the past ten years or so, but have only really been in to it for the past few months. What are the major differences between distributions? ...
10
votes
6answers
18k views

Ubuntu 64-bit vs 32-bit

Is it worth installing the Ubuntu 9.10 64-bit version over the 32-bit x86 version? I will get the ability to address more than 4 GB of memory, but other than that, how does the 64-bit version fare in ...
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 ...
2
votes
1answer
299 views

DDRescue - Did I do the wrong command which is causing it to take longer then expected

I am running the following command on a 500GB drive: ddrescue --force --direct /dev/sde2 /home/backups/sde2.img sde2_logfile.ddrescue However, the time has been almost 24hrs and all it has done so ...
6
votes
2answers
3k views

How can I pass Root Password to a script

I have the root password in one of my scripts and I want to launch another script which requires root permission from this script. How can I use the root password which I have so that I do not have to ...
6
votes
2answers
11k views

How can I get access to EXT2, EX3 and EXT4 partitions on Windows 7?

I tried all programs recommended to mount Linux partitions like EXT2 or EXT3 or even EXT4 but no one can do well on Windows 7 32 bit. I want to access read-write, is there a program that can do this?
4
votes
3answers
4k 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.
4
votes
1answer
7k views

How long should it take for gparted to shrink a 44 GB partition down to 10 GB

I've had gparted running to shrink a Backtrack partition down to 10 GB from 44 GB. I was wondering how long that should take and wether or not it's jammed. It's been on "shrink file system" for well ...
0
votes
3answers
277 views

Ran out of primary partitions, want to install another system

I have a Fedora 18 system installed on my hard disk, but upon installation I created 4 partitions for boot, swap, root and home, and now I want to install Windows on some unallocated space (I need it, ...
-2
votes
1answer
1k views

What causes windows 7 activation requests?

The statement: "You must activate windows within 3 days to continue using all windows features." often pops up in my notifification area on Windows 7. My windows are legal and I have activated them ...
99
votes
11answers
140k views

How to move all files from current directory to upper directory?

How to move all files from current directory to upper directory in linux? I tried something like mv *.*, but it doesn't work.
80
votes
16answers
97k views

How to synchronize the home folder between multiple computers?

I have three computers at home, and would like to have the /home/ folder tree synchronized between the three. Any files/folders (except those hidden) that are modified/added/removed in one of the ...
113
votes
3answers
147k views

How to convert .ppk key to OpenSSH key under Linux?

I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
101
votes
8answers
118k 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.
78
votes
5answers
88k views

How to specify level of compression when using tar -zcvf?

I gzip directories very often at work. What I normally do is tar -zcvf file.tar.gz /path/to/directory Is there a way to specify the compression level here? I want to use the best compression ...
95
votes
7answers
99k views

What to do when Ctrl + C can't kill a process?

Ctrl + C doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor and can't do much else. ...
112
votes
9answers
294k views

How do I get an entire directory in sftp?

I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try get [directory] it gives me this error: Cannot download non-regular file: /...
70
votes
13answers
100k views

Unix/Linux find and sort by date modified

How can I do a simple find which would order the results by most recently modified? Here is the current find I am using (I am doing a shell escape in PHP, so that is the reasoning for the variables): ...
60
votes
3answers
12k views

What does the 'rc' in `.bashrc`, etc. mean?

Well, this is embarrassing. I feel like I just realised I don't know a loyal colleague's name after working with them for 10 years. "Hey, er... *cough!*, thanks for that great job you did on setting ...
157
votes
8answers
147k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
58
votes
13answers
61k views

Top causes of slow ssh logins

I'd love for one of you smart and helpful folks to post a list of common causes of delays during an ssh login. Specifically, there are 2 spots where I see a range from instantaneous to multi-second ...
38
votes
4answers
10k views

Linux equivalent command for “open” command on Mac/Windows?

Coming from Mac OS X, you can type: $ open yourfilehere.txt and your file will open just as if you had opened it from Finder. On Windows, one can type: > start yourfilehere.txt and it will ...
32
votes
3answers
4k 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 ...
86
votes
4answers
138k 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 ...
17
votes
11answers
69k 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 ...
48
votes
3answers
58k 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 ...
33
votes
5answers
12k views

Two keyboards on one computer. When I write with A I want a US keyboard layout, when I use B I want Swedish. Possible?

I have a laptop which I use an external keyboard with. When I type using the external keyboard I want to use a US keyboard layout, since that's the type of external keyboard I have. On the other hand, ...
27
votes
6answers
65k 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 ...
42
votes
2answers
18k views

What's the difference between “su” with and without hyphen?

I'm quite new to Linux terminal and I'm not quite sure what the difference between su with a hyphen and su without a hyphen is, for example: su - username vs. su username. I looked into the ...
19
votes
7answers
44k views

How can I mount a partition from dd-created image of a block device (e.g. HDD) under Linux?

I have an image of the entire disk created using dd. The disk structure follows: kent@cow:~$ sudo fdisk -l Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders ...