A family of Unix-like 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
1answer
2k views

Lightning extension for x86_64 Thunderbird 3.1.10?

I've installed the Thunderbird 3.1.10 package in latest Arch Linux x86_64. However, it seems that the Lightning calendar extension doesn't work in this 64-bit operating system with 64-bit Thunderbird ...
0
votes
1answer
317 views

Flatten single file directories

I've spent ages trying to build this and had a good look around for a way to do it. I have a directory tree which contains a set of folders and files. Some of the folders contain more than one file ...
1
vote
1answer
1k views

How can I change/erase Windows password using Ubuntu Live?

How can I change or erase the Windows XP password from Ubuntu Live (11.04) booted on the PC in question? I reckon it should be possible, at least it is possible to do so to another Ubuntu ...
26
votes
3answers
16k views

Ensuring new files in a directory belong to the group

I want to create a shared directory when a number of users (all belong to say mygroup) can create and edit files. I would like all files in this directory and subdirectory to belong to mygroup I have ...
1
vote
1answer
109 views

Channelling processing power from Linux servers over a gigabit LAN to Macintosh system

As you may know Apple offers a program called Xgrid for sharing processing power between Macs. It also allows for easy clustering. Is there a way to channel processing power from Linux nodes over a ...
0
votes
1answer
324 views

Authentication failure when connection

I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option Now I've added a ...
2
votes
2answers
4k views

How do I get the path to the perl script that I only know the PID of?

I had a problem recently, where a perl script was consuming server resources. I found out it was a perl script by using "top". But it didn't give the path to the script. Nor did ps. Also, ps -ef ...
9
votes
1answer
1k 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
2
votes
1answer
325 views

easy_install install Trac 0.11, but I want 0.12

I run the following on Debian: (#:~)- easy_install Trac Searching for Trac Best match: Trac 0.11.1 Adding Trac 0.11.1 to easy-install.pth file Installing trac-admin script to /usr/bin Installing ...
0
votes
1answer
899 views

3 monitors over 2 graphics cards in Fedora

Currently, failing to set up Xdmx correctly, I am trying to use 3 displays with 2 graphics cards in one machine under Fedora 15 and KDE. The 2 graphics cards are an ATI HD4670 (pcie) and (iirc) a ...
6
votes
1answer
558 views

Linux diary program

Is there a diary program for Linux that runs in the terminal?
0
votes
1answer
161 views

Does this write to stdout or stdin?

If I type the following command in Linux: cat textfile The contents of textfile is displayed. What is cat actually writing to? Is it writing to stdout or stdin?
5
votes
1answer
4k views

Newly upgraded Ubuntu 11.04 VM not booting

I have just upgraded to 11.04 on my VirtualBox VM, and after I start it, it begins to load, but it stops at the line * Checking battery state... [ OK ] I have tried the recovery mode, but to no ...
10
votes
4answers
4k views

What is the Linux equivalent of Fiddler? [closed]

On Windows I like using Fiddler to scan TCP streams and save them. Is there a similar tool to do this under Linux?
1
vote
3answers
1k views

How to Change Server Date?

How do I change a Linux web server's date through SSH?
4
votes
1answer
3k views

PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

when running pear upgrade the following error is raised: PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165 PHP Stack trace: PHP 1. ...
2
votes
2answers
1k views

How to Mark NTFS filesystem dirty from *NIX/Linux?

Is there any way to mark a NTFS-fileystem dirty using ntfstools/ntfs-3g or any other tool, so it gets chkdsk'd when windows boots? I know I can do that from windows or the recovery console but I'm ...
9
votes
1answer
2k views

pipes vs. redirects

I've been using pipes and redirects for a long time and just realized that I don't know exactly how they are different. I just know that if you want to store the output in a file, then you use >. ...
7
votes
2answers
6k views

How can I allow other computers to use my local SOCKS SSH tunnel?

I often use an SSH tunnelling on my computer, using a SOCKS proxy. ssh -D 1234 example.com However, this only accepts local connections. I would like other systems on my network to be able to use ...
1
vote
1answer
2k views

Extend display over network on linux with VNC

Sorry if this has been asked before, but I have extensively searched for an answer and found none that meet my requirements. What I need is a program that will extend a X-windows display over a ...
2
votes
1answer
482 views

In Ubuntu, after I add a partition to /dev/sde, why don't I have a /dev/sde1 device?

I'm using ubuntu 9.10 with kernel 2.6.31. In addition to the boot disk, I have a software raid of 5 disks using mdadm. One disk failed. I removed it from the array. mdadm --detail /dev/md0 shows: ...
1
vote
3answers
518 views

Why are all files +r (readable) by others in Linux (Ubuntu)?

I don't know if this is an easy one to answer, but I have a VPS and I have noticed a while back that all files created can be read by other users (because files are +r for "others", for some reason). ...
0
votes
3answers
2k views

linux maintenance shell

I modified the fstab file and while saving a file, I made the mistake of naming it fstg. Because of this mistake, my system is not able to boot. It just boots into a maintenance shell. I am unable to ...
56
votes
3answers
43k views

Case Insensitive search from find command?

I am not able to figure out how can I do case-insensitive search using the find command. I tried find . -name -i pattern And it does not work.
3
votes
2answers
12k views

Using sed to replace string with special characters in XML file

I am having difficulty getting sed to replace a string of text in an XML file, despite the fact that I have no trouble using grep to find that same string. Since the new string and old string to be ...
4
votes
2answers
5k views

How to create custom commands on Linux?

So I'm here thinking how to create custom commands on my Linux Debian? I mean so I could open up terminal and just type the script name (and possibly some arguments) and it would refer to the script ...
0
votes
3answers
470 views

can't use console in Linux

I have some problem with Linux, I switch graphic interface to the console using Ctrl + Alt + Shift + F1, but I can't type anything, every second I receive: my question is, why can't I type ...
2
votes
0answers
610 views

Swapping special keys

I am on archlinux and trying to swap the left Alt key with the left Ctrl key for my convenience in emacs as well as bash command line editing. I use the following ~/.xmodmap: remove mod1 = Alt_L ...
19
votes
5answers
17k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
1
vote
2answers
1k views

Why does telnet report “login: -h for super-user only.”?

I am not able to telnet in to localhost . [root@localhost ~]# telnet localhost Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Red Hat Enterprise Linux ...
0
votes
1answer
387 views

Bind9 dns-cache returns my ip to bad queries

I'm having some issues with my bind9 dns cache returning an answer to any query. Why? Can I disable that behavior somehow? nslookup not.a.valid.query Server: UnKnown Address: 192.168.0.1 ...
1
vote
1answer
107 views

Going to remote servers offsite - solution for seeing video (console) on laptop?

We have an increasing number of remote linux servers at "harsh" customer locations that sometimes need a site visit to debug. Originally, we used servers with VGA out, but recently, we have machines ...
1
vote
0answers
882 views

Running a shell script in a web server as if it was interactive

I have a shell script (csh) - I didn't write it so I can't change it now. The script does a lot of parsing of log files, calls other scripts in languages like Perl and Tcl, creates new files and calls ...
1
vote
3answers
982 views

Connection between two computers with Ubuntu 10.04 for transfer files

I have two computers: one is connected with router by wi-fi and another is connected with router by lan. How I can optimal organize connection between two computers with Ubuntu 10.04 for transfer ...
9
votes
6answers
8k views

Clear stdin before reading

I have the following bash script: # do some time consuming task here read -p "Give me some input: " input Now as you might have guessed, if a user presses some random keys during the "time ...
1
vote
4answers
4k views

detecting zombie processes

how do I detect and kill zombie processes left from the command line of a Linux terminal?
0
votes
2answers
585 views

linux(ubuntu) shell window width

anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up? Thanks
2
votes
1answer
1k views

Unable to detect monitor webcam in ubuntu

I am using ubuntu 10.04 on a desktop PC. I have connected my 17" Dell LCD monitor with webcam (using the monitor's USB cable). Ubuntu does not detect the webcam at all (I tried Skype and Cheese, ...
24
votes
10answers
45k views

Filesystem full: how to find the biggest directories or biggest file? [duplicate]

Under Linux, I'm looking for a command to list the biggest file and/or the biggest directories under a directory.
1
vote
1answer
309 views

What does “switching runlevel” mean exactly?

What happens when I issue sudo telinit n (n being the new runlevel)? Does init scans /etc/inittab and does exactly the same when system is booted? For example, if I have rm:2345:wait:/etc/rc.multi ...
0
votes
3answers
3k views

install debian lenny without gnome

I want to install Debian Lenny, without any graphical desktop manager (like gnome). I can install Debian Lenny with gnome and remove gnome from it, but i am not sure if it will remove all packages ...
1
vote
1answer
1k views

Run Java Project from Ubuntu Terminal?

I have a small java project that handle connections. In order to run it from the terminal I have to cd into the folder that contains the source and run the following command: java -cp classes ...
0
votes
1answer
916 views

Iptables prerouting and IP forwarding

I have a linux machine used as gateway for a Win XP machine. Both are in Virtual machine for testing purpose. Now I want to trick the Win XP user (me) with the forwarding of an IP address: I want to ...
0
votes
1answer
427 views

Raid 1 Disk Syncing

When attempting to test that my RAID-1 configuration was working, I am thinking that I may have made a mistake that could cause future corruption of data because I booted from a single HDD when the ...
1
vote
2answers
427 views

Is this firewall completely secure?

I'd like to know if there's any holes/flaws in this firewall setup. I want to lock down the server as much as possible so it is impossible to hack in to. The only services running are openvpn and ssh. ...
0
votes
2answers
118 views

Where to find in-depth information on various file systems?

Back in the old days of PC-DOS 3.1, computers are much simpler than today's. I can learn a lot of how File System works with tools like PCTools, Norton Disk Doctor, and debug.com. Have been working ...
0
votes
4answers
181 views

Connection Error in Ubuntu 10.04

I am geeting this error whenever i am using the below command in ubuntu: ssh localhost it shows the error unable to connect to local host at port 22:connection refused Please help me with this
2
votes
1answer
3k views

Shutdown Windows machine remotely without telnet/ssh

I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box: Ensured no firewall Started Remote Registry Editing service Shared a network ...
1
vote
1answer
4k views

Chrome browser full Kiosk mode in Linux (Puppy Linux)

Let me just say thanks in advance. I am having issues getting google-chrome browser into full KIOSK MODE with no browser bar on a linux platform Looking through the google forums I have found ...
3
votes
1answer
637 views

Linux: disable man from showing mans in non-English languages

On my Linux there are some outdated translated mans installed. I want to prohibit man utility from showing them. I want to do this permanently, while saving a current locale. What environment ...