4
votes
3answers
1k views

When networkmanager is used, OpenSuSe gets stuck during boot for 10 minutes

I have this problem on all machines that I every installed (different configurations, different geographical locations, even different OpenSuSe versions) and it's extremely irritating. When I turn on ...
1
vote
1answer
66 views

How to run hello world in Maemo

Do you know any other way to start app than using ./? I've just compiled one in c++ and i can't run it.
3
votes
2answers
380 views

Unix Shell and colours

Can any one please help me understand this code snippet that I found in .profile file echo -en "\e[32;44m $(hostname) \e[m";echo -e "\e[m"
42
votes
6answers
124k views

How to get over “device or resource busy”?

I tried to rm -rf a folder, and got "device or resource busy". In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" ...
1
vote
1answer
639 views

I can't kill xfwm4

$ ps aux | grep xfwm xralf 4365 1.2 0.4 19888 9444 ? S 10:45 0:00 xfwm4 --replace --display :0.0 --sm-client-id 204399537-7a38-4196-8c31-43cf2f3542ac xralf 4369 0.0 0.0 3324 ...
14
votes
6answers
10k views

Is it safe to rm -rf /tmp/*?

This is something I used to do a lot on Windows, but after my recent fiasco I want to make sure. Is it safe to do sudo rm -rf /tmp/* ?
3
votes
2answers
275 views

Where should I copy-paste-install software to?

I'm installing IntelliJ, and the readme tells me to choose an installation folder. Where is a good, standard place to put installed programs?
0
votes
1answer
2k views

best BSD distro for Desktop PCs? [closed]

I want to know if the bsd distros are for the desktop usage at all If yes; What is the Best bsd distro for desktop usage some thing like ubuntu linux which is easy to use and good GUI management ...
3
votes
2answers
600 views

How to build a cross-distro binary RPM package?

I'm trying to build a cross-distro binary RPM package that works under Fedora and openSUSE. I'm using a Require: tag to set the dependencies package names. The problem is that the package names are ...
5
votes
3answers
695 views

What would happen if a hard drive failed while the Linux kernel was running?

I've always been curious of what would happen if a hard drive failed while the Linux kernel was running. Since the kernel image itself is loaded completely into RAM, I don't imagine there would be any ...
7
votes
2answers
489 views

Are there any desktop email clients that implement gmail style conversation view?

I don't like threaded email views as much as the inline "conversation view" of gmail, however gmail is not as fast as I'd like it to be. Are there any desktop clients which provide a "conversation ...
4
votes
1answer
2k views

Audio/video out of sync when playing MP4s in mplayer

When I try to play MP4 files in mplayer, after a few seconds I get the "Your system is too SLOW to play this!" warning and the video starts lagging behind the audio. It only happens with MP4s, and ...
3
votes
2answers
3k views

change terminal title

I want to make a shell alias that starts a certain program and also changes the title of the terminal to the name of the program. How can I do that? In case it matters, I am running the terminal on ...
7
votes
5answers
2k views

How can I recursively search directories for a pattern and just print out file names and line numbers

Currently I am using grep as follows: grep -lr <PATTERN> . This gives me the following output, containing a list of all files whose contents (not name) contain : ./path/to/file1 ...
4
votes
2answers
211 views

What potential ills can be brought by 'deleting' a live kernel?

I recently deleted my active Linux kernel and continued using the system as if nothing drastic happened. Are there any side-effects to deleting the Linux kernel that's currently in use? What about ...
7
votes
2answers
5k views

sed one-liner to delete any line that does not contain lowercase letters

So, basically THIS LINE WOULD BE DELETED and (THIS LINE WOULD ALSO BE DELETED) but Indeed, THIS LINE WOULD NOT
4
votes
3answers
1k views

grub shows multiple kernel versions on startup

I have Ubuntu 10.10 and after few updates the boot menu lists many kernel versions. How do I remove older versions?
2
votes
1answer
1k views

tun0+ iptables rule

I'm trying to figure out what that + sign means in a rule such as this: -A FORWARD -i tun0+ -j ACCEPT I'm pretty positive it relates to vpn. I noticed a /dev/net/tun interface and a tun0 in ...
2
votes
1answer
3k views

Devices get renamed when SATA disk attached

I have an HP xw8200 workstation running linux with two small, fast SCSI drives hooked up to the onboard LSI SCSI controller. The drives get labeled /dev/sda & /dev/sdb in /dev, respectively. I ...
4
votes
1answer
690 views

Reverse control-code look up for terminals

My understanding is that terminals often use ANSI control-codes to represent non-alphanumeric character sequences. For example, when editing .inputrc for Bash in Linux, it's easy to find code ...
16
votes
3answers
14k views

How do I remove certain lines (using line numbers) in a file?

There are specific lines that I want to remove from a file. Let's say it's line 20-37 and then line 45. How would I do that without specifying the content of those lines?
9
votes
6answers
3k views

Is there any alternative to grep's -A -B -C switches (to print few lines before and after )?

grep -A 2 -B 3 prints 2 lines after the grep string and prints 3 lines before. grep -C 3 prints 3 Lines before and 3 lines after Unfortunately, the grep I'm using does not support these ...
0
votes
2answers
291 views

2 consecutive ssh logins [duplicate]

Possible Duplicate: Common multiple SSH connections file handling issue I used to do something like that often: home $> ssh user@server1 user@server1's password: server1 $> ssh ...
6
votes
2answers
2k views

Dump process core without killing the process

Is there a way to get a core dump (or something similar) for a process without actually killing the processes? I have a multithreaded python process running on an embedded system. And I want to be ...
8
votes
2answers
3k views

Ubuntu vs Debian for server

What would be a better choice for a web server, Debian or Ubuntu? I mainly use Python & PostgreSQL with Nginx and sometimes PHP & MySQL. What are pros/cons of each?
11
votes
2answers
4k views

Mapping key combination with xmodmap

I'm trying to achieve the following mapping keycode 135 = <Ctrl-C> Is it possible to achieve this in some way?
4
votes
2answers
1k views

Terminal and web browser combination

I often use only two applications, terminal and web browser. I like the tmux application which enables to split a terminal window into more regions. I noticed that I can open lynx in another region ...
3
votes
3answers
305 views

Changing the disk scheduler on the fly

Can the Linux disk scheduler be changed on the fly by writing to /sys/block/sda/queue/scheduler? Should applications (e.g. Mysql) be stopped / started when changing?
3
votes
1answer
8k views

How to resolve “your browser does not allow access to your computer's clipboard” on Google Docs?

I'm trying to copy or paste some text, in Chrome, on Google Docs, and getting this error: your browser does not allow access to your computer's clipboard How to resolve it for Chrome (this seems to ...
2
votes
1answer
1k views

Find the DVD-ROM path in FreeBSD

I do not know the path of my DVD-ROM and also my external hard drive to mount them in FreeBSD using the mount command. What command should I use to find their path?
19
votes
2answers
28k views

How can I kill a <defunct> process whose parent is init?

Transmission is intermittently hanging on my NAS. If I send SIGTERM, it doesn't disappear from the process list and a <defunct> label appears next to it. If I send a SIGKILL, it still doesn't ...
1
vote
1answer
1k views

What app can I use to change sound levels in GNOME 3 (fallback)?

With GNOME 2, I use my the volume control applet to change loudness levels. It doesn't load on GNOME 3 (fallback) applet, so I wonder what other UI can I use for this, preferably a GNOME one.
11
votes
3answers
3k views

How do I browse for available gsettings options?

There are certain gsettings keys that can have multiple values (e.g. a key like verbosity could be assigned to one error, info, or debug). I want to be able to list them, but my dconf-editor (0.7.3) ...
7
votes
2answers
7k views

rsync not using --files-from option?

I'm trying to run rsync -a --files-from=~/.rsync_file_list ~/destination and it tells me: rsync error: syntax or usage error (code 1) at options.c(1652) [client=3.0.7]. Can anyone enlighten me as to ...
2
votes
1answer
1k views

How do I set GNOME 3 (fallback) icon theme to Tango?

I tried setting it using dconf-editor and failed.
4
votes
1answer
757 views

Re-escape brackets in PS1

As others have pointed out, color codes in PS1 should be bracketed by \[ and \] to avoid them taking up horizontal space. I've added the necessary code to .bashrc: highlight() { if [ -x ...
3
votes
2answers
2k views

Using YUM or installing APT on CentOS

I am having trouble with a centOS machine I am using. I need some packages, including john the ripper, but yum cannot find the packages. When I type sudo yum install john, I get back the nothing to ...
3
votes
2answers
398 views

Weird output by echo

I was playing with echo $$ a while back. Well that displays that pid of the shell. But then I did echo ! which promptly displayed !. Then echo !! produced echo echo ! echo ! $echo !!! gave echo ...
3
votes
1answer
566 views

How to get the icon for a MIME type?

How to get the icon for a MIME type? I don't want to use g_file_info_get_icon() because its input parameter is a file, not a MIME type. My use case: I have a wrapper file which embeds a media ...
1
vote
3answers
5k views

Is it possible to reinstall Debian afresh and retain all the cutomisation and data from existing installation?

I have done something stupid and messed up my Debian Squeeze installation. Now, the problem is I have enough data and sowftware installations which I dont want to repeat, is it possible to reinstall ...
0
votes
1answer
266 views

Different package versions in same suite?

I recently got this this surprising result: evolution-data-server-common: Installed: 2.30.3-2 Candidate: 2.30.3-2 Version table: 3.0.0-1 0 -10 http://debian.mirror.ac.za/debian/ ...
3
votes
1answer
290 views

How to compile a decent kernel from kernel.org?

I tried compiling a kernel from sources that I got from kernel.org (mainline) with make allyesconfig and make allmodconfig, but both builds resulted in a kernel, that won't boot. I was thinking, that ...
4
votes
3answers
580 views

Setting linux time

$ date 042612492005 $ hwclock -w The code above shows how to set the system time, but how's the timestamp string generated in the first place?
26
votes
7answers
14k views

diff within a line

I have some sql dumps that I am looking at the differences between. diff can obviously show me the difference between two lines, but I'm driving myself nuts trying to find which values in the long ...
6
votes
3answers
3k views

How do Linux drivers work and where do I find them? (esp. NIC driver)

I am wondering how a driver functions under Linux. Are drivers a single file that can be edited? Is there a list of current drivers in use or is there a different place to find them for each device? ...
10
votes
5answers
39k views

lvm devices under /dev/mapper missing

I'm using Debian squeeze, and running LVM on top of software RAID 1. I just accidentally just discovered that most of the links under /dev/mapper are missing, though my system seems to be still ...
7
votes
2answers
8k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
3
votes
2answers
1k views

Groups ssh user is apart of don't apply on SSHFS

I am connecting to a remote server over SSH but am running into a permissions issue. My remote account is thelq and primarily part of the group thelq. I'm also part of the generic group users. ...
5
votes
1answer
21k views

How do I create new partitions and format my hard drive in parted?

I'm somewhat new to working with commandline tools when dealing with partitioning, so you'll have to excuse my newness. I'm basically trying to create a new logical partition on /dev/sdb and would ...
3
votes
2answers
563 views

Total in `ls -l`

When I run ls -l, the following is displayed: >: ls -l total 320 -rw-r--r-- 1 foo staff 633 5 Apr 13:23 A.class -rw-r--r-- 1 foo staff 296 5 Apr 13:24 A.java ... What does the ...

15 30 50 per page