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

4
votes
2answers
17k views

What are the methods available to get the CPU usage in Linux Command line? [closed]

We know that top is a command to get the CPU usage in Linux and other ways include cat /proc/stat which is used by top. What are other methods to get the CPU usage in the Linux command line? Use ...
14
votes
3answers
5k views

How can I do Ctrl-Z and bg in one keypress to make process continue in background?

I follow this pattern of suspending the task and then letting it to continue too often with the Ctrl-Z bg sequence. I was wondering is there any way to compress that to single keypress? My shell is ...
12
votes
2answers
2k views

SandForce SSD encryption - security and support

I'm currently thinking about buying a ThinkPad X201 and equip it with a SSD drive. Now, to protect my data I always used Linux with LUKS full disk encryption on my laptops. However, as stated in ...
9
votes
4answers
2k views

X equivalent of 'screen' utility

Under unix/linux, there is this extremely useful program screen: it's for bash, text-only, and I can detach a session, log out (the session is still running though), log in later (even from a ...
8
votes
3answers
3k views

Script or launcher to setup multiple terminal tabs in different locations

I have already studied this some time ago, but did not find any solution that would open terminal tabs, run some commands and then allow me to continue using those terminal tabs. All the ways I found ...
4
votes
4answers
6k views

temporarily disable touchpad and keyboad, i.e. babyproofing my linux laptop

Following up with this other question, how can I temporarily disable the touchpad (both movements and buttons) as well as the keyboard in Linux Ubuntu Hardy? I mean, there is a menu for disabling the ...
23
votes
2answers
10k views

Linux: Is there something similar to “top” for I/O?

My disk often is utilized, but top (and htop, a custom replacement) show nothing suspicious. Is there a way to sort processes by I/O (more specific: disk) utilization? EDIT Found out using iotop ...
12
votes
3answers
4k views

Why use multiple partitions on Linux installations?

Does it really perform better than a single partitioned installation? Why?
11
votes
4answers
710 views

Linux file system

What are the conventions for file locations in Linux? So far I've managed to deduce: /proc (references to running processes) /dev (references to all hardware) /etc (configuration files) /home ...
10
votes
5answers
4k views

Is it better to dual-boot or run a VM?

I want to run Windows Vista 64bit (Eventually Windows 7) and Ubuntu on the same machine. I want to play games and do graphic design in Windows. I want to write code, surf the internet, check email, ...
8
votes
3answers
5k views

Syncronizing files over FTP

I need to syncronize files in my computer with server to which I have only FTP access. So I can't use rsync (that would need at least SFTP, but the only channel available for me is plain vanilla FTP). ...
6
votes
3answers
4k views

Watch Filesystem in Real Time on OS X and Ubuntu

I'm looking for a CLI tool which will watch a directory and spit out the names of files that change in real time. some_watch_command /path/to/some/folder | xargs some_callback I'm aware of inotify ...
5
votes
3answers
8k views

Use VirtualBox to boot a physical drive/partition

I have two partitions on my hard drive, one for Windows and one for linux. I would like to use VirtualBox in Linux to boot the Windows partition as a virtual machine. How can I acheive this?
5
votes
2answers
2k views

OS X keeps “losing” my Linux Samba shares

I have a Linux server (Ubuntu 8.10) and a Macbook (10.5.7). The Linux server has some Samba shares which I mount on the Macbook. They are set to mount on boot using the "Open Applications at Startup" ...
3
votes
2answers
8k views

What are the nuisances of creating a bootable Windows 7 USB drive from linux with ms-sys or dd?

I have been reading some web pages and posts (here and in other forums) about how to create a Windows 7 installation USB media from linux (to install Windows 7) I asked in TechNet about this, and I ...
3
votes
4answers
35k views

Setting permissions for specific user and groups in Linux

How can I grant permission for files to a specific user or a specific group? We have three groups: "g12" ("u1" and "u2), "g34" and "g56". g12 - should only read the file. g34 - should write and ...
3
votes
9answers
37k views

How to find virtual memory size and cache size of a linux system?

Is there any command to get virtual memory size, cache size and front side bus speed of a linux system? Is swap in linux same as virtual memory?
3
votes
8answers
1k views

What do I need to run a Linux Home Server

What hardware and software will I require to run a Linux Home Server?
2
votes
1answer
3k views

Forcing all outgoing connections through proxies

How can I do this in Linux? It'd be nice if there was a way to transparently force connections through proxies rather than configure them individually for each program.
10
votes
4answers
9k views

Releasing swap space

At times the kernel seems to be intent on keeping e.g. firefox in swap, even though there is enough physical memory available and I'm using firefox: robert@rm:~> free -m total ...
10
votes
7answers
5k views

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

(This question is very similar to 6338. It was suggested that it be split from it as Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Fedora setup I ...
8
votes
5answers
21k views

How to reset folder permissions to their default in Ubuntu?

I recently typed the command sudo chmod 777 -R / after that some things like sudo -i are not working normally. So I am wondering if there is any way I could reset the folder permissions to their ...
7
votes
2answers
10k views

What do different values of hard drive's Advanced Power Management feature (hdparm -B) affect, except spin-down?

hdparm's -B parameter is documented as: Get/set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means better per‐ ...
7
votes
2answers
3k views

How to make ssh log in as the right user?

I use ssh on a variety of machines, mainly linux. Accounts on these machines vary in naming scheme: if my name is First Last, then I have accounts: first, flast, last_f, lastf, and sometimes I need to ...
7
votes
4answers
24k views

Creating a Windows XP installation flash drive in linux

How can I create a bootable flash drive to install Windows XP from under Linux? I have Ubuntu installed on my PC and want to install Windows XP parallelly. I already have an NTFS hard drive, so what ...
6
votes
3answers
813 views

Is there a filesystem that is “friendly” to both windows and Linux? [duplicate]

Possible Duplicate: Suggestions for sharing and using data between Ubuntu and Windows 7 dual boot I'm planning to install Ubuntu 10.04 with Windows 7. (I'm new to Linux, have to use at work ...
5
votes
1answer
8k views

Running VirtualBox on a Windows 8.1 host

I have a Windows 8.1 Pro 64-bit machine, with an Intel Haswell i7 processor, and 8GB of RAM. I installed the latest VirtualBox (4.3.6) and I'm trying to install a Linux guest. I've tried several ...
4
votes
4answers
6k views

One-way syncing/backup with Unison

I'm using the syncing tool Unison with my Mac OSX and Ubuntu 9.10 machines to backup my music from Mac to Ubuntu. The thing is, I want to have my Mac be the source and Ubuntu be the target so that the ...
3
votes
8answers
2k views

What is the easiest way to make a backup of an entire hard disk

I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to ...
3
votes
3answers
5k views

Set PuTTY's appearance in Windows

Is it possible to configure PuTTY to have me some nice colour scheme like vim's desert? I'm an PuTTY user under Windows and my login shell is tcsh. The current PuTTY theme setting is a very boring ...
2
votes
3answers
13k views

How to join an Active Directory with a Linux machine

How can I join an Active Directory domain with a Linux machine? Will it work with Ubuntu, Redhat, CentOS? Are there any with which it will not work?
2
votes
2answers
7k views

How can I access a Linux partition from Windows?

I'd like to be able to access my Linux /home partition from within Windows on a dual-boot machine. Since the partition is formatted for XFS, I can't use explore2fs. What other ways might I be able ...
11
votes
2answers
5k views

sound volume increase beyond 100% whenever possible on linux

Some audio output from files or streams is too low. It is obvious that hardware is able to play the same sounds but louder but because of the data it just plays it at some low level even at 100% ...
11
votes
7answers
17k views

Best SVN interface for Linux? [closed]

What is the best SVN GUI interface program for Linux? I am new to Linux from being a Windows base. For Windows I use Tortoise SVN and I need to know what is the Linux version.
8
votes
6answers
7k views

What's the best Ubuntu backup solution for a non-technical user?

A friend was asking about setting up backups, and I don't want to tell him "just use rsync". I'd like a tool with a simple GUI, and automated backups. Advanced features aren't really necessary. What ...
7
votes
1answer
1k views

What exactly determines if a backgrounded job is killed when the shell is exited, or killed?

This question has come up quite a lot (really a lot), but I'm finding the answers to be generally incomplete. The general question is "Why does/doesn't my job get killed when I exit/kill ssh?", and ...
7
votes
3answers
3k views

Why should the size of the swap partition be double of the RAM size?

Why is it recommended that the swap partition size be double that of the RAM size? Specifically, why would I need to store data stored in the RAM twice??
7
votes
3answers
2k views

My computer reboots when I tell it to shutdown

There are about 40 computers at work with this problem. They all have an ASUS P5KPL/1600 motherboard. They are all running SUSE Linux 11.1. When I tell the computer to shutdown either through the UI ...
6
votes
3answers
7k views

How can I use my laptop's monitor as my PC's ONLY monitor? [duplicate]

Possible Duplicate: Can I use my laptop as a second monitor for my desk computer? My PC's monitor just died and I'm not looking at buying a new monitor anytime soon. So I'm thinking of ...
6
votes
2answers
3k views

How to “flush tor circuit”

On Windows I have used XBBrowser, which provides a custom version of Firefox suited to using Tor. XBBrowser provides a button, flush tor circuit, which will setup an entirely new connection and exit ...
6
votes
2answers
2k views

scp hangs at 100%, before finishing

my scp commands do hang at 100% before the finish (some seconds), The output I get using -vvv is this: http://paste.pocoo.org/show/137504/ Any ideas?
5
votes
4answers
5k views

Why do we need to set swap space as twice big as our physical memory?

When we want to setup a linux system, there is a common a suggestion to set the swap space twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come ...
5
votes
2answers
4k views

How to switch users without entering password

I'm a newbie running Ubuntu 9.10. I have two users (wife and me), and each user's screensaver is set to lock so that on wakeup, we get to choose which user's desktop to go to. However, Ubuntu requires ...
4
votes
3answers
2k views

How do computers boot?

How does a computer boot and how does this differ for Windows, Linux and other OSes?
4
votes
2answers
3k views

rsync as a background process?

I've been using rsync to sync a bunch of files between my two servers. I set a cron job that would run rsync every minute. However, I'd prefer if I could have it run always, so that files are synced ...
3
votes
1answer
2k views

Linux command-line: Fastest way to disable internet (keeping LAN)?

Split question: this other one here is for Windows. Linux: Fastest way to disable internet (keeping LAN) from command line? I think the easiest way to deactivate internet (not LAN) in Linux is ...
3
votes
1answer
4k views

Can't boot OS from USB drive, showing black screen with blinking cursor

I have a problem with booting from a USB flash drive. I have Acer TimelineX 3820TG. I have Windows 7 Home from Acer and I installed Mandriva OS from USB(from USB because this Acer doen't have a DVD ...
3
votes
5answers
17k views

Find document files and copy them to another directory

This is a bit of a basic question but I'm trying to copy all .doc files I find in a directory and copy them to another directory. I know each command: find -name '*.doc' . and: cp filename ...
3
votes
1answer
1k views

Xmodmap: Six characters to one key?

From OpenSUSE wiki: (As long as Mode_switch/ISO_Level3_Shift is assigned to the keycode of Alt Gr - if you assign Mode_switch and ISO_Level3_Shift to different keys, you can assign up to six ...
3
votes
1answer
4k views

How to downgrade JRE's version in Ubuntu?

Currently I am having JRE 1.6.0_20. How do I downgrade it to JRE 1.6.0_17? How can I downgrade? I'm using Ubuntu 10.04 LTS.