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

24
votes
5answers
60k views

What is the meaning of “chmod 666”?

I am using Linux. What is the meaning of chmod 666?
17
votes
3answers
19k views

How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG

How can I create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG? I used this command to convert an input.avi file to a series of PNG frames: ffmpeg -y -i input.avi -an ...
33
votes
2answers
111k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
30
votes
4answers
4k views

Windows vs Linux Local Time?

Ever since I started using Linux in dualboot with Windows I noticed that when I rebooted the machine, the time on the other OS was wrong, e.g. it was 12:00 on Linux, then I rebooted and on Windows it ...
49
votes
7answers
45k views

How to throttle bandwidth on a Linux network interface?

Is there a way to constrain the bandwidth on a NIC in linux? I'd like to be able to simulate an arbitrarily slow connection.
35
votes
1answer
41k views

Show only current directory name (not full path) on bash prompt

The way my bash prompt is currently configured, it shows the whole path to the current directory. This is annoying when I'm deep inside a directory tree, as the prompt becomes so long that every ...
23
votes
4answers
26k 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 ...
16
votes
5answers
6k views

How to record screencast on Linux with mouse clicks and key hits shown

Basically I'm looking for an application to record a series of tutorials for a program I wrote. It's important to show the actions like mouse click, mouse right click, and all what's coming out from ...
53
votes
3answers
29k views

scp between two remote hosts from my (third) pc

I have two remote hosts. host1-> 10.3.0.1 host2-> 10.3.0.2 Both run an ssh server. The ssh server listens on port 22 in host1 and on port 6969 in host2. Now, using my local machine, I need to copy ...
32
votes
10answers
35k views

How to know which Linux Distribution I'm using?

How to know which Linux Distribution I'm using? uname -a gives Linux xxxxxx.net 2.6.9-42.0.3.EL.wh1smp #1 SMP Fri Aug 14 15:48:17 MDT 2009 i686 i686 i386 GNU/Linux How can I know this is ...
15
votes
4answers
14k views

TTY with 256 colors?

With URxvt and xterm it is possible to use a virtual terminal supporting 256 colors instead of only eight. Since my Intel GMA graphics card is well-supported by the KMS framebuffer driver, I am ...
20
votes
11answers
18k views

Undo the Linux trash command

Can we undo operations done in a terminal, for example, file deletion through rm? Solutions obtained: Aliasing Undelete utilities Backup utilities LibTrash Versioning (FUSE)
9
votes
3answers
28k views

How can one create a bootable Linux USB key that works on Mac (Intel 64 bit CPU) hardware?

I'm trying to create a bootable USB key with Linux (debian) and that can be booted on Macintel hardware. I have read that MAC's EFI can only boot GPT GUID formatted disks. I'm desperately trying to ...
37
votes
3answers
3k views

Say`vimrc`or `screenrc`, what does the `rc` mean?

What does the rc mean?
25
votes
6answers
48k views

command not found when using sudo

There are a few question on the site that seem related to my problem but I could not find a solution in any of them. My operating system is Ubuntu 12.04. I have mvn installed in ...
25
votes
1answer
45k views

Why is the “top” command showing a CPU usage of 799%?

I am running a process in a 4 core Ubuntu server. However, top command shows that the CPU usage is 799% all the time. How can this be possible? I know for multi core CPUs, more than 100% CPU usage ...
23
votes
2answers
6k views

How do I recover a form in Firefox *without* installing a plugin? [duplicate]

Possible Duplicate: How to recover form information for a webpage in Firefox I typed a couple of paragraphs on a discussion board, but when I clicked the submit button, the site was ...
10
votes
2answers
20k views

Using Samba to share a folder from a Linux guest with a Windows host in VirtualBox

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this ...
32
votes
3answers
49k views

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ...
23
votes
5answers
44k views

Boot from USB using GRUB

My friend's laptop was in a car accident (he's fine!). However the laptop is very old its an Acer Aspire 1520 the CD-rom drive is broken and there is no floppy drive. I made him a USB boot before I ...
20
votes
13answers
4k views

Tiling Window Manager

I've been looking into tiling window managers because I'm tired of manually positioning and resizing all my windows whenever I want to see some information side by side. However, the tiling window ...
13
votes
3answers
12k views

How to correct 512-byte sector MBR on a 4096-byte sector disk?

Final update: I already knew what I needed to do to fix this problem; I just didn't know how to do it. I was hoping there would be some ready-made tool to do that automatically - but couldn't find ...
9
votes
5answers
38k views

No /mnt/hgfs in Ubuntu guest under VMWare Fusion

I just installed Ubuntu 13.04 inside of VMware Fusion Pro 5. I have the virtual machine configured for read-only sharing of my home directory, but there's no /mnt/hgfs directory and there's no ...
25
votes
3answers
15k views

Ensuring new files in a directory belong to the group

I want to create a shared directory when a number of users (all belong to say mygroup) can create and edit files. I would like all files in this directory and subdirectory to belong to mygroup I have ...
15
votes
2answers
64k views

How to route only specific subnet (source ip) to a particular interface?

How to route only specific subnet (source ip) to a particular interface? OS: Linux I know I can do easily by destination IP by using something like route add 1.2.3.4/24 dev eth4 but I do not ...
12
votes
8answers
12k views

What Linux distribution has the most up-to-date packages?

Ubuntu's release schedule is just too slow. I want the absolute latest version of everything. Even if it's slightly unstable. Which distribution will give me this without having to manually install ...
11
votes
3answers
20k views

Create Virtualbox image of a physical partition

I've a drive with Fedora and Windows 7 on different partitions with dual boot. Now, while running Fedora, I'd like to suck up the Windows partition and create an image I can run in VirtualBox - how ...
8
votes
7answers
3k views

Cleaning windows viruses from linux

In a dual-boot system, does anyone have experience dealing with viruses that hit windows from linux? (disambiguation note: dealing with them from linux .. ) The C:\ in windows is mounted to ...
46
votes
5answers
9k views

What is the equivalent of Linux's “~” (tilde) in Windows?

In Linux, we can go to the user home by entering the tilde (~) character after cd: cd ~ How to do the same in Windows? Each time, I need to type: cd C:\Document and Settings\freewind That's too ...
14
votes
8answers
7k views

Pushing my PS1 prompt over ssh

I use a specific PS1 prompt that I like. I share a few logins with other other people on a few different servers. I was wondering if there was a way to specify in my local bash profile a remote prompt ...
14
votes
5answers
10k views

How to join two CSV files?

Suppose you have one CSV file with 2 fields: ID and email. You have another file with 2 fields: email and name. How can you produce a file with all three fields joined on email?
12
votes
2answers
29k views

Proper way for changing MAC address in a linux VM?

I tried to change the MAC address in a ubuntu VM (virtualbox), but after that it threw lots of errors during boot, and then I had no internet connection. Then I saw that the interface was renamed to ...
12
votes
5answers
14k views

What Linux fits on a floppy disk?

Which Linux distributions fit on a 1.44 MB bootable floppy disk? Where can the .img image files be downloaded?
8
votes
3answers
3k views

Remote into Linux workstation behind a firewall

Let's say I have a Linux workstation at work, behind a firewall. So even though I may have a remote access server set up on it (such as the most excellent NoMachine NX Server), I can't access it from ...
8
votes
2answers
12k 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 ...
7
votes
2answers
22k 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 ...
7
votes
2answers
10k views

What are the disadvantages of not using UEFI boot?

I bought a Samsung series 9 laptop with 64-bit Windows 8 pre-installed and wish to install Linux (probably Ubuntu 13.04 when it comes out ext week, but also considering mint 14). Now there have been ...
6
votes
4answers
6k views

Route the traffic over specific interface for a process in linux

Is it possible to route the traffic used by a process over a specific interface? For example, network traffic by download application should always use the interface wlan0 whereas all other ...
5
votes
9answers
49k 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?
4
votes
5answers
33k views

External Hard Drive bad sectors recover/mark utility in linux

I've just installed the new version of Ubuntu, Karmic Koala, in my laptop. Everything is fine, except for the fact the system identified about 300 bad sectors in my 1TB external hard drive. I'd like ...
22
votes
8answers
117k views

How to get an inactive RAID device working again?

After booting, my RAID1 device (/dev/md_d0 *) sometimes goes in some funny state and I cannot mount it. * Originally I created /dev/md0 but it has somehow changed itself into /dev/md_d0. # mount ...
18
votes
3answers
24k views

Using multiple USB webcams in Linux

Running more than one USB webcam in Debian/Linux results in the the following error: libv4l2: error turning on stream: No space left on device VIDIOC_STREAMON: No space left on device What ...
17
votes
3answers
7k 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 ...
15
votes
2answers
2k views

Tab-completion with directories/links

I have this problem with tab-completion in terminal in both archlinux and ubuntu: I have a link which links to a directory named "something" in my home directory. Now when I open a terminal and want ...
15
votes
5answers
5k views

Steganography software

Do you know some good (better if FOSS and cross-platform) steganography software that runs on GNU/Linux? The features I'm searching are: steganography software (better if FOSS and cross-platform) ...
14
votes
6answers
36k views

Is there Linux support for TRIM on SSD drives?

Does any know if there is a way to enable TRIM support on Linux for SSDs? This is included with Windows 7, and I was surprised that I couldn't find much information about it under Linux. Info on SSD ...
9
votes
3answers
5k 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 ...
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 ...
11
votes
1answer
42k views

“Network is unreachable” when attempting to ping google, but internal addresses work

I can get to other PCs in my house on the 192 network, but trying to go outside gives me the "network is unreachable" message. p3p1 is up with a good IP Address. Running Fedora 16. What should I ...
10
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 ...