3
votes
2answers
4k views

FreeBSD in USB Flash Drive

I like to use live FreeBSD in my USB flash drive. How can i do it ? Please give clear way to do it.
6
votes
5answers
3k views

Develop / Debug C / C++ on Ubuntu?

What's the best IDE for developing C / C++ on Ubuntu? I tried installing Eclipse but it seems like I need the eclipse-cdt package also. The problem is there is no such package, at least for Lucid. ...
2
votes
1answer
1k views

Fedora GUI package installer takes very long (>15min) to start

I tried to use Linux GUI for Fedora but I did not find it intuitive than that of windows. Whenever I tried installing any software using rpm file by double clicking file, many times it stuck and ...
2
votes
2answers
601 views

Install from RPM, then files change. How can I see the differences?

This is a RedHat Enterprise 5.5 system. I ran a verification check against an RPM, and it looks like two files have changed: # rpm --verify shadow-utils S.5....T c /etc/default/useradd S.5....T c ...
13
votes
3answers
764 views

Contents of /proc

Is there a site someplace that lists the contents of /proc and what each entry means?
2
votes
1answer
634 views

Opensuse 11.3 with Dell inspiron 1564 wireless

When I was using ubuntu i used to add the cd to software sources and install a package called bcmwl* and the wireless would work immediately. Now on Opensuse the wireless is not working and as a ...
3
votes
2answers
901 views

Processor use and core use

I want to play around with threading and parallelism. I know my processor has multiple cores, but do not know how to see what is happening on each of them. What is the right way to access this ...
8
votes
5answers
5k views

Can I determine the number of sub-directories in a directory using `ls -l`?

When displaying directories using ls -l, their number of links (the second field in the output) is at least two: one for the dir name and one for . $ mkdir foo $ ls -l total 2 drwxr-xr-x 2 user ...
3
votes
1answer
602 views

Where and how do I create new system-wide menu items for CentOS/RH 5?

I have some CentOS 5.5 systems. I have installed the rdesktop rpm, however no entry appears to be made in the gnome or kde menus for it. Where is the menu structure in the filesystem? Is it one ...
4
votes
1answer
374 views

How does Ubuntu lock my Live USB?

I notice that, after booting from my Live USB (with Ubuntu inside) and shutdown, I won't be able to boot it again, unless I unplug the USB and plug it in again. Is this a side-effect of something, or ...
4
votes
1answer
4k views

Running a statically linked binary with a different glibc

I have a statically linked binary for a tool that I'm trying to run on RHLE4. The tool complains about glibc. It needs 2.4 and the one in the system is 2.3. Here is the message that it spits out: ...
2
votes
1answer
650 views

Why are the fonts all screwy for remote X11 apps on one Mac client?

I have two Mac OS X clients, both running XQuartz 2.1.6 (xorg-server 1.4.2-apple33). When I SSH into a remote linux system enabling X11 forwarding and launch gnome-terminal, on one Mac the terminal ...
4
votes
2answers
146 views

Best way to handle lots of mail on server?

Due to some bad cron jobs I now have ~1600 mail messages, most of them containing the same error log. I would like to quickly group them by subject and delete them, while limiting the chances of ...
7
votes
1answer
1k views

Shaping outgoing traffic with iptables

On my laptop, when I run any downloads, torrents, etc, browsing is crippled. I read somewhere that you could configure your iptables powered router to prioritize certain network traffic. Could I do ...
4
votes
1answer
120 views

How do I read alternate gnome configuration files

I have a number of versions of gnome installed on a number of different hosts. All users have network mounted home directories. In some cases gnome works poorly when reading configuration from the ...
4
votes
1answer
191 views

How can I turn off the realtime display of unix command “top”?

I want top to just give me the results when I call it and then exit. How can this be done? top's manpage does not list any flag for this purpose. Also, I do not want to use ps -eLf for the purpose.
4
votes
3answers
2k views

Using bridge utils to connect two computers via Linux

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) ...
15
votes
10answers
5k views

What is the smallest possible Linux implementation?

What are the bare minimum components for a Linux OS to be functional, and that I can use as a base to expand and improve as I learn Linux and my understanding and needs grow?
40
votes
3answers
26k views

How to redirect output of wget as input to unzip?

I have to download a file from this link. The file download is a zip file which I will have to unzip in the current folder. Normally, I would download it first, then run the unzip command. $ wget ...
3
votes
2answers
3k views

How can I force codepage/locale (different from my Linux system locale) for non-Unicode Wine applications?

I prefer using English locales for my system, but have to use some old Unicode-unaware Russian and Czech applications. In Windows I could set a locale for such applications in a separate Control Panel ...
11
votes
4answers
4k views

Serve files over USB

I would like to be able to serve a section of my box's file system over USB to another computer. For example, if the files are on box A and I am reading from box B, then B would mount A, see those ...
40
votes
7answers
15k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
2
votes
7answers
853 views

Can you recommend a GUI text editor for a developer (features needed are inside)? [closed]

F-cked up with all IDE bloatware (for my purposes they are all overcomplicated and inconvenient), I came to an idea, that I'd probably better use a good editor than an IDE. I DON'T need projects, I ...
7
votes
2answers
5k views

Getting and setting screen size for Xorg

I would like to run a command like get-screen-resolution during a X session to get a '800x480' output. ( or whatever the actual screen size is ). Is there something available for this? Currently I ...
10
votes
2answers
11k views

Finding the sector size of a partition

I answered this question, assuming that the *.img file had a sector size of 512. How do I query a device, or the image of a device, to find the correct sector size?
10
votes
1answer
16k views

How do I mount an `img` created with /bin/dd of a hard drive?

I used dd to backup a 80GB drive dd if=/dev/sdb of=~/sdb.img Now I need to access some files on that drive, but I don't want to copy the ".img" back over the drive. mount ~/sdb.img /mnt/sdb ...
92
votes
7answers
32k views

Why use swap when there is more than enough free space in RAM?

Using swap space instead of RAM can drastically slow down a PC. So why, when I have more than enough RAM available, does my Linux system (Arch) use the swap? Checkout my conky output below: Also, ...
5
votes
2answers
630 views

How to disable “Shake password dialog when authentication fails” of Gnome Screensaver?

Is there any way to disable the animation which occurs when attempting to unlock gnome Screensaver and failing? Currently the password dialog shakes back and forth and for some reason on some laptops, ...
7
votes
1answer
729 views

Difference between references of Linux “utilities”, “commands” and “programs”

I read uses of the word "utilities" for commands/programs such as 'ls', 'chmod', 'mv', etc. Is "commands" is Linux referring to the same things as top, ps, etc., or are those something different? ...
6
votes
7answers
2k views

Is it bad practice to set root's shell to something other than the default?

Once a friend of mine (who is an experienced Unix/Linux user) told me that setting root's shell to something other than sh (i.e bash or zsh) might create problems, because some script might assume ...
4
votes
4answers
439 views

Setting up a development environment in Ubuntu

I'm a long time Window user. Recently, I learned JavaScript/PHP/mySql and considered that Ubuntu Server will be the choice. I'll still work on Windows XP/7, though. Here's my idea Development ...
6
votes
7answers
1k views

Minimalistic terminal music player that can play all my files randomly

I'm looking for a terminal music player. mpg321/mpg123 is quite what I need, but it can't play all my music directory (which contains child directories). cmus seems to be a bit of an overkill, as ...
4
votes
2answers
1k views

Auto-mounting to a directory other than /media in Fedora 13

I am using Fedora 13. I need to be able to configure how media are mounted automatically. For an example, I want to change the parent of all mounted media to be a directory other than /media. All the ...
1
vote
1answer
2k views

Where in Gnome libs, is 'True' and 'False' defined?

I'm trying to compile a program with gnome-libs, that uses True and False, in one of the arguments. But what header file defines them? I'm getting the following error: guignome/guignome.c: In ...
7
votes
3answers
1k views

Best practise to diagnose problems [closed]

As Linux/Unix users, we run into problems frequently. And after long hours of problem solving, we develop the skill of debugging. Now, what are good principles, methods or best practises when trying ...
1
vote
4answers
2k views

Using regex to see if a UNIX process is up

In UNIX, I am checking to see if a process is up by executing the following command; E.g. psg dtllst pe99 This returns the following output if the process is running; UID PID PPID C ...
6
votes
4answers
2k views

Any good LVM tutorial?

I'm planning to user LVM in my next Linux installation, any links to good LVM tutorials/guides/FAQs would be welcomed.
5
votes
4answers
114 views

Get list of required libraries when installing something from source

When installing something from source (say, Ruby 1.9.2), what command can I run to get a complete list of all the dependencies needed to install that application? Is this possible?
3
votes
2answers
347 views

Change main partition size to install another distribution

I have CentOS 5.5 installed, I have no un-partitioned space and the only ext3 partition I have is huge with lots of free space. Can I change that partition size in order to allocate another one? I ...
1
vote
3answers
2k views

What libraries are there for reading/editing ID3s of mp3?

I think the title says it all. I need a library to allow me to read and edit ID3 Tags from C++ in Linux. Suggestions?
8
votes
1answer
1k views

Bash autocomplete in ssh session

It seems that bash doesn't want to autocomplete commands (what's annoying me right now is not autocompleting apt-get) when I'm logged into my machine from SSH. Is there some setting that will allow ...
4
votes
3answers
3k views

Ubuntu won't Hibernate

With my new built computer Ubuntu 10.4 lucid won't hibernate or suspend. It's a custom-built Core i7 on the Gigabyte X58A-UD3R motherboard. Hibernate is enabled in the bios. Running sudo hibernate ...
2
votes
1answer
1k views

Evolution and Exchange Server 2007 without MAPI

My organization is running an exchange server 2007 with MAPI disabled for security reasons. How do I connect with evolution? When I connect using the Microsoft Exchange option I get the error ...
1
vote
1answer
905 views

Step by step guide to setup display resolutions in xorg

The default xorg configuration file created does not allow me to set up the display resolution I want (1360x768). The auto configuration command xorg -configure didn't create the proper configuration ...
8
votes
3answers
712 views

how to queue a command to run after another command finishes?

Sometimes I start a program that takes a very long time to finish (emerge), then realize that I should go to bed instead of waiting for it. If I know this in the first place I would run program; halt ...
0
votes
2answers
302 views

set up email addresses that aren't attached to a user

I need to set up a lot of email addresses on a Linux machine, but I don't want to create a new user account for each one. The mail can stored in a regular maildir or mbox. (I'll be checking the mail ...
4
votes
2answers
4k views

Windows 7 Dual Boot + Virtualization under Ubuntu 10.04?

Question: I currently have a dual boot: Win 7 x64 Pro & Ubuntu 10.04.1 x64. Is there a way to boot Win 7 as a virtual machine under Ubuntu without reinstalling anything, in addition to ...
3
votes
5answers
3k views

how to pass the result of `find` as a list of files?

The situation is, I have an MP3 player mpg321 that accepts a list of files as argument. I keep my music in a directory named "music", in which there are a few more directories. I just want to play all ...
0
votes
3answers
1k views

Being kicked out upon logging in using ssh

Does anyone know why I am kicked out immediately after everytime I log in? Here is the output: $ ssh tim@xxxx.xxx.xxx.xxx Password: Linux xxxx 2.6.32-24-server #43-Ubuntu SMP Thu Sep ...
54
votes
8answers
31k views

How can I move files and view the progress (e.g. with a progress bar)?

When moving large directories using mv, is there a way to view the progress (%)? The cp command on gentoo had a -g switch that showed the progress.

15 30 50 per page