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

9
votes
4answers
4k views

How I can make sudo session an hour and not few minutes in Ubuntu 10.04?

How I can make sudo Ubuntu 10.04 session an hour and not few minutes? Now I have to write my password for sudo commands every few minutes.
5
votes
1answer
3k 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?
5
votes
2answers
4k views

Monitor the bandwidth usage of each computer on a network

I have a Linux box that I would like to use to monitor all bandwidth my network, there are multiple computers all plugged into the network. Is there some way to ARP spoof all the traffic through the ...
1
vote
4answers
3k views

Configure Fedora 15 Linux to allow access via port 80 from other computers

I am trying to make my home server accessible to the whole web. I have installed Nginx on my Fedora 15 64-bit Linux machine, and it works with localhost but it doesn't work online or allow other ...
19
votes
6answers
1k views

Should I worry about malware on Linux? [closed]

I don't run an antivirus on Linux ( most people I don't AFAIK ) and I'm not at all concerned about any form of malware or spyware or any other_bad_ware. Should I by concerned? Of course I don't ...
11
votes
5answers
62k views

How to remove the Ubuntu Gnome desktop after making the switch to KDE?

This is the opposite of this question. Basically I've been using Ubuntu for a while but decided to give KDE a shot so I went through the process of getting the latest KDE installed. I'm very ...
7
votes
1answer
4k views

Can a Linux machine act as both a wireless client and access point simultaneously using a single physical WLAN interface?

If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other ...
2
votes
3answers
10k views

Ubuntu/ Gnome : Open an application in a specific workspace

How do tell an application to open in a specific workspace? More info: I like to have my C++ IDE in workspace 2, my Java IDE in workspace 3, and my email, browser and miscellaneous in workspace ...
1
vote
2answers
6k 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?
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?
11
votes
3answers
10k views

Create a logoff script/task for Linux

In similar vein to my question for Windows and Mac OS X, how would one go about creating a logoff script for Linux? Any distro is fine, as I'm sure it'd be extendable across others. I'm most ...
8
votes
2answers
814 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, ...
7
votes
5answers
1k views

Search for a text pattern in linux

I'm a linux newbie. I need to search for a string "teststring" in all *.java files coming under /home/user1/ (including subfolders). How can I do it in linux via shell command.
6
votes
4answers
4k views

Linux Group Permissions not being enforced correctly.

I am running Ubuntu 10.04 server and am having some very counter-intuitive experiences with users/groups. For example: sudo touch test_file # create empty file sudo groupadd test ...
5
votes
3answers
5k views

Adjust screen brightness automatically at night

Can anyone recommend an application that will automatically dim my monitors when it gets dark at night?
4
votes
3answers
409 views

what does crypt(3) and whatnot mean [duplicate]

Possible Duplicate: What do the parentheses and number after a Linux command or C function mean? In Linux Manpages (http://linux.die.net/man/3/crypt) I often see sth like this: crypt(3), ...
9
votes
6answers
2k views

What is the difference between Unix and Linux?

I want to know what the actual difference between Unix and Linux is. Do they share the same kernel? Is Linux built on Unix? Do programs written for Linux work on Unix and vice-versa?
4
votes
2answers
856 views

Running Linux on Old PC [duplicate]

Possible Duplicate: Lightweight GUI Linux distribution for really old computer I have an old PC with 196MB RAM, 20GB HDD, 466MHz Intel Celeron processor. I want this PC to run 24/7 for ...
3
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.
3
votes
1answer
450 views

Deleting another user's directories from my own

I am a non-root user, and have made a directory into which other users in my group can write. The directory is setgid, so files and directories within it have the same group. I can delete files ...
3
votes
6answers
952 views

Linux distributions comparison

Does any good comparison exist (like a table of present features) between the many Linux distributions? What are the features and advantages on each distribution? (Ubuntu, Fedora, CentOS, etc.) ...
2
votes
3answers
341 views

No GRUB after re-installing Windows

I have Windows and I installed Fedora 12 on a separate partition. However, I had a problem with my windows XP SP 3 and had to install Windows on my C drive. When I re-boot I on longer get the GRUB ...
1
vote
1answer
456 views

ssh terminal session times out, how can this be changed

It seems after about 5 minutes an inactive ssh session is terminated. The server is Ubuntu. How can I change this?
0
votes
2answers
48 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
189 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
132 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
4answers
3k 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
806 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
261 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
5k 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 ...
63
votes
11answers
108k 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 ...
67
votes
11answers
39k 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 ...
81
votes
5answers
244k 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 ...
53
votes
2answers
57k 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 ?
79
votes
7answers
64k views

What does 'source' do?

$ whatis source source: nothing appropriate. $ man source No manual entry for source $ source bash: source: filename argument required source: usage: source filename [arguments] It exists, and it is ...
64
votes
2answers
163k views

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

Is there a way to run Linux Google Chrome with Java support?
71
votes
10answers
166k 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: ...
42
votes
1answer
5k 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 ...
41
votes
11answers
47k 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 ...
19
votes
4answers
21k 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 ...
27
votes
4answers
7k views

Two keyboards on one computer. When I write with A i want a US keyboard layout, when I use B i want Swedish. Possible?

I have a laptop which I use an external keyboard with. When I type using the external keyboard I want to use a US keyboard layout, since that's the type of external keyboard I have. On the other hand, ...
38
votes
7answers
33k 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.
23
votes
7answers
4k 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 ...
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 ...
25
votes
7answers
17k 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 ...
18
votes
5answers
26k views

What is the meaning of “chmod 666”?

I am using Linux. What is the meaning of chmod 666?
17
votes
6answers
14k 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 ...
15
votes
5answers
9k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
19
votes
13answers
3k 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 ...
14
votes
3answers
12k 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 ...