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

4
votes
2answers
2k views

Tunning scrolling in urxvt

I'm using rxvt-unicode version 9.06 at Ubuntu 9.10. I was used to aterm, where you can use SHIFT + up/down arrow to scroll the printed output with a line up or down. You can also use SHIFT + ...
0
votes
5answers
1k views

How do I surround a line with quotes on bash?

When I run for i in $(find -name '*.ogg'); do echo '$i'; done I don't get one line per file as I expected. Instead, when a file name has a space in it, each word comes out in a separate line, so I ...
1
vote
1answer
914 views

Bash Script Exits su or ssh Session Rather than Script

I am using CentOS 5.4. I created a bash script that does some checking before running any commands. If the check fails, it will simply exit 0. The problem I am having is that on our server, the ...
1
vote
2answers
2k views

Middle mouse click in VirtualBox (Vista host, Debian guest)

I'm running Virtualbox on Windows Vista. I have a Microsoft USB mouse (it says "Comfort Optical Mouse 3000") with left and right buttons, and a mousewheel in the middle. If I press down on the ...
10
votes
5answers
464 views

What's the difference between filename and ./filename in Linux

What is the difference between filename and ./filename? Under what circumstances is one preferred to the other?
3
votes
4answers
8k views

difference betwen who and finger command in Unix/Linux?

Both commands look like have same purpose but their output is different. what is the difference?
6
votes
3answers
2k views

Linux: Alternative to rsync? (ie, scp with resume)

I've been using rsync to automatically send files from one box to another, which is great compared to scp, since it supports resuming. However, when resuming a very large file (>10gb) rsync has to ...
2
votes
1answer
714 views

Why do strace/truss sometimes 'fix' stuck processes?

Sometimes you have a stuck process that's been stuck for a while, and as soon as you go to poke at it with strace/truss just to see what's going on, it gets magically unstuck and continues to run! So ...
2
votes
3answers
3k views

Find words in many files

I am looking for this struct messages_sdd_t and I need to search through a lot of *.c files to find it. However, I can't seen to find a match as I want to exclude all the words 'struct' and ...
1
vote
7answers
6k views

In linux, how can I get my IP address - ifconfig and ip addr show are not working

This should be simple, but the machines we ssh into don't seem to have the regular commands. Are there any other simple ways I can use to get my IP?
2
votes
1answer
214 views

Subscribe to feed in Thunderbird from the command line?

From reading around the web, it looks like Firefox's "quick view" of an RSS feed sometimes lets you "Subscribe to this feed using" Thunderbird. For whatever reason, that's not an automatically-added ...
2
votes
3answers
2k views

Free PIM like Treepad for Windows and Linux

I'm looking for a PIM like Treepad(www.treepad.com) that can be interchangeably used between Windows and Linux. I currently use Essential PIM in Windows. Do you know good one?
1
vote
2answers
417 views

Prevent rmdir -p from traversing above a certain directory

I hacked together this script to rsync some files over ssh. The --remove-source-files option of rsync seems to remove the files it transfers, which is what I want. However, I also want the directories ...
1
vote
2answers
443 views

Is there a way to get docky to launch a new instance?

So i'm really loving the whole gnome-do/docky thing. My question is that on other docks, you can hold down a modifier key to launch a new instance rather then switching to an already opened instance ...
8
votes
6answers
10k views

Linux Skype alternative similar to Windows Skype?

Does anybody know a good option for a Skype based solution that works on Linux? I have a real problem with the current Linux version as it is a crappy, buggy and downgraded version of the Windows ...
1
vote
1answer
1k views

Netcat file transfer problem

I have two custom scripts I just wrote to facilitate transferring files between my VPS and my home server. They are both written in bash (short & sweet): To send: #!/bin/bash SENDFILE=$1 PORT=$2 ...
0
votes
2answers
501 views

Can I make CDs mount automatically and create a desktop icon under Gnome on SLED 11?

I want to insert a CD-ROM and have it automatically be mounted to someplace like /media/cdrom and create an icon on the Gnome desktop, while logged in as a non-root user under SLED 11. How can I ...
7
votes
3answers
2k views

Is there an encrypted write-only file system for Linux?

I am searching for an encrypted filesystem for Linux that can be mounted in a write-only mode, by that I mean you should be able to mount it without supplying a password, yet still be able to ...
0
votes
1answer
148 views

Linux and Windows machines sharing a network

I have different Windows and Linux machines that share an internal private network. From within this network I can SSH to every machine etc. This internal network works great. I have my main windows ...
3
votes
1answer
8k views

Why is “tar” trying to create an empty archive?

I'm trying to use tar to tar files before transfer, so I can keep the entire file path rather than losing it along the way. However, when I try to tar an empty folder, it tells me that it is cowardly ...
2
votes
2answers
1k views

How to create a user account for a child in Linux Mint?

Recently I have renovated an old computer which once belonged to my dad (the old HDD crashed, and I just bought a new one to replace it). My parents want me to fix this computer for my 5-year-old ...
0
votes
1answer
107 views

Testing home directory scripts by setting $HOME to the location of the test directory

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of ...
2
votes
1answer
2k views

How to change shortcut keys in Thunderbird 3 for Linux?

I use Thunderbird on Ubuntu Linux and have just upgraded to Ubuntu 10 / Thunderbird 3. One of my gripes however is that Thunderbird uses a number of shortcut keys that have no secondary key ...
5
votes
1answer
4k views

Reading the contents of a .bkf file using a non-Microsoft OS

I have a .bkf backup file, created by the Backup utility that Microsoft provides with Windows XP. Is there a way to read the contents of the file using a non-Microsoft OS, preferably Mac OS X or ...
3
votes
2answers
3k views

howto move existing linux installation to usb-flash and make it bootable?

Is there any possibility to move my already installed ubuntu linux to the usb flash and make it bootable. So that it would boot on the other machine? P.S. I have an installed ubuntu karmic linux ...
0
votes
1answer
347 views

Virtualizing WindowsXP on Linux Fedora 12 for Photoshop

I am running a Linux server from 2000, I have Fedora12 installed as the OS. I know you can virtualize Windows XP on the system to be able to run Windows programs, but the problem is I My server has ...
1
vote
0answers
62 views

Error handling pppd configuration?

I have a computer, running ubuntu, that I want to be connected to the network at all times. It has a GSM modem connected to it via USB. Is there some program available that monitors that the ...
0
votes
2answers
1k views

Can not connect to service with my public IP, only with localhost

I have installed Linux Mint 8 (based on ubuntu). And I have setup a webserver on port 8098. I can connect to my webserver with http://127.0.0.1:8098, but when I try to connect to ...
7
votes
5answers
18k 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 ...
1
vote
1answer
111 views

Download specific kernels for distros

I am running CentOS 5.3. I am wondering where I can download the latest kernel for this distribution. I went to www.centos.org but could see any kernel download only the complete distribution is ...
1
vote
1answer
1k views

rTorrent, too low memory usage ?

I want to know from more experienced rTorrent users how to tweak the .rtorrent.rc so that rTorrent will cache disk reading and writing (same as uTorrent does). I have set the max_memory_usage = 1GB ...
2
votes
1answer
954 views

Converting Inkscape layers directly to a slideshow presentation?

I'm creating a slideshow in Inkscape. There's one or more layer per slide, plus several background layers, and some special layers to be used on several slides in a row, etc. In the past, I'd ...
5
votes
4answers
3k views

Convert .png images into a .ppt presentation on Linux?

I've created a presentation as a series of .png images, one per slide. What is a good way to convert these into a .ppt (PowerPoint) that I can give to some audio-visual person? I'm entirely on ...
3
votes
2answers
2k views

How to boot linux direct to application on console with no login

I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to ...
3
votes
1answer
1k views

Extracting init script from bult-in intrfs into Linux bzImage

I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system. ...
1
vote
1answer
2k views

Permission denied error while import to remote repository via svn

I am importing my project to another machine on my LAN to the directory: /srv/svn/repos/my-repo where my-repo was created via svnadmin create option The permissions of /srv/svn/repos/my-repo are ...
2
votes
2answers
2k views

Name of log file where boot process is logged

I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services ...
3
votes
2answers
2k views

SD cards and CPRM protection

Before buying an SD memory card, I'd like to know something more about the CPRM protection, in particular: Does CPRM influence the way I am supposed to access my own data? That is, does CPRM encrypt ...
7
votes
1answer
18k views

HOSTNAME environment variable on Linux

On my Linux box (Gentoo Linux 2.6.31 to be specific) I have noticed that the HOSTNAME environment variable is available in my shell, but not in scripts. For example, $ echo $HOSTNAME returns ...
2
votes
2answers
241 views

new items on GRUB screen in ubuntu/linux [duplicate]

Possible Duplicate: change the boot menu - GRUB I regularly update my ubuntu (10.04), and new minor versions keep accumulating on the GRUB screen. Right now I have 5 different versions ...
1
vote
5answers
297 views

I accidently did “remove *.py” How do I undo what I just did?

In GNU/Linux. Ubuntu Jaunty. I did something stupid, where is the undo command?
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 ...
1
vote
1answer
832 views

Linux Mplayer Instead of flash any distro/browser

The thing is that flash sucks for linux on 64-bit, performance vice. Due to this I actually download every clip to a temp folder and play the file while it's being downloaded with mplayer. This works ...
5
votes
3answers
7k views

Virtualized Screen Resolution

I have a 64 bit Ubuntu 9.10 workstation with two virtualized guest OSes using KVM/QEMU. Also both 64-bit. One is Fedora 12 the other is beta of Ubuntu 10.04. The problem is that I would like to use ...
2
votes
4answers
4k views

Triple monitor setup in linux

I'm hoping there are some xorg gurus out there. I'm trying to get a three monitor setup working in linux. I have 2 lcd monitors and a tv, all different resolutions. I'm using 2 video cards; a ...
2
votes
2answers
993 views

How to recover deleted files?

My laptop has two os. one is windows vista. and other is Ubuntu. I am currently on ubuntu system, this is my primary OS. There are 4 partitions of my hard disk Windows OS Linux(Ubuntu OS) Data ...
2
votes
0answers
465 views

disable IPV6 on specific interface with redhat on vmware

I tried to disable IPv6 on specific interface using IPV6INIT=no on the interface script. its working great on all server accept ones that run on Vmware. any idea? im using redhat 5.2, on vmware ESX
2
votes
4answers
5k views

Formatting a memory stick with two partitions?

I have a 16GB memorystick which used to have a Linux partition. It therefore has two partitions; 2GB FAT32 and 14GB linux boot drive. The linux part stopped working, so I decided to reinstall it. But ...
6
votes
6answers
1k views

Emacs + git: auto commit every 5 minutes

How can I set up emacs to automatically git commit every time I save an open file or periodically?
2
votes
6answers
172 views

Can I use a package manager of one distribution on another?

I want to use Gentoo's packages on Fedora. Is this possible? EDIT: I meant that I want to use Gentoo's portage tree. UPDATE: How about Ubuntu's packages on Fedora? Or Fedora's on Gentoo? Or any ...