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
173 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
780 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
354 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
874 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
290 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 ...
78
votes
11answers
138k 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 ...
88
votes
12answers
56k 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 ...
128
votes
3answers
106k 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: ...
80
votes
2answers
93k 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
17k 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 ...
77
votes
3answers
181k views

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

Is there a way to run Linux Google Chrome with Java support?
28
votes
5answers
97k 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: ...
82
votes
2answers
19k 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 ...
52
votes
12answers
58k 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 ...
45
votes
3answers
86k 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
69k 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.
17
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 ...
47
votes
7answers
40k 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.
42
votes
6answers
61k 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 )
34
votes
11answers
114k views

PuTTY Network Error: Software caused connection abort

I have a strange problem: When I'm using PuTTY with SSH connecting to a Linux server hosted in VMware on my local Windows 7, I often get the error saying "Network error: Software caused ...
28
votes
6answers
20k 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 ...
23
votes
4answers
24k 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 ...
45
votes
11answers
11k 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 ...
20
votes
5answers
43k views

What is the meaning of “chmod 666”?

I am using Linux. What is the meaning of chmod 666?
14
votes
3answers
14k 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 ...
29
votes
8answers
26k 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 ...
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 ...
8
votes
2answers
14k 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?
20
votes
1answer
30k 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 ...
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 ...
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 ...
11
votes
3answers
17k 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
26k 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 ...
34
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 ...
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 ...
13
votes
5answers
8k 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?
11
votes
8answers
5k 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 ...
11
votes
5answers
10k 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?
10
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 ...