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

7
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
3k 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
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
6k 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
33k 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
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.
12
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% ...
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 ...
8
votes
5answers
19k 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
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
23k 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
798 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 ...
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 ...
3
votes
9answers
34k 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?
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?
1
vote
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 ...
9
votes
7answers
6k views

Replace Symbolic Links with Files

Is there an easy way to replace all symbolic links with the file they link to?
8
votes
6answers
6k 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
6k 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
4answers
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
3k 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
16k 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.
3
votes
2answers
466 views

Can windows command line support Linux “cd -”?

In Linux we can use "cd -" to enter the previous directory, like: /home/user: cd /a /a: cd - /home/user: The - means the latest previous directory.
2
votes
1answer
555 views

How do you remove nested empty directories using a Bash script on Linux?

I want to be able to run a script that will remove all my empty directories. The problem is some of them are nested, i.e. directories that only have empty directories in them, so the script needs to ...
2
votes
1answer
4k views

Convert a colored PDF into a white/black

On Debian Sid, I have a PDF with a blue background and yellow font. I've searched a lot on Super User but i haven't found anything useful for me. I have tried to convert the PDF into a grayscale one ...
2
votes
2answers
115 views

What do I need to share a partition for both Windows & Linux?

I wand to use a partition and to be accessible for Windows 7 & Linux Ubuntu for read/write operations. Can anyone recommend me something?
2
votes
2answers
14k views

Change the default codepage from latin1 to utf8 on a linux machine

How can I change the default codepage/charset on a linux system from latin1 to utf8? I need to do this on two systems, one is running Ubuntu and the other Debian.
0
votes
1answer
2k views

accidental fsck on mounted

I accidently run "fsck" on a mounted partition which was my only parttion. Now I can't boot. It was Fedora 13, filesystem should be ext3. I have booted from usb with ubuntu 11.10.I found that ...
9
votes
1answer
900 views

Is backwards redirection the same as a pipe?

In Linux if you type sort < txtfile is that the same thing as cat txtfile | sort
9
votes
0answers
399 views

How does rebooting a computer work? [duplicate]

Possible Duplicate: How does a computer restart itself? How does a computer's reboot command actually work? How is the computer told that it shouldn't stay down after powering off, and ...
9
votes
7answers
2k views

7-zip for linux

7-zip for linux, does such a thing exist? I mean actually 7-zip or a port, not another compression tool or command
8
votes
5answers
15k views

How to add a new kernel to grub2

How can we add a kernel to grub2? i knew the stuff we could do with the former versions, but it seems to have changed. What files should we edit?
7
votes
7answers
1k views

Why is it bad to run as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
5
votes
1answer
7k views

How to mount an NTFS filesystem, allowing all users full access?

How could I mount an NTFS filesystem in a way that would allow all users full access to it? If I use sudo mount -t ntfs /dev/sda1 /media/drive, then only the root user can use it. It won't let me ...
5
votes
2answers
3k views

Using command line to connect to a wireless network with an http login

I'm trying to connect to a wifi network where it hijacks all requests and redirects you to a page where you have to agree to a terms of use before it lets you connect to the actual outside world. This ...
4
votes
2answers
2k views

Where does top command get all the data for CPU Utilization?

When I run the top command, the third line is; Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.2%id, 0.1%wa, 0.0%hi, 0.0%si, 0.1%st From where does top command get this data? Does it get from /proc?, if ...
4
votes
2answers
496 views

Recovering Ubuntu after filesystem was overwritten using dd

I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1). I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - ...