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

40
votes
3answers
41k 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 ...
59
votes
3answers
96k 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 ...
21
votes
1answer
59k views

How can I convert multiple files to UTF-8 encoding using *nix command line tools? [duplicate]

Possible Duplicate: Batch-convert files for encoding or line ending I have a bunch of text files that I'd like to convert from any given charset to UTF-8 encoding. Are there any command ...
17
votes
2answers
19k views

How to change console keymap in Linux?

I'd like to exchange Esc and CapsLock in console (not in X, and use xev), how can I do it? My OS is Ubuntu.
18
votes
9answers
15k 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?
13
votes
5answers
44k 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 ...
5
votes
4answers
3k views

Join multiple MP3 files (lossless)

How do you join multiple MP3 files into one? "cat" and "mp3wrap" are no good as they produce non standard MP3 files. I know I can use audacity, but when you have 1000's of MP3 files to join into ...
5
votes
3answers
6k 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
2answers
3k views

Serve up PC hard drive as USB mass storage

Is there a software package available that can serve up a hard-drive internal to a PC and make it available over USB to other USB Master nodes as mass storage? Ex: take your C: or /dev/hda drive on a ...
13
votes
3answers
1k 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, ...
6
votes
2answers
10k 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? ...
-2
votes
1answer
882 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 ...
51
votes
8answers
72k 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 ...
82
votes
5answers
39k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
88
votes
10answers
223k 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: ...
24
votes
9answers
6k 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 ...
44
votes
8answers
48k 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, ..., ...
26
votes
7answers
5k 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 ...
17
votes
3answers
18k 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 ...
22
votes
5answers
76k 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 ...
14
votes
5answers
40k views

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful... So basically, I would like to create a VHD image of a physical disk ...
21
votes
7answers
36k views

Can I boot Linux from a VHD?

Is there some way to boot a Linux system from a VHD in Windows 7? If there is a way, how do I put it there in the first place? EDIT: To clarify, I'm not trying to run Linux in a VM. I'm trying to ...
14
votes
4answers
24k 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 ...
7
votes
6answers
3k views

How to Set Up a First Home Linux Server?

This is the first time I am setting up servers so I'm unsure where to start. One thing I know is that I have chosen the Linux Operating System. I want to host my own sites so I have a static IP ...
22
votes
5answers
15k 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 ?
20
votes
3answers
985 views

Music player for linux

I need to choose a music player to use under linux after having fallen out with Banshee*. What would you recommend based on these requirements: Ability to import/export ratings Automatically picks ...
10
votes
2answers
11k views

how to access samba on a guest Linux behind the VirtualBox NAT?

On my laptop, I'm running Ubuntu 9.10 under WinXP using VirtualBox 3.1.2. I want a setup where: The guest can freely access the internet. The host can access the guest files via Samba. The setup ...
7
votes
1answer
6k views

dd_rescue vs dcfldd vs dd

What are the main differences between dd_rescue, dcfldd, and dd? In what situations would you use one over the other? Why are there three different yet simliar programs?
11
votes
3answers
2k 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 ...
16
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?
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
4answers
495 views

Good Linux Distributions for Newbies [closed]

What are some good distributions for newbies? I'm not talking about your grandma who only uses the computer for surfing and solitaire. I'm talking about fairly intelligent people who who know their ...
1
vote
2answers
8k views

Block all ports except SSH/HTTP in ipchains and iptables

How can I block all ports except ssh (port 22) httpd (port 80) using iptables and iphains?
11
votes
2answers
982 views

Where is a typical Linux program installed

I mean not just the binary, but its libraries, config files and data (strictly speaking all files). Also when I download a package where is it best to extract it. If I move these files will the app be ...
7
votes
2answers
2k 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 ...
6
votes
2answers
2k 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 ...
4
votes
2answers
5k views

How can I access my mini-pc (RaspberryPi / MK802 / Mele A1000 / VIA APC) via ethernet/wifi without having Monitor?

Soon I will be getting my own mini-PC (RaspberryPi / MK802 / Mele A1000 / VIA APC). But I was wondering whether is there any possibility that I can just power up and access my mini-pc's OS by ...
4
votes
3answers
3k 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
17k views

How to change user in WinSCP?

I'm using WinSCP to access Unix computers. How can I change user after I have logged into a Unix server using WinSCP? E.g. I have personal account in Unix computer A. I can log into this computer ...
4
votes
1answer
5k 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
0answers
248 views

What's wrong with this GRUB setup?

I have two hard disks. The first one contains both Windows and Ubuntu installations, but the first MBR boots to Windows and the second MBR boots, in theory, to Ubuntu. This worked fine until recently. ...
1376
votes
7answers
147k views

How do I make a machine “blank screen” for a period of time (as a penalty) if certain noise levels are reached?

My kids (4 and 5) yell a lot when playing games on the computer. I found an effective cure for this. When I hear loud noises, I ssh into the game computer and do: chvt 3; sleep 15; chvt 7 This ...
77
votes
11answers
106k 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.
162
votes
8answers
158k 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 ...
97
votes
5answers
330k views

How to install the real Firefox on Debian?

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work. So what is best way to install the "real" Firefox on ...
80
votes
7answers
86k 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.
79
votes
5answers
65k 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, ...
53
votes
3answers
86k views

How to make new file permission inherit from the parent directory?

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to ...