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

0
votes
2answers
500 views

Strange DNS problem [seems to be IPv6 issue]

I'm experiencing strange problems with my Kubuntu 9.10 when doing DNS requests from various applications. The requests are extremely slow, so loading any pages in Firefox or Konqueror, doing package ...
0
votes
5answers
157 views

How to determine if a file has been backed up?

I try to consolidate old drives to new ones of larger capacity. Sometimes files have been renamed, but are otherwise identical. Sometimes an old directory has just a few more files in it than a newer ...
2
votes
1answer
3k views

Ubuntu 6.06: Mounting /root/sda1 /root failed: No such device

An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot: Uncompressing Linux... Ok Booting the kernel mount: Mounting /root/sda1 /root ...
2
votes
2answers
465 views

Making emacs frames/windows inviolate for emacs auto changes

I was wondering if there is a way to mark certain frames in a split window emacs session as inviolate to changing. I normally have 4 frames for sources files and 2-3 frames for other views such as ...
5
votes
4answers
4k views

individual cpu % in 'top' output

Usually to view individual cpu % we press '1' in the interactive mode of top. However I am not able to figure out the logic to get the same output in batch mode i.e, top -n1b I am redirecting this ...
6
votes
5answers
3k views

Removing the escape characters from GNU Screen's screenlog.%n

Is it possible to remove the ESC sequences in GNU Screen's output file? Things such as colours, tabs and other escape characters make their way into the log files and become difficult to decipher. ...
8
votes
5answers
8k views

Monitor network traffic of each application

First of all, I am on a slow Internet connection and it really makes me mad if something gets downloaded in background (like automatic update of any software) without my knowledge. How can I monitor ...
2
votes
2answers
601 views

Why won't ubuntu on a wireless internet connection work with Panera bread or other hotspots

I currently am running Ubuntu 9.04 and have a wireless card installed with the correct driver. When I try to connect to a public hotspot sometimes the connection works and sometimes it doesn't. Do ...
1
vote
3answers
918 views

How to grep only selected words from a file?

I need to get a list of all the email addresses from a file. I was trying to use grep @ filename but that returns the entire line. Is there anyway I can get it to return only the email address ...
0
votes
1answer
303 views

Listing All Linked Files

I can't seem to find a way to do this, so maybe it's not actually possible, but I was wondering if there was a way to list all files that link to a file. For example. touch a ln a b ln a c I want ...
2
votes
2answers
658 views

In Linux, how can I temporarily remove my association with a group?

I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations? e.g. If my groups are defined as: % groups foo bar baz How can ...
8
votes
4answers
488 views

What is listening at given port?

Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?
7
votes
5answers
21k views

How to check if a directory exists in Linux command line?

How to check if a directory exists in Linux command line? Solution: [ -d ¨a¨ ]&&echo ¨exists¨||echo ¨not exists¨
1
vote
4answers
130 views

What is the simplest batch scheduler to set up on a small linux cluster?

We have about 10 heterogeneous machines we would like to run various jobs on. The current situation is that people log in on a machine with ssh, see if other people are running stuff on it, then use ...
0
votes
1answer
319 views

Customizing Redhat Enterprise Linux Guests

What is required to clone and customize a RHEL guest. I need to duplicate a RHEL guest into 20 separate unique guests, on a ongoing basis. Who is this done, is there some Open Source Perl scripts that ...
0
votes
1answer
411 views

Whats wrong with my xlock?

When I type xlock and press return key, I am getting the following error: Unknown mode: xlock: bad command line option "swarm" What should I do? I just need the basic xlock screen locking ...
10
votes
4answers
13k views

Passing PATH through sudo

In short: how to make sudo not to flush PATH everytime? I have some websites deployed on my server (Debian testing) written with Ruby on Rails. I use Mongrel+Nginx to host them, but there is one ...
1
vote
1answer
513 views

streaming video on Ubuntu 9.10

I am trying to get streaming video to work on install of fully up to date Ubuntu 9.10. For example: http://cbc.ca/video I am guessing that the packages/codecs necessary cannot be distributed with ...
5
votes
1answer
2k views

How to find all symbolic links to a given file/directory?

How can you find all symbolic links to a given file / directory? This previous question only applies to hardlinks (if I read correctly).
-1
votes
3answers
587 views

How to send a mail by communicating directly with an SMTP server in telnet?

How to communicate with an SMTP server with telnet, in order to send a mail? telnet smtp.something.somewhere 53 Trying 10.xxx.xxx.xxx... Connected to smtp.something.somewhere. Escape character ...
1
vote
3answers
136 views

How do I multi boot XP with a Unix like OS

I want to code some simple personal projects on the Unix-like partition while doing everything else on my XP partition. Can someone recommend the solution that takes up the smallest footprint in size ...
5
votes
3answers
1k views

how to let others access my home directory

I grant read privilege to all the users to my .vimrc file . But my colleague still can't read my .vimrc file . I guess in addiction to give the read privilege to the .vimrc file, in some way I should ...
3
votes
2answers
3k views

Tutorial for setting up a Linux machine with 3 monitors? [closed]

Can you provide a link to an up-to-date tutorial for setting up Linux with 3 monitors? Specifically, I want to set up 2 different nvidia video cards with 3 monitors. I can already do 2 monitors on 1 ...
1
vote
1answer
859 views

How to activate WIFI service on Enterprise Linux Version 5 provided from Oracle?

I have installed Enterprise Linux Version 5 provided from Oracle I am able to access Internet using network cable Please tell me how can I enable WIFI service ,so that I can use internet without the ...
3
votes
3answers
1k views

How can I start X11 on a Linux system without graphics hardware?

I want to run some xulrunner based program on EC2 - it will run automatically but it needs some display as far as I understand. That probably requires X11 with some dummy screen driver. How can I do ...
8
votes
2answers
12k views

Sending file via netcat

I'm using something like this to send file from one computer to another: To serve file (on computer A): cat something.zip | nc -l -p 1234 To receive file (on computer B): netcat server.ip.here. ...
3
votes
8answers
335 views

Should I pitch Ubuntu to virus victims?

I've noticed that on a regular basis I see facebook statuses complaining about viruses (e.g. "sorry I haven't been on in a few days... my comp got socked by a virus and I had to reinstall everything") ...
12
votes
8answers
22k views

Tell `ls` to print only the base filename

This is the default behaviour of ls ls /net/nas/data/languages/pypm/sites/rex/free/2.6/*/pool/v/vi/virtual*1.4.4*pypm ...
1
vote
1answer
289 views

Can I make a X-server to read keyboard and mouse from another windows machine?

I have 2 PC, one using Linux and another using Windows7. I want to use both display cards with the windows machine. I cannot find such virtual device for windows. So, since it is possible to run X ...
0
votes
1answer
666 views

How to auto-disconnect and connect?

I am checking something out in my connection and I just wanted to ask, is there a way to auto-disconnect and connect from the internet. For example say I want to disconnect now and reconnect to the ...
6
votes
7answers
7k views

How do I search for a string in a PHP file using `grep`?

I am searching for a class declaration on a site with hundreds of PHP files. How can I do this in the current folder and subfolders using grep? I tested cding to the folder and then something like ...
48
votes
3answers
73k views

How can I determine what process has a file open in Linux?

I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created. So, how can I determine what process has a particular ...
4
votes
4answers
331 views

GIMP for Photoshoppers

I'm experienced at Photoshop (CS2), but new to GIMP. What tutorials, FAQs, and tips can you recommend to make the transition simpler? EDIT: Giving up on GIMP. Going back to Photoshop.
1
vote
5answers
75 views

linux mounting issue from windows to Linux

hi i have an Ubntu machine with 30GB space and need to create a folder in "/" as "/server". I have 50GB space in NTFS(windows) . i want to join this 50GB to linux how can i merge these two.
3
votes
1answer
40 views

introductory video on Ubuntu

Is there a great first video for someone that has no idea about operating systems to introduce them to the possibility of using Ubuntu, demonstrating what it looks like, advantages / disadvantages, ...
1
vote
1answer
2k views

video card performance monitoring?

Is there a 'top' like command for monitoring the GPU and memory usage of a video card? I am most interested in Linux commands, but and OS would be interesting. I strongly suspect that for a group of ...
2
votes
1answer
2k views

Good NFS configuration for Home Network (NFS Performance Issues)

I have a small LAN that has a couple of Linux boxes (Ubuntu 9.10) with NFS shares on them. The boxes are networked with a consumer grade Netgear router (model WGR614V9) and using wired connections. ...
3
votes
3answers
5k views

One-way syncing/backup with Unison

I'm using the syncing tool Unison with my Mac OSX and Ubuntu 9.10 machines to backup my music from Mac to Ubuntu. The thing is, I want to have my Mac be the source and Ubuntu be the target so that the ...
2
votes
3answers
2k views

How to make Windows 7 Network show Samba share after VM is rebooted/restored?

On Windows 7, I have VirtualBox running Linux (Ubuntu 8.04), with Samba set up so that the Windows host can access it. But if the virtual machine is shut down & restored, or rebooted, the Windows ...
2
votes
1answer
1k views

How To Change The Floppy Image Of Qemu?

I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?
10
votes
2answers
25k views

What exactly is the sh command?

I can't figure out what the sh command is? http://unixhelp.ed.ac.uk/CGI/man-cgi?sh Does it execute a file? like in tomcat: sh /usr/local/tomcat/bin/shutdown.sh Sorry, just confused.
2
votes
1answer
601 views

Long directory listing

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?
3
votes
7answers
3k views

Most suitable Linux distro for a ~2003 laptop

I have a Dell Lattitude D600 laptop which has a Pentium M 1.6GHz CPU, an ATI Mobility Radeon 9000 GPU and 512Mb RAM. It was bought ~2003. I'm looking at installing Linux on it but would like to know ...
0
votes
1answer
2k views

Problems getting VMware Server to work on Ubuntu 9.10

I'm trying to get VMware Server 2.0.2 (64-bit version) to work on my Ubuntu workstation. However, the install script ($ sudo ./vmware-install.pl) runs into problems with the kernel modules: [...] ...
1
vote
1answer
962 views

how to recursively add read privilege to all the files under a certain diretory

I'm under linux . by default, other user can't read anything under my home directory . let's see my home directory is /home/superman , and I tried to use chmod +r /home/superman to let others can ...
7
votes
8answers
3k views

Ending a process in unix instead of interrupting it

At the unix command line if i press Ctrl-C,that does not end a process but rather interrupts it and i return to the shell prompt. So,i have the following two questions: 1.Is there a way i can see the ...
0
votes
2answers
1k views

Linux email client to connect to exchange server 2007

My company just moved all our emails to an exchange server 2007. I know there is an extension to connect to an exchange server for evolution but it doesn't seem to be compatible with the 2007 version. ...
4
votes
4answers
223 views

What's the importance of / in the following Linux command

What's the difference between cd abc/xyz/ and cd abc/xyz What's the importance of / at the end? Which is the right way of using it? Because both seem to work properly.
0
votes
1answer
159 views

no internet - broadcom NetXtreme BCM755 linux

i have opensuse 11.0 on a PC with Broadcom NetXtreme BCM 755 ethernet adapter. i am not able to connect to the internet. what could be the problems. how to solve it?
2
votes
3answers
220 views

Instead of using RM. I want to use a custom “soft delete” command

Instead of using the "RM" command for things. I would like to have a custom command that would move the file to a "trash" folder with the dir it had. for example. If a file was ...