1
vote
5answers
238 views

What horrible mistakes should I avoid as a newb? [closed]

Edit - please see this duplicate question. I just chowned -R my /usr folder, which totally corrupted my computer (not sure how, but I lost sudo power eventually). This seems like a horrible newb ...
2
votes
1answer
9k views

Xorg -configure doesn't work with nouveau drivers

I'm having problems setting up X.org on Gentoo. At the moment I have kernel 2.6.37-gentoo-r4 installed and have built X against this kernel. I have nouveau drivers installed and they seem to be ...
7
votes
5answers
7k views

Dual monitors and panels

I have a question with regard to a multiple monitor setup. I'm currently primarily a Windows user, but I've been running Ubuntu in dual boot to get a feel for it. The one thing I find lacking that ...
2
votes
5answers
1k views

Highlight the current date in cal

I would like to highlight today's date in the output of the cal command. What is the best way? This is what I have so far: cal -m | grep -C6 --color "$(date +%e)" but it doesn't work for all cases ...
2
votes
1answer
1k views

Difference between Gnome3 and Gnome-shell

What is the difference between gnome3 and gnome-shell, if any?
30
votes
7answers
6k views

Is there a way to modify a file in-place?

I have a fairly large file (35Gb), and I would like to filter this file in situ (i.e. I don't have enough disk space for another file), specifically I want to grep and ignore some patterns — is there ...
5
votes
1answer
9k views

How to assign values to multiple variables in command line with bars

I am essentially trying to assing certain portions of the output of a shell command to mulitple variables, but I don't know how to do that. For simplicity's sake, assume that the command on the ...
5
votes
11answers
2k views

What is a free, small Unix/Linux OS? [closed]

I have a spare machine with an 80GB HDD and 512 MB RAM. I want to try a Linux distro that's very small (and free too). What should I try?
1
vote
3answers
1k views

Backup installed RPM

Last night I did rm -Rf /tmp as root. I wasn't drunk. But I definitely feel I was dumb to do so. Now X doesn't work. I read few days back that after doing rm, one can't recover the lost data. I ...
3
votes
1answer
520 views

Capture and log GDB backtraces without stopping the process

First, a brief description of the situation: a computer sits hidden near a display in a gallery of some sort, acting as the silent workhorse for a piece. Despite its programmer's best intentions the ...
9
votes
2answers
873 views

Logitech MX-510: Some extra buttons not usable

I have a Logitech MX-510, that I've been using for about six years. The Mouse has several extra buttons, that I'd like to use in Gnome, but I have problems with the button codes, that the mouse ...
1
vote
2answers
188 views

about UFS allocation on FreeBSD

I am wondering what allocation method does UFS use? I know there are several options: contiguous, linked allocation and indexed allocation. Which one is for UFS?
15
votes
3answers
3k views

Changing parent directory (../) with symlinks

I have a symlink ~/link -> ~/a/really/long/path When I do cd ~/link cd .. it takes me to ~ but I want to go to ~/a/really/long Is there a way to do this? I am using bash.
7
votes
1answer
4k views

How to include files that are excluded in an rsync

I'm trying to set up an rsync that excludes all .* files except for .htaccess but unfortunately, this doesn't work: rsync -avP --exclude=".*" --include="./.htaccess" ./. user@server:/dir Is it ...
2
votes
1answer
943 views

Dual boot debian/Win XP - hidden partitions and primary partition limit

I decided it's (finally) time to make my eee a debian/WinXP dual boot. I have Windows already installed and chose to sacrifice most of an existing data partition for debian. Here's how the partitions ...
3
votes
1answer
1k views

Installing Fedora along side Ubuntu

I have installed Ubuntu 10.10 by specifying "Use the entire disk" during installation. Now, I would like to install Fedora alongside Ubuntu. I would like to know whether it's possible or not. If it's ...
7
votes
5answers
5k views

Backup whole hard disk Linux

I am looking for a method to backup a whole disk in case something is screwed up... I don't even know what to install on some special devices of the server, and every time it is not the same. ...
24
votes
3answers
10k views

How to choose directory name during untarring

Say I have file named ugly_name.tar, which when extracted, becomes ugly_name directory. What command can I use such that the resulting directory name is pretty_name instead?
17
votes
11answers
3k views

Linux - command to list files (except ls)

Imagine you were working on a system and someone accidentally deleted the ls command (/bin/ls). How could you get a list of the files in the current directory? Try it. I tried many ...
5
votes
1answer
364 views

Is it worth using vdmfec for backups to external SATA/IDE hard drives?

I have some SATA/IDE hard drive enclosures that I use for backups. The drives for formatted with VFAT, since I need to be able to share them with Windows and OS/X machines. The backup scripts pipe ...
3
votes
1answer
444 views

Multiple renaming files [duplicate]

Possible Duplicate: How to clean up file extensions? I'd like to rename files with extension .flac.mp3 to extension .mp3. I used the following command $ for i in *; do mv $i `echo $i | sed ...
5
votes
2answers
2k views

BCRYPT - Why doesn't the Linux Distributions use it by default?

Does OpenBSD use bcrypt by default? Why doesn't every modern Linux Distribution use BCRYPT? http://codahale.com/how-to-safely-store-a-password/ https://secure.wikimedia.org/wikipedia/en/wiki/Bcrypt ...
43
votes
5answers
4k views

Becoming root from inside Vim

Sometimes I start editing configuration files in /etc using Vim, but forget to use sudo to start Vim. The inevitable result then is that after finishing my edits I encounter the dreaded notice that I ...
8
votes
4answers
2k views

IDE for large, multi-language projects (ie linux kernel)

I know the "which IDE do you guys use" question has been asked a million times. But I've never seen it asked in this context. What are some suggestions for an IDE when working on huge projects that ...
2
votes
1answer
266 views

Which distro should I switch to?

I've been an Ubuntu user for quite a few years now. However, with the recent release of Gnome 3, and with Ubuntu not going to include it by default, instead including its own customizations (such as ...
2
votes
1answer
2k views

“No such file or directory” lies on Optware installed binaries

I've been using Optware to install packages on my ARM-based NAS for a while - the usual stuff like Transmission, Samba and others. However, I'd been having problems with Transmission hanging not long ...
2
votes
1answer
1k views

Unable to change the default printer

When I use the command $ sudo lpoptions -d Deskjet-F300-series it won't change the default printer. $ lpstat -a Deskjet-F300-series accepting requests since Sun 10 Apr 2011 11:02:12 AM CEST ...
2
votes
2answers
5k views

How can I switch one user to another in Freebsd?

How can I switch one user to another in Freebsd? For examples, I am user david now and I want to change to user Bob. This is a personal OS for my study. not a server. I searched it, but only got ...
3
votes
1answer
483 views

Does research unix have any binary editor?

I cannot find any binary editor in v7 unix by reading volumn 1 of the manual. Is there any?
3
votes
2answers
679 views

How do I execute a script later?

I need to compile gcc45 on my computer and that's a lengthy and resource-intensive process for my computer, so I'd prefer to have it do it while I sleep (at night). What's the closest thing to: $ ...
3
votes
1answer
235 views

ssh behavior for root and non-root user

When I ssh as root to a remote machine, the command output looks like this: root@Machine:/current/path#: However, if it's a non-root user, all I see is: $ How can I get the same behavior as for ...
5
votes
1answer
3k views

How can you get console backgrounds for Arch Linux?

I have tested out openSUSE and found that the tty1 is a bit different from other systems as the tty has got a background. I know that Knoppix has a tux penguin for each core the computer has, but I'm ...
2
votes
1answer
127 views

how can 'init' and 'service' command can cross normal-user life?

i'm just moved to linux world in ubuntu 10.10. i'm using it for normal life, internet and social networks, multimedia enterainement like musics and movie, a bit of coding with c and python.. i've ...
5
votes
2answers
2k views

How does battery life on a laptop compare between GNOME 2 and GNOME 3 (GNOME Shell)?

Since GNOME 3 uses hardware acceleration by default, I assume that it will be worse for battery life on my laptop, but I can't actually find anything to back this up, and by how much. Has anyone done ...
5
votes
2answers
642 views

Suggestions needed to debug why ps -ef gets stuck

A few of my processes consume 100% cpu. I'm trying to figure out which scripts are causing it I tried running strace ps -ef: open("/proc/PID/status", O_RDONLY) = 6 read(6, "Name:\textract\nState:\tR ...
2
votes
1answer
165 views

Is it possible to set su to use WE password dialog

I have sometimes problem when during entering password for su other window appears and steals the focus ("wait - did I just entered root password on public IRC chatroom?" - it did not happened but ...
9
votes
8answers
13k views

How do I install a PHP CLI with a usable interactive prompt on Debian Wheezy?

When I install php5-cli on Debian Wheezy (currently testing), the interactive prompt is very unusable due to missing readline support (bug 341868). What's the easiest way to install a version linked ...
1
vote
1answer
620 views

APTonCD equivalent for Fedora

Is there an equivalent of APTonCD for Fedora? I tried googling and found YUMonCD but wanted to know if there exists some package in the repos.
7
votes
2answers
716 views

Information about a laptop fan

Can you help me with finding all the hardware information (parameters) and configuration files about the fan in my laptop? I'm interested of the fan's parameters and configuration files that I can ...
4
votes
2answers
827 views

How can I make the GNOME Shell Activities Bar small all the time?

When I have no apps running, or I'm in the activities screen in GNOME shell, the activities bar is maybe 20px high. When I am running an application, this expands to 70px, possibly to fit the 64x64 ...
3
votes
3answers
2k views

How much disk space should be allocated for FreeBSD?

I have a Samsung N150 netbook with 160 GB hard disk. I want to install FreeBSD OS. There will be no other OSs, no dual booting or like that, just FreeBSD. So the manual says to have a separate ...
2
votes
2answers
236 views

Is there a port list migration command set for FreeBSD?

On debianized linux distros there is dpkg --get-selections, dpkg --set-selections, dpkg -C to respectively list installed packages, select a list of packages for installations, and list packages that ...
2
votes
2answers
6k views

I am failing to build VirtualBox driver for Linux 2.6.38

I am running Debian 6, and decided to install 2.6.38 kernel from Unstable. I also installed the headers so that I can later on : sudo apt-get install --target-release=unstable ...
2
votes
2answers
179 views

Make minimal linux disk live

I was wondering if anyone had a minimal Linux system with nothing but the bare minimum to boot. Is there any tutorials on the web, I couldn't seem to find any.
14
votes
2answers
10k views

What is the difference between root and superuser?

Do they refer to the same thing or is root just a location in filesystem (its ultimate base) and superuser a privileged user (sort of equivalent of windows administrator account) ? Do they need the ...
2
votes
2answers
934 views

How do I configure my graphics drivers?

I'm running Linux Mint 9 gnome on a Toshiba Satellite A105-S4211 With this, inxi -G Graphics: Card Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller X.Org 1.7.6 Res: ...
4
votes
1answer
1k views

How can we customize linux file systems like ext2/3?

Actually IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations like sequential reading/writing, random reading/writing. So I want to customize my own ...
4
votes
1answer
2k views

How do I change my monitor's gamma settings?

How do I change my laptop monitor's gamma settings on Linux Mint 9 (preferably using a GUI interface)?
1
vote
1answer
1k views

how to troubleshoot intermittent no route to host error

I have a program that most of the time works, but every now and then it fails with a no route to host error. The machine is running AIX 5 and has five network interfaces en1, en3, en5, en7 and en10. ...
4
votes
2answers
194 views

Can you tell a window to spawn behind others?

I have a script that recompiles and relaunches a software project I am building in linux. However, I don't usually want to see my program's window immediately after it has launched, as I want to keep ...

15 30 50 per page