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

17
votes
5answers
16k views

Choice of filesystem for GNU/Linux on an SD card

I have am embedded ARM-based system running on an SD card. It's currently Debian GNU/Linux using ext3 as filesystem. As I'm about to reinstall the system, I started wondering about changing to a more ...
1
vote
2answers
826 views

What is indirect rendering?

What is indirect rendering and what sort of implications does it have on graphics performance? Also, is it a Linux-specific term or can it be used in the context of other operating systems?
5
votes
2answers
1k views

How can I run a different command but with the same arguments?

For example, I edit and then run the same source. vim arbit.py python arbit.py I know I could run it from within vim, but I want a general solution on Bash. I keep finding situations where I reuse ...
0
votes
2answers
568 views

Transmission of arbitrary data through an HDMI port

There seems to be something of a trend these days to fail to equip cheap consumer laptops with decent expansion capabilities: no ExpressCard slot, USB 2 (not 3), no eSATA port. However, HDMI ports ...
2
votes
1answer
856 views

Apple shortcuts in Ubuntu

I switch between a Mac and Ubuntu often. On my Ubuntu box, I use an Apple Aluminum keyboard. I'm interested in Apple's "command" key: ⌘.   (I'm not concerned about the hardware control keys.) ...
1
vote
1answer
881 views

How to run Firefox jailed without serious performance loss?

My Firefox configuration is tricky: Firefox runs at separate restricted user account which cannot connect to main X server. Firefox uses Xvfb (virtual "headless" X server) as X server. x11vnc is ...
6
votes
4answers
14k views

How to search by content on Ubuntu

I'd like to search the entire server by content. (text file) When I try grep -rl "text here", it freezes. How would you do it? And how long does it usually take?
4
votes
1answer
1k views

Snapping windows to pre-defined grids in GNOME

I would like to snap windows in GNOME (more specifically, under Ubuntu) to user pre-defined grids. I have tried the "Snapping Windows" and "Grid" plugins for Compiz, and have also seen demos of PyWO, ...
20
votes
4answers
3k views

Is there an image viewer that takes images on STDIN?

I'm looking for an image viewer that takes data on stdin and can be run like: cat image.png | imageviewer
1
vote
3answers
113 views

Fastest (and least number of steps) way to migrate Hard Drive formats

I have an ext2 formatted disk (linux) and I need to reformat it to NTFS (windows). Problem is, I have to retain the 750 GB of data that's on the disk. What's the quickest (least number of steps) way ...
0
votes
1answer
780 views

Is there an easy way to emulate Linux Mouse behavior on Windows/Mac

I predominantly use Ubuntu at home, which means I am used to "highlight 'copies' and center click 'pastes'" (I believe this is true for all X-windows-sever machines, but I don't know). Unfortunately, ...
3
votes
1answer
852 views

How to write a script to sudo the last command [duplicate]

Usually, for some commands such as apt-get install xxx, I forget to add sudo first, then I need to retype it. What I want is in such cases, I just type a simple command, for example resudo. It will ...
2
votes
7answers
1k views

shell script for ssh

can anybody tell me how can I create a shell script for ssh where I don't have to type the password manually? I have learned expect command and I have tried multiple examples, but it didn't work. Can ...
2
votes
2answers
4k views

Cron ignoring an update to crontab

I've commented out a line in the crontab on a debian server, which I guess was there by default yet was causing me to get error emails every hour: # m h dom mon dow user command 17 * * * * root ...
0
votes
1answer
594 views

How do I install Z.SH to my Linux?

I want to install Z to my Linux: Here's the installation notes: # INSTALL: # * put something like this in your .bashrc: # . /path/to/z.sh # * put something like this in your .zshrc: # . ...
0
votes
1answer
1k views

I want to make a save command by editing the .bashrc

I found this script http://dotfiles.org/~jacqui/.bashrc.. Basically this is a shortcut for cd-ing my file system.. I can type "save nm" where "nm" is any short name for the directory, like "blog" or ...
0
votes
5answers
93 views

How to divide RAM: half for Linux, the other half for an application

We have a system with 1 GB memory. Out of this, i would like to restrict only 512MB for linux and would like to access the rest 512MB directly from an application that runs on linux. What is the ...
0
votes
1answer
871 views

Browsing speed on Wubi (Ubuntu 10.10) slow compared to that on Windows?

I have installed Wubi (Ubuntu 10.10) recently. It takes more time to boot than Windows. But my main concern is that my browsing speed is much slower compared to that on Windows 7. How can this be ...
17
votes
3answers
61k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
0
votes
2answers
2k views

Linux DNS for Windows Domain

I have a SBS '08 server, and it handles all FSMO roles, and every service known to man. I'm trying to shift those to other computers, but we haven't got the capital for another server. I know Linux is ...
2
votes
3answers
8k views

How to find folder of application?

How do I find the folder where my eclipse was being installed in linux? I can run it via console, but I dont find the folder.
5
votes
2answers
36k views

How do you retrieve the current time on a server?

I want to know the time on a server accurate to the millisecond. there's this way: local $ ssh user@servername Welcome to server! server $ date Fri Feb 18 11:27:50 EST 2011 But I need more ...
6
votes
1answer
12k views

fstab: When do you use the “dump” and “fsck” options?

I found a great tutorial on how to use fstab: http://www.tuxfiles.org/linuxhelp/fstab.html Using this tutorial, I was able to successfully get my SIMPLE mounting needs working. But during the ...
1
vote
3answers
3k views

Will running Linux in a virtual machine inside Windows prevent viruses?

I got affected by a nasty fake antivirus tool yesterday. I was using Windows Vista and I had Microsoft Security Essentials installed, but they were no use. My question is: if I run Ubuntu Linux ...
2
votes
0answers
751 views

Alternatives for Mac OS X Aggregate Device on Linux and Windows

In Mac OS X I am able to create an aggregate audio device, select, which hardware it will use to output/input sound, and, which sound channels it will use for output. The utility to do this is ...
6
votes
4answers
6k views

Netbook screen too small, Software fix?

I have a netbook with a maximum screen resolution of 1024x600. I'm running a dualboot Ubuntu10.10 & Backtrack4r2, and I'm having some trouble with windows whose "height" was larger than 600px. ...
1
vote
1answer
705 views

How to kill same group process

How to kill a process initiated by another user, who is in same group as me?
0
votes
1answer
307 views

Looking for inexpensive web content filtering options for home use [closed]

I've been using an old Fortigate-60 at home for the kids for some time but now the license is expired again. Are there any free or inexpensive alternatives? I'd like something I can run on a linux ...
2
votes
2answers
12k views

How do I find out my computer network name (Linux)?

I have a linux machine on my university network where I usually log in via ssh from home. I have know the ip, so this is what I use to log in, but it would convenient to know if my computer have a ...
3
votes
3answers
10k views

Make GRUB automatically boot Ubuntu

I am running a dual-boot with Ubuntu (10.10) and Windows 7. Recently I edited my /boot/grub/grub.cfg file to only show one version of Ubuntu (as opposed to several kernel versions) and Windows, simply ...
3
votes
1answer
8k views

How to excute commands over SSH in a batch file?

I'm looking to, all in the course of one batch file: ssh into a remote computer execute commands (per the batch file) on the remote host. What options do I need to add to the ssh invocation so ...
43
votes
1answer
53k views

What is $* and $# in Linux?

What do the following environment variables in Linux mean? What is $* (dollar sign followed by an asterisk)? What is $# (dollar sign next to a hash mark/number sign/octothorpe/pound sign)?
0
votes
1answer
886 views

/etc/network/interfaces doesn't get loaded automatically

In Ubuntu 9.10 I configured manually network settings to /etc/network/interfaces, and it works fine when I run /etc/init.d/networking restart. Problem is that those settings are not loaded to GUI ...
2
votes
1answer
67 views

What are the symbols in VDT's output?

I've been messing with a curses-based disk check tool in Linux called VDT (visual disk test). It puts out a nice little chart on the screen as it's going, but I have no idea what each unit of output ...
2
votes
1answer
361 views

ffmpeg lame mp3 problem

i wanted to install ffmpeg with lame mp3 support.its procedure is as follows: cd /usr/local/src/ffmpeg/ ./configure –enable-libmp3lame –enable-libogg –enable-libvorbis make && make install but i ...
0
votes
1answer
445 views

In xterm the numpad 1 and 7 buttons does not work properly

I use VNC, open an xterm, and for example when I press "NumPad7", it completes "Home" command. Also "NumPad1" is mapped to "End". How to fix this? In fact there is a code for .cshrc that does the ...
3
votes
2answers
605 views

Difference between find -name with and w/o quotes?

I was going to file a bug to findutils on gnu.org when I saw a notice that asked me whether I knew the difference between these two commands: find -name *.c and find -name "*.c" I use find ...
0
votes
1answer
595 views

Error installing Rails 3.0.1 (File not found:lib)

I am trying to install rails 3.0.1 on ubuntu 10.10. I am getting this error towards the end when i execute this command sudo gem install rails --version 3.0.1 Installing ri documentation for ...
5
votes
2answers
2k views

Trigger off rsync by just plugging in a USB drive?

I'd like to know if it's possible to automatically mount, and fire up rsync to sync a USB drive with a directory? Specifically, I'd like to copy as much data as the drive can hold and only delete the ...
1
vote
1answer
40 views

How do I configure environment after installing a development library in Linux?

I installed a library to the /usr/local/ prefix in Linux using ./configure && make && make install. What environment variables do I need to set in order for the linker and compiler to ...
1
vote
1answer
616 views

CPU-Bound or I/O-Bound

How to make the Linux system as CPU-bounded rather than I/O-bounded. I want to run the mplayer with most-highest priority than any other processes, including copying data from/to one-storage device ...
1
vote
2answers
367 views

Deleting a directory in emacs' dired mode

I would like to delete a directory in emacs' dired-mode. I mark the directory with the "d" key, and then hit "x" to deleted flagged. I then get the following error: file-error Non-regular file is a ...
2
votes
3answers
850 views

Switching between monitors in dual-head setup

I'm using gnome in a dual-head setup with individual desktops. Is there any way to "jump" to another monitor using the keyboard only? Now the only method I know is to move the mouse pointer to the ...
0
votes
0answers
777 views

How to run Meld (1.5) with python 2.4.3

I would like to run Meld (a diff tool written in python) but it quits with the following error : Meld requires Python 2.5 or higher. Facing restrictive corporate guidelines i have to stick to the ...
1
vote
1answer
550 views

How to convert to ASCII format under OpenWrt?

https://pastebin.com/raw.php?i=eNk7b4fj Dear Community! under Fedora 14 - Bash: $ cat asdf | iconv -c -t ASCII <a href="http://www.net-security.org/secworld.php?id=10607">biometric cabinet ...
0
votes
1answer
977 views

ImageMagick's “import” command line program failing to take a screenshot from CRON script

Hello I wrote a simple command line script which is suppose to take my screenshot every 5 minutes. (using ImageMagick's "import" program) here is the script (shottr.sh): #!/bin/sh ...
0
votes
1answer
216 views

how to compile the latest rdiff-backup in debian?

The problem here is that in my ubuntu desktop pc, the repositories contain the latest rdiff (1.2.8), but in my debian server, the repositories contain v1.2.5. I get an error that the versions are ...
8
votes
4answers
3k views

How to recover open but deleted file on Linux using ln instead of cp?

I have a file that's downloading (from a source that's hard to re-download from), but accidentally deleted from the filesystem namespace (/tmp/blah), and I'd like to recover this file. Normally I ...
0
votes
3answers
2k views

On typing ls the folder should appear in green colour

When I type "ls" in the linux terminal the folder names should appear in green color and file name in black color. How do I do this?
3
votes
1answer
171 views

Firefox keyboard shortcuts don't work when a form field is focused

When using Firefox in Linpus Linux (on an Acer One netbook) some hot keys don't work. Ctrl + w Alt + d However Ctrl + Tab Does still work. Edit: The version installed is 3.6.