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

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 ...
10
votes
2answers
4k 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% ...
8
votes
7answers
5k 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
5answers
17k 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
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 ...
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
1k 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
14k 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
412 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
442 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
3k 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
110 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
13k 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
0answers
398 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
1answer
830 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
7
votes
1answer
999 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
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. ...
6
votes
5answers
14k 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?
5
votes
2answers
2k 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
1answer
6k 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 ...
4
votes
2answers
473 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 - ...
4
votes
2answers
3k views

How can I set up Linux to use a different DNS server for a certain domain?

I can add DNS servers to resolv.conf and that works fine. But is it possible for me to call a different DNS server based on the domain trying to be resolved? For example: use 10.0.0.1 for ...
3
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 ...
3
votes
2answers
442 views

How to reorder folders? (as displayed in `ls -U`)

I've got a number of unordered folders on a memory stick, which my car stereo shows in order of their real position on the stick (i.e. same as ls -U) What's the easiest way of physically reordering ...
3
votes
2answers
2k views

Music organization into folders for Linux(Ubuntu/Debian)? [closed]

I have a few folders with randomly assorted music files. I'm looking for a tool or utility that can read the ID3 tags, and then build and populate a folder structure in the format: some ...
3
votes
2answers
6k views

How to use scp in a bash script without specifying password?

I am a bash newbie, and am writing a bash script that will allow transfer of files between two computers. BTW, is there a more secure alternative to scp? Currently, I am doing this manually, by using ...
3
votes
2answers
5k views

How to access Guest (Linux) Filesystem from Host (Windows) in VirtualBox

I am trying to synchronize my music between my desktop (Ubuntu 9.10) and my laptop (VirtualBox: Windows 7 host & Ubuntu 9.10 guest) I use Unison to perform the actual sync, which itself is not the ...
3
votes
3answers
585 views

Free Data recovery tool for linux?

I deleted files on my linux drive that I shouldn't have. What is a good tool to use to recover these files that will: Recover the various file types (txt, php etc) Recover it as the original files ...
3
votes
2answers
6k views

Split MPEG video from command line?

I have a homemade DVD that I'm effectively trying to insert chapters into and rearrange - the original author burned it as one long chapter, and I'd like to rip it into smaller pieces and re-encode it ...
2
votes
2answers
63 views

How do I permanently reset the UUID of an LVM partition?

A (dd cloned) backup of my boot partition left me with duplicate UUIDs. blkid shows: /dev/sda1: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4" ... /dev/mapper/raidgroup-osbackup: ...
2
votes
4answers
3k views

Redhat Linux password fail on ssh

I am trying to ssh into my linux machine from my mac. If I am physically at the machine I can log in with my password just fine, but if I am sshing it refuses. I am getting: Permission denies ...
2
votes
3answers
14k views

Automating the “sudo su - user” command

I want to automate sudo su - user from a script. It should then ask for a password.
2
votes
3answers
8k views

How do I remove a Linux partition and expand the Windows partition to consume the Linux partition space?

I partitioned my hard drive to dual boot Linux Mint 9 and Windows 7. Now I'd like to remove the Linux Mint partition (and increase the size of the Windows 7 partition). I've Googled for some ...
2
votes
2answers
3k views

What is a file system which has r/w on all major OSes [duplicate]

Possible Duplicate: Cross-platform filesystem What is a file system which has r/w on all OSes like windows, linux and Mac. Windows comes with FAT and NTFS support and EXT3 support can be ...
1
vote
2answers
5k views

How make bootable usb with Windows XP liveCD from linux (debian)

how to create bootable USB with Windows XP liveCD. For Linux liveCD/DVD I can write cat <debian-iso> > /dev/<flash-drive>, but in windows case this doesn't works
1
vote
0answers
483 views

How can I preform OCR from the command line?

I need to perform OCR on the a backend of a website on a Linux machine with printed text. I read the other related questions here, so I tried tesseract, wich is considered as one of the most accurate ...
1
vote
4answers
14k views

Find all files older than one minute

How can I use find to select files that have been written and not modified in the last minute? I know I can do it the other way around, find files modified in the last 60 seconds with -mtime -60s, ...
1
vote
2answers
2k views

How to recover a partition accidently deleted with fdisk (Linux)?

I am using FC6 in VMware, I accidently deleted my partition by using fdisk, it told me that after the restart, the partition will be deleted. Now I lost all my important data in that drive. What are ...