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
62 views

sharing folders with passwords

I have a Linux box which should share a few directories to other systems over the LAN. The other systems are running linux as well. I'd like to associate a different password for each folder without ...
3
votes
2answers
751 views

How do I share files with a linux virtual machine from a Win 7 desktop

I have a Win7 deskptop (host) and want to run a linux virtual machine; but I want that linux virtual machine to be able to access a directory on the host machine (in this case, to serve a web ...
1
vote
1answer
3k views

How to grant access permission on network interface?

Currently, I must sudo tcpflow -i lo as root user, I want to grant the lo interface and TCP port range 3000-3999 of all interfaces to user1, how to do that?
4
votes
4answers
2k views

Simple email client for Linux

I am looking for a very simple email client for Linux, Crunchbang specifically. All I want for it to do is email. No calendar, todo, etc features. I would also prefer for it to be GUI-based because ...
3
votes
1answer
523 views

byobu won't let me create a new bash window when using xterm [closed]

I am using byobu within xterm. Whenever I try to create a new window with bash, the window opens then immediately closes. Whenever I create a window with plain old sh however, it works fine. I am ...
0
votes
1answer
640 views

How to create tunnel to utilize for telnet connection

The scenario is as follows: Machine A is located behind client firewall. The machine runs telnetd. This is Linux machine with Python 2.5.4 installed. I do not know the IP addy of the router and ...
1
vote
2answers
1k views

Problems excluding directories in a Linux find

Trying to exclude a set of directories from a find is driving me nuts! What I want to do is look for all .java files in a directory tree, but ignore all those in test directories. So, I've tried: ...
0
votes
1answer
588 views

Installing MySQL-Ruby on Linux and Ruby 1.9.2

I am having an absurdly difficult time getting MySQL-Ruby to install on RedHat 4 using Ruby 1.9.2. I am behind a company proxy that prevents pretty much any package tool from connecting to external ...
0
votes
0answers
509 views

HP DV2 1010ea Wireless card not showing networks any more

Two summers ago I acquired a new Laptop - an HP Pavilion DV2 1010ea. Nice form factor and stylish. However, it shipped with Vista and I could tell from day 1 it was struggling and I wanted to put ...
0
votes
3answers
551 views

How come useradd isn't working?

I'm trying to work out the kinks for this RPM I'm trying to create. Basically, I'm trying to make it so that if mark does not exist on the system, I want to create a mark user account. I've got this ...
4
votes
2answers
2k views

rsync N newest files in a directory

What would be the easiest way to go about rsyncing the n newest files in a directory to a remote server?
10
votes
5answers
17k 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?
0
votes
1answer
762 views

System thinks it is swapping, but isn't

I have a linux server (Ubuntu 10.04) which has no swap space (swapon -l reports nothing, 0kb swap memory listed in /proc/meminfo). The beginning of the output of top (sorted by %mem) is reproduced ...
0
votes
2answers
284 views

Can root create the directory if not exists while backups

I am getting the databases from mysql and my database name is username_something. I am getting the username and then puting the respective backups in corresponding folders like tar bala bla ...
10
votes
4answers
11k views

Linux command to return number of bits (32 or 64)?

What is a Linux command that I can run to programmatically return either 32 or 64 to indicate whether the processor is a 32 bit or 64 bit processor?
3
votes
5answers
17k 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 ...
2
votes
1answer
2k views

FTP shortcuts to another folder

How can I create shortcut from one ftp folder to another using SFTP client such as WinSCP with Putty? For example, application path is /home/primary/webapps/appication/ We have created new user with ...
1
vote
1answer
98 views

Gentoo install yabootconfig loop

I've been installing Gentoo on an iBook G4 from the minimal cd. The install seemed to be working perfectly, until I came to "Configuring the Bootloader" in the handbook. I followed all of the steps ...
2
votes
1answer
1k views

Controling when services start in Fedora 14 GNU/Linux

Whenever I start up my laptop running Fedora 14, I notice that it says that it is failing to connect to my default wireless network since the wireless card is not activated. Since it appears that the ...
2
votes
3answers
793 views

Regular Expressions tool for Linux

Is there a regular expressions tool for Linux to ease the creation of big regular expressions, such as Expresso for instance, for Windows?
3
votes
2answers
3k views

How can I get an interface's bandwidth at any given second from the Linux command line?

I am doing a school project in which I want to get the bandwidth of a network interface at any given second, or some other small increment of time. I need this for a Perl script I am working on. ...
3
votes
6answers
299 views

Linux command without directory name

Beginner at linux here, is there a way to create a permanent link between a command and the directory it's within. I've got XAMPP installed and to start i'm using: /opt/lampp/lampp start Is there a ...
3
votes
1answer
1k views

NVIDIA vs ATI vs Intel video card drivers - OpenGL support in Linux

How is OpenGL support (specifically OpenGL 3.x) in the different video card drivers available for Linux? Assuming that the hardware supported it well, would the drivers be an issue?
0
votes
2answers
812 views

how do you create a menu item in the Ubuntu applications menu which changes the current directory before running a shell script?

I'm looking to add a menu item to the applications menu in Ubuntu which will run a shell script. In order for the shell script to work I need to cd into the directory which contains the shell script. ...
2
votes
2answers
207 views

cp copying more than what is asked

I go with the following in bash cp -r "/wordpress/3.0.1/" "/mySite/" and the result is /mySite/3.0.1/ but I don't want nor understand why the 3.0.1/ appears in the target destination. What am I ...
10
votes
2answers
10k views

How to extract text from pdf in script on Linux?

On Linux - How to extract text from a .pdf in which text really is text, not a scanned image? I want something I can use on the command line / in a script, not interactively. (I don't want to convert ...
1
vote
2answers
436 views

Add another OS to list at start

I have installed Windows, Fedora and Slackware on my laptop ( lilo is on mbr, and grub for Fedora is installed on first sector on sda6). How to add sda6 to show on beginning when I turn on computer, ...
0
votes
2answers
1k views

Is it possible to move Ubuntu on a primary partition to a logical/extended partition?

I'm currently dual booting Windows 7 64bit and Ubuntu 10.10 each on primary partitions. Then on the other 2 partitions I have the manufacturer recovery partition (which I am not sure I should ...
12
votes
5answers
6k views

List of all available man pages

How to generate a list of all available man pages on a system?
14
votes
3answers
5k views

What must be changed for cloned Linux systems?

When cloning Windows systems, it's fairly well-known that one should run sysprep before creating an image. This way, when the machine starts up, it will reconfigure itself for its new environment: ...
7
votes
5answers
6k views

sshfs device is busy

I mounted a remote file system using sshfs (version 2.8.4) sshfs -o allow_root joeuser@example.com: ./example but unmounting it fails > fusermount -u example umount: /home/joeuser/example: ...
1
vote
4answers
411 views

Organizing tons of mp3's [closed]

I have a giant library of mp3 and audio files that include songs, audiobooks, personal sound recordings, sound effects, etc. I am completely overwhelmed by the options of having a "media library". I ...
1
vote
2answers
300 views

Good ways to transparent redirect site to port 8080?

Currently my home internet provider does not allow services on ports 1 to 1024 but allow the use of high ports to whatever users want to do and I was wondering what ways are there to mask my webserver ...
4
votes
1answer
3k views

Can you pass options to a linux kernel module through the boot parameter?

I have an issue that is fixed by changing the lpfc driver to run using MSI interrupts. This is done by adding “options lpfc lpfc_use_msi=2” /etc/modprobe.conf.local file. Is there a way to make this ...
2
votes
2answers
815 views

Running a computer in kiosk mode for a custom Linux C++ program

I want to create a C++ application that is to run on some Linux platform on a specific laptop computer. I do however not want the users of this laptop to use any other applications/system features ...
8
votes
4answers
17k views

Ubuntu VM “read only file system” fix?

I was going to install VMWare tools on an Ubuntu server Virtual Machine, but I ran into the issue of not being able to create a cdrom directory in the /mnt directory. I then tested to see if it was ...
0
votes
2answers
682 views

Accessing VPN resources in Windows guest from Linux host

I have a Ubuntu hosting a Windows XP box (using VirtualBox). The Windows XP box is connected to work using Check Point VPN-1. Essentially this enables me to go to my Windows box and do something like ...
1
vote
1answer
850 views

H.323 client for Linux that can broadcast screen?

I'm looking for an application for Linux that will connect to an H.323 video conference and allow the user to send their desktop as a video stream, instead of using the image from a webcam. This is ...
4
votes
2answers
3k views

Process not Listed by PS or in /proc/

I'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then ...
4
votes
3answers
8k views

Bonding two wifi adapters

I saw a network once that used bonding (some people called it "port trunking") to combine two network cards into a single connection to get twice the bandwidth. I have a slow Wifi network with not so ...
1
vote
2answers
680 views

How do you redirect output from ifconfig up

$: ifconfig > /dev/null $: ifconfig eth0 down $: ifconfig eth0 up &> /dev/null Nov 3 22:06:13 kernel: eth0: XLlTemac: Options: 0x3fa Nov 3 22:06:13 kernel: eth0: XLlTemac: ...
2
votes
2answers
559 views

Where is the Missing Disk Space on Linux Software Raid

Purchased (4) 2TiB Drives (actual disk space) and created a RAID5 array expecting to have 6TB of useable disk space, however actual useable space is 5.46TiB. So, the question is where did the disk ...
13
votes
2answers
9k views

Linux installs - where should I put them?

I am relatively new to Linux, I am using Xubuntu 10.04. A lot of the software I download from the net, e.g. Aptana/Eclipse are just ZIP files that I open and run. I wish them to be in a specific ...
1
vote
6answers
2k views

Advantages and disadvantages of read-only filesystem

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on ...
5
votes
2answers
9k views

Turn off monitor (energy saving) while in text console mode (in Linux)

How to configure Linux text console to automatically turn of the monitor after some time? And by "text console" I mean that thing that you get on ctrl+alt+F[1-6], which is what you get whenever X11 ...
26
votes
4answers
24k views

How can I install objdump on Mac OS X?

I want to get the source code of a small command line tool using objdump on Mac OS X. I've used arm-linux-objdump on Linux and find it a great tool. Is there any way to install objdump on OS X? I've ...
5
votes
4answers
3k views

Email Client with Vim Editing

I've been using vim for about 5 years now and have grown quite effective with it, to the point where writing things without vim feels so painfully slow. Just about everything that I write, I write in ...
3
votes
1answer
1k views

Memory cache losing sync with disk

(Ubuntu Linux server, 64-bits) I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual. ...
5
votes
1answer
3k views

Tools to view/edit user space memory of running processes?

Are there any tools to view/edit user space memory of running processes on Linux? It would be a great learning tool.
4
votes
5answers
8k views

How to tell which card is eth0 and which is eth1?

I have a Linux machine with two Ethernet cards both using the Intel e1000 driver. lspci reports different models of Ethernet cards, but I can't tell which is eth0 and which is eth1. Other than ...