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

10
votes
2answers
9k views

reboot vs shutdown -r now for restarting Linux

I normally use reboot to restart my Linux box, but a friend said that I should use shutdown -r now instead. Is there any difference? Looking at the man pages tells me something about run levels, but ...
1
vote
1answer
491 views

Multiple X instances

I can run multiple X instances via startx -- :1, and switching between the X sessions is easy, but switching back to my account, which has a lot of visual extras in it, takes a long time, in the 10-20 ...
2
votes
2answers
196 views

Need advice on virtualisation software and a suitable Linux distro

I'm looking for reasonably user-friendly, free virtualisation software that I can run on Windows 7. I want to install a Linux distro (though I don't know which one yet). Can anyone recommend the ...
1
vote
1answer
99 views

OS X: Printer profiles path?

I need to know where the "printer profiles" are stored. I'm not referring to the drivers or any of that, what I'm referring to is when you add a printer, you can define different profiles (IE paper ...
0
votes
1answer
479 views

Having problem with certain keyboard characters on ubuntu installed on a laptop

I am using ubuntu on my Toshiba laptop. It installed fine, the only problem I am having is that certain key on my keyboards are not appearing, e.g., when I type forward slash I get -, when I press + I ...
11
votes
6answers
14k views

Why is 64 bit Ubuntu not recomended for daily usage?

I am just in the process of setting up a new laptop which came with Windows 7 64 bit installed. I am going to set it up to dual boot Windows 7 and Ubuntu. When I went to get the Ubuntu download I ...
1
vote
2answers
2k views

Sound plays on headphones and speakers with Lenovo ThinkPad L512 + Ubuntu 10

The only thing really missing from this install is this issue with the sound. I've searched all over the forums and i found one thing where you get the model and codecs and write them to a file, ...
1
vote
1answer
1k views

Running stuff (web services) in chroot/isolated env

First of all, I read all the chroot questions I could find on the net and on Superuser. Basically they all cover running a 32bit app running on 64bit host and so on. I want to have an isolated ...
1
vote
5answers
410 views

Linux to Windows file

I want to copy 2 files from my Linux VM (running in Hyper V) over to the Windows machine it runs in. What is the quickest and simplest way to do this? A lot of pages online use winScp but offer no ...
8
votes
4answers
12k views

How to really force unmount a filesystem (without manual investigation why is it busy)

How to unmount a filesystem in Linux without investigating why is it busy? I want to do it in one command. It should handle applications using that filesystem, submounts, containers (lxc-execute -n ...
7
votes
1answer
313 views

Getting LESS to return back to command line if a short file is displayed

Is there a command line option that will allow less to return to the command line if there are not sufficient lines in the file to warrant paging. Sure I have seen it in the past but can't find the ...
0
votes
4answers
213 views

How do you transfer a file from a local Mac to a remote Linux machine

How do you transfer a file from a local Mac to a remote Linux machine
7
votes
2answers
9k views

running .bashrc versus new login

I added new alias into .bashrc Running .bashrc doesn't create that alias but new log in yes. Could you somebody explain why is that so and how I can test if the new .bashrc works without doing test ...
3
votes
0answers
182 views

Xinerama causes windows to maximize across both monitors [duplicate]

Possible Duplicate: In Debian Gnome, windows are maximizing over multiple monitors After I installed Xinerama whenever I maximize a window it spreads the window across both of my monitors. ...
1
vote
0answers
135 views

Mouse doesn't display correctly with Xinerama in Gnome

When I move my mouse to the second screen, for a moment the cursor can be seen on it, then it appears to return to the original screen. Then when I move the mouse around, the pointer is showing on the ...
3
votes
1answer
3k views

How can I insert a character code into a Linux text editor?

I need a lightweight GUI text editor on my Ubuntu Lucid system which lets me specify a Unicode code point (e.g. U+1234), and inserts that character to a UTF-8 text document. I know that gedit can't do ...
0
votes
1answer
53 views

Can't get Ruby to update properly

(Using Archlinux) I downloaded Ruby 1.8.7-174 a while ago and installed it via the tarball (not pacman). I was trying to update to 1.8.7-299, but I can't get it to work. Per the readme, I do the ...
22
votes
6answers
74k views

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root ...
20
votes
3answers
20k views

Why is the CPU usage reported by top in Linux over 100%?

I've seen the CPU usage go over 100%. How is this possible? Is it because I have four CPU cores, so 100% isn't really the max? Also, when a program does this, what else can I do in top besides using ...
2
votes
2answers
734 views

Putting a remote syslog into its own file

I have a Tomato router and it has the capability to have its logs go to a external server. syslog is the obvious choice for this. So I enabled remote logging on my linux server's syslogd (syslogd -r) ...
1
vote
2answers
1k views

access windows log files from linux

I'm trying to remotely access windows log files from linux. So far I've found two different approaches. Install syslog server on windows machine and let windows send log files to linux, read those ...
10
votes
3answers
2k views

Why are there short and long alternatives for command line options?

Most unixoid commands feature short and long alternatives for command line options, like ls -a and ls --all, or ls -A and ls --almost-all. Why do those two ways exist? One is shorter to type, the ...
0
votes
1answer
341 views

Quotas in Linux, adding new user

I have an existing quota setup which works fine for 2 users. Say I want to add a new user, user3. Why is using "edquota -u user3" alone insufficient? Do I need to run quotacheck after running edquota ...
17
votes
6answers
28k views

Command line SVG and image file viewer in Linux?

Is there any command line (pipe-able) graph viewer for SVG and JPG/PNG image files? Especially that, the graph/image files are output thru pipe line, rather than plain files, so there must be option ...
-1
votes
3answers
9k views

How to remove gzip from Linux

I tried sudo aptitude remove gzip and it looked like it uninstalled but when I typed gzip at the terminal it still ran.
6
votes
6answers
1k views

Shutting down PC without killing SSH sessions

I have some heavy, long processes running on remote Linux machines. I use my laptop to SSH to these machine and run the processes from my couch. BUT, when I want to shutdown my laptop, I am in ...
1
vote
2answers
878 views

Cannot add default gateway

Getting the following error when trying to add a default gateway for eth1. # route add default gw 192.168.228.2 eth1 route: SIOCADDRT: Network is unreachable Can't figure out why.
2
votes
2answers
2k views

Linux decibel (max peak volume) limit

I just watched a movie and had to set the volume level quite high to get audio. I forgot to set the volume to the lower level it was at and started a trance music track and that literally made my ears ...
4
votes
5answers
2k views

Execute script before shutting down in Ubuntu

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office. I have a local application to manage those tasks, so basically I just want to run a ...
1
vote
1answer
807 views

Writing a bash shell script for website backup

I am about to write my first shell script for backing up my server. These are the steps I have identified so far. Copy files to be backed up to /srv/backup/ run mysqldump and copy the file to ...
14
votes
3answers
9k views

How to diff large files on Linux

I'm getting a diff: memory exhausted error when trying to diff two 27 GB files that are largely similar on a Linux box with CentOS 5 and 4 GB of RAM. This is a known problem, it seems. I would expect ...
2
votes
2answers
613 views

Override global Python with local one on linux

I have installed a python interpreter to a user-directory on a system where I do not have root-access. This system has an older version of Python already installed. I want to make my local ...
2
votes
0answers
123 views

svnnotify occasionally produce garbage

I run svnnotify from a Subversion post-commit hook: #!/bin/sh RECEIVERS="\ -x medical@example.com=patients/ \ -x design@example.com=gui/ \ -x devel@example.com=trunk/haxe" ...
8
votes
1answer
7k views

Denyhosts keeps adding my IP address to hosts.deny

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine. This morning, I accidentally typed ...
1
vote
1answer
866 views

converting from pdf to djvu

How do I convert a PDF book to djvu? I'm on linux kubuntu 8.04.
1
vote
3answers
119 views

Resources of minimized programs in Linux

When a program is minimized to the taskbar in Linux does it use less resources?
2
votes
4answers
3k views

Why isn't this smbmount attempt working?

I can successfully access one of our local samba shares, which is on a windows pc (called marina) as follows: $ sudo /usr/bin/smbclient \\\\marina\\resource_library <my password> ...
1
vote
1answer
363 views

untarred files on server has different owner

I am creating a tar gzipp'ed archive on my local machine (as user1) using the following commands: user1@devmachine:~/$ tar czpf dir.tar.gz thedirectory on the server, I untar it (as user 2) ...
2
votes
3answers
1k views

How do you kill a Xterm instance in Tiny window Manager using mouse pointer?

The only way I know is to use exit command to come out. Is there some way to close the Xterm windows using the GUI (the mouse pointer)? Killing a lot of windows would be easier that way. I am ...
0
votes
1answer
267 views

How to enable the libattr frature(abbreviated xattr) in linux?

I would use xattr in python, but found the xattr's keys() is empty, does that indicate the libattr feature wasn't enabled? I've learned the libattr feature is disabled in ext3/ext4 by default, but how ...
1
vote
1answer
552 views

Empty folder and kernel panic when trying to get SELinux working

I have very strange things with SELinux. My post may be will bit disordered, because I'm not completely understand what is going on. Before all the story, I had good and very stable Linux ...
2
votes
1answer
255 views

Ubuntu logwatch - is this cause for concern?

I am using Logwatch on my server, whcih is running Ubuntu 10.0.4 I saw the following line in the LogWatch report: Unmatched Entries pam_env(sshd:setcred): Unable to open env file: ...
0
votes
3answers
239 views

Data coming from the network is only partially transfered on Asus EEE 1001HA, Ubuntu 10.4 Lucid

My wife's netbook started behaving strangely lately. I dug around and found the following symptoms: web browsing: painfully slow (keeps "loading" pages; it might show something like half the Google ...
4
votes
3answers
1k views

How to highlight text in PDF files in Linux [closed]

Some pdf readers for windows allow you to highlight and type notes into PDF files. The pdf readers that I've seen for Linux only allow you to read pdfs. Are there any that allow you to highlight text ...
8
votes
2answers
3k views

netem for Mac OS X to emulate network latency and dropped packets

I'm looking for an open source/free network emulator tool that I could use on Mac OS X, to simulate a slow network connection, limited bandwidth and other network characteristics such as dropped ...
0
votes
2answers
128 views

How can I better manage my console windows?

I'm using Gnome/Debian and I'm constantly always opening new console windows ( I have my Windows key mapped to invoke gnome-terminal ). It's a bit frustrating because after a few hours of work I'll ...
1
vote
1answer
2k views

Ubuntu grub fails to start, error: out of disk

My computer has become quite strange the last days, last week grub stopped working and just halted at the grub prompt. I can manually start the system by writing insmod /boot/grub/linux.mod linux ...
3
votes
2answers
1k views

Linux - remap Ctrl-[ key

On Linux, the Ctrl-[ key combination appears to be equivalent to hitting the Esc key. I would like to define the Ctrl-[ as a shortcut in Emacs but I am unable to because by the time the keystroke gets ...
1
vote
1answer
221 views

How to clear stale hashed search path in bash?

Previously my bash script was pointing to /path1 but I moved it to under /path2, now if I do "type myscript" it's still pointing to /path1, how do I solve this?
10
votes
7answers
20k views

How to find the architecture of OS installed?

I'm using Core 2 Duo. So, from Intel website I found that it is 64-bit architecture CPU. Long back I've installed Ubuntu OS on this machine. But I'm not sure if I installed x86-32 or x86-64 version ...