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

0
votes
2answers
224 views

How to execute a compiled C program in Linux terminal

#include<stdio.h> main() { int a,b,c; printf("enter the value of a and b for addition:\n"); scanf("%d %d",&a,&b); c=a+b; printf("Addition of ...
0
votes
1answer
857 views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop. Software:- CentOs 6.5 running on VirtualBox 4.3.10. In a nutshell The problem is that I can't access the internet and ...
0
votes
4answers
182 views

Dual boot Linux with Windows 7

I am trying to recover an installation of Linux on my machine, preferably without having to reinstall Linux (and possibly Windows) altogether. I have installed Pear OS first, and then installed ...
0
votes
2answers
371 views

How To Get Windows To Stop Assuming Precedence Over GRUB?

I have a SATA hard drive with an MS DOS MBR partition table, an ext4 Linux-based OS, an NTFS Windows 7, and an extended partition. I was happily using my ext4 partition for quite some time, but grew ...
0
votes
3answers
1k views

Convert video into format which is most likely playable on a windows system

I have some flv and mp4 videos, which I need to convert to a format which is playable on an a Windows Vista system (for a presentation). The problem is, that I cannot test the videos on the system on ...
0
votes
4answers
5k views

Create a Windows XP user from a linux partition

Long story short, someone repaired my brother's computer and set a password on his account, now we can't get in and can't contact the person who set the password. Is it possible to create a Windows ...
0
votes
1answer
879 views

Two networks cannot be accessed simultaneously

I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file: auto eth0 iface eth0 inet ...
0
votes
4answers
292 views

Share internet in Linux

I have an 3.5G USB Modem that I want to share its internet connection in Linux. I tried already, but only got having no internet on my own PC, still without sharing it. It's really hard to find some ...
0
votes
2answers
6k views

Firefox displays garbage characters in lieu of web page

On this web page http://taj.chass.ncsu.edu/Hindi.Less.05/dialog_script.html, firefox and opera running on windows and linux display the source html interspersed with garbage characters (for me, they ...
82
votes
12answers
143k views

How to wipe free disk space in Linux?

When a file is deleted, its contents may still be left in the filesystem, unless explicitly overwritten with something else. The wipe command can securely erase files, but does not seem to allow ...
95
votes
13answers
59k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
139
votes
3answers
116k views

Go back to previous directory in shell

Is there a way to go back to previous directory we were in using bash,tcsh without using pushd/popd ? I'd like to type something like "back" and got returned to the previous directory I was in. Edit: ...
54
votes
16answers
72k 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 ...
88
votes
2answers
100k 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 ?
33
votes
5answers
18k views

How to use different network interfaces for different processes?

I have two network interfaces on a Linux PC, and I need to manually set the interface that a given process will use. The program (Twinkle softphone) does not have a similar option, so I believe that ...
30
votes
5answers
104k views

How to reinstall GRUB2 EFI?

After successfully updating my bios, something went wrong and I ended up with a blinking cursor on the top left corner of a black screen. No errors, no nothing. The bios now only listed a SATA: ...
88
votes
2answers
21k views

How to append to a file as sudo? [duplicate]

Possible Duplicate: sudo unable to write to /etc/profile I want to do: echo "something" >> /etc/config_file But, since only the root user has write permission to this file, I can't ...
81
votes
3answers
182k views

How do I get Java support on Google Chrome in Linux?

Is there a way to run Linux Google Chrome with Java support?
53
votes
12answers
61k views

How to start GUI linux programs from the command line, but separate from the command line?

I've searched for this before, but have never been able to find an answer. In Windows, if I have a console window open, type winmine, and press enter, Minesweeper will appear, completely separate ...
47
votes
3answers
93k views

Linux: find out what process is using all the RAM?

Before actually asking, just to be clear: yes, I know about disk cache, and no, it is not my case :) Sorry, for this preamble :) I'm using CentOS 5. Every application in the system is swapping ...
46
votes
1answer
8k views

If I buy a computer with Windows 8 and Secure Boot, will I still be able to install Linux?

I've heard a lot about how Microsoft is implementing UEFI Secure Boot in Windows 8. Apparently it prevents "unauthorized" bootloaders from running on the computer, to prevent malware. There's a ...
29
votes
9answers
71k views

How to convert Word (doc) to PDF in linux?

I have a set of files in .doc format, that need to be converted to .pdf format. I am using Ubuntu linux.
32
votes
6answers
21k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...
29
votes
4answers
3k 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 ...
18
votes
1answer
8k views

Making 256-color AND Line drawing characters both work in PuTTY

I'm having trouble setting up PuTTY with Ubuntu. I'm trying to get line characters to work in aptitude as well as 256-color support, but can only get one or the other. Ubuntu Config Using 64-bit ...
48
votes
7answers
41k 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.
20
votes
5answers
46k views

What is the meaning of “chmod 666”?

I am using Linux. What is the meaning of chmod 666?
46
votes
11answers
13k views

What is the relationship between Unix, Linux, Ubuntu, Debian and Android?

What is the relationship between Unix, Linux, Ubuntu, and Debian? I suspect they are all Operating Systems that are based upon one another - similar to how Windows is based on DOS. Is my suspicion ...
42
votes
7answers
64k views

How to list folders using bash commands?

Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
23
votes
4answers
25k 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 ...
29
votes
2answers
10k 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 ...
15
votes
3answers
15k 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 ...
30
votes
8answers
28k 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 ...
20
votes
11answers
16k 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)
21
votes
14answers
3k views

How to become a Linux superuser? [closed]

What process/reference/book/faq/tutorial/quickstart/primer/etc would you recommend to a lifelong Windows guy who wants to become a Linux superuser? EDIT Perhaps I should provide a little bit of ...
13
votes
5answers
4k 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 ...
22
votes
1answer
33k 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 ...
9
votes
2answers
15k 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 ...
35
votes
3answers
2k views

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

What does the rc mean?
19
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 ...
11
votes
3answers
18k 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 ...
9
votes
5answers
29k 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 ...
8
votes
7answers
2k 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 ...
35
votes
5answers
6k 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 ...
12
votes
8answers
10k 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
5answers
11k 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
2k 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 ...
4
votes
5answers
32k 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 ...
14
votes
5answers
4k 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 ...