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

3
votes
1answer
428 views

Fixing Master Boot Record From Linux After Windows Corrupts It

I bought a Dell Inspiron 1545 laptop, and setup Ubuntu 10.04 to dual boot alongside Windows 7. Regrettably, when activating the wireless, I did something in Windows 7 that caused it to overwrite or ...
6
votes
6answers
5k views

Is there any small linux distribution which comes with a complete C development environment

I have installed "Damn Small Linux" on my home computer for doing C development in unix. But the distribution doesn't by default come with the C development environment and I am facing some issues ...
9
votes
5answers
6k views

How to build a cheap and fanless server [closed]

Any advice about how to build a cheap and fanless server? It's main uses would be web and file servering, but it could be a day when I'd like to add some streaming and mailing capabilities as well. ...
2
votes
6answers
755 views

Under *nix, how can I find a string within a file within a directory?

I'm using ubuntu linux, and I use bash from with a terminal emulator every day for many tasks. I would like to know how to find a string or a substring within a file that is within a particular ...
2
votes
1answer
5k views

How do I use Compiz on Linux to achieve what WinSplit revolution does on Windows?

I've used WinSplit Revolution for quite some time on Windows and have become attached to it. I'm now trying out a Linux OS (Ubuntu 10.04) and would really like to get the same functionality back ...
5
votes
4answers
3k views

SQL like group by and sum for text files in command line?

I have huge text files with two fields, the first is a string the second is an integer. The files are sorted by the first field. What I'd like to get in the output is one line per unique string and ...
1
vote
4answers
2k views

How can I mount a USB drive that's been formatted on a Mac?

Is it possible, using Ubuntu 9.04, to mount a USB HDD that's been formatted on a Mac (HFS+?) How about under windows?
9
votes
4answers
23k views

How do I run vino-server without a monitor attached in Ubuntu 10.04

I just upgraded to Ubuntu 10.04 yesterday on a headless home server. I use the server for a variety of purposes, and what I don't know how to do via SSH I've alway been able to do through VNC. ...
4
votes
2answers
4k views

Linux 'top' utility wildly inaccurate (more so for multi-CPU/core hardware)?

After using top for long time, albeit basically, I have grown to distrust its % CPU column reports. I have an 8-core (quad core Intel i7 920 with hyperthreading) hardware, and see some wild numbers ...
0
votes
1answer
608 views

How can I prevent Firefox from using bitmap fonts at certain zoom levels?

In Firefox 3.6 on Ubuntu 9.10, certain sites seem to use bitmap fonts for any fixed-width fonts, but only at specific zoom levels. This site and other Stack Exchange sites are among the affected ...
1
vote
1answer
477 views

Linux cron job error

I have setup a cron job to run a PHP file every 30 minutes: lynx -source public_html/scripts/file.php The result comes through to an email but seems to get this error: Can't Access ...
1
vote
1answer
829 views

How do I make a video, with some effects, from images?

I want to make a video/slideshow from several images with some effects in Linux! What programs do u recommend excluding FFmpeg?
1
vote
2answers
488 views

where are deleted files kept?

Ubuntu 9.10 I recently deleted some files. I would like to know are the files kept in a directory? Like in windows recycle bin. I would like to know where these files are?
76
votes
2answers
16k views

How to append to a file as sudo? [duplicate]

Possible Duplicate: sudo unable to write to /etc/profile I want to do: echo "something" >> /etc/config_file But, since only the root user has write permission to this file, I can't ...
2
votes
4answers
2k views

What do I do when I get a Linux kernel bug?

I just bought a tiny computer called a fit-pc2 which came with a somewhat customized Ubuntu 9.10 installation. uname -a reports: Linux 2.6.31-34-fitpc2 #7 SMP Thu Apr 22 17:43:26 IDT 2010 i686 ...
2
votes
2answers
783 views

Basic security practices for desktop Ubuntu

Most of us know the basic security practices on Windows: use a limited account set a password disable unused services uninstall bloatware Antivirus / Antimalware etc. I haven't ran linux as my ...
3
votes
3answers
3k views

How are Linux files and applications organized?

I'm a newbie Linux (Ubuntu) user and I'll like to know if someone can give some advices of where to install stuff, which folders don't touch, which is the meaning of each folder and so on. My first ...
2
votes
2answers
239 views

Ubuntu list of packages installed

I am moving to a new laptop with Ubuntu Lucid from an old laptop that has Ubuntu Karmic. I want to look at the list of all the packages and selectively install them all on the new laptop. What is ...
0
votes
1answer
4k views

Windows 7 / Ubuntu Dualboot GRUB Problem

I'd like to first say ahead of time that I'm running a RAID-0 Setup. 1.First of all, I'm glad Ubuntu 9.10 installed flawlessly and detected my RAID-0 setup just fine. The issue I'm having now is that ...
1
vote
2answers
423 views

I tried installing Ubuntu 10.04 and I got this message - any ideas on what to do?

No root file system defined. Please correct this from the partition menu. This message shows up when I first boot into Ubuntu after the installation. I installed it by mounting the ISO with Daemon ...
0
votes
2answers
709 views

X-Window Modeline for high resolution modes on NEC LCD 22WV monitor

What should look like X Window System (X.Org) modeline to be put in xorg.conf, for high resolution (incuding recommended 1680x1050 @ 50Hz resolution) for 22" NEC LCD 22WV monitor? X.Org autodetect ...
0
votes
0answers
146 views

downgrade the system

I have some business to downgrade the kernel in Ubuntu 9.10. I downgraded from kernel 2.6.31-14 to 2.6.26.8. Then I got the following error in my boot process : warning: unable to find a suitable ...
2
votes
2answers
576 views

Core i7 on linux loses its multithreading capability after suspend

On my debian-linux system, with a core i7 920 , each time I resume after the command "pm-suspend" (suspend to RAM), mutlithreading capabilities almost disappear. More specifically, two distinct ...
5
votes
4answers
3k views

How to build or find smallest linux with only LAMP

I have an old P4 computer. I would like to use it as a test LAMP server and a need to find or build smallest LAMP server. I don't need anything fancy. If it can run popular CMS's like Joomla or Drupal ...
9
votes
5answers
2k views

How can I still see the 'man' text after I quit man?

I typically use tcsh or bash and often want to use 'man' to review a command's options. Currently when I quit man or ctrl-C, the man text disappears and I see the scrollback buffer that was there ...
2
votes
2answers
454 views

Do you know of any download accelerator that can resume partial downloads from wget?

I have used wget to try to download a big file. After several hours I realized that it would have been better to use a download accelerator. I would not like to discard the significant portion that ...
1
vote
2answers
87 views

If I exchange the CPU, must I reinstall the OSes? (swapping cpus from one *nix-like to another)

as suggested by the title, I want to change CPU: actually I have two computers, one with Ubuntu running on an AMD Athlon 64 dual core 5200+ and the other with FreeBSD running on an AMD Sempron single ...
4
votes
2answers
123 views

How can I run the same Linux Installation on my hardware and in a virtual machine?

I've started some development that requires Linux (I'm currently on Ubuntu, but I may switch to Debian), but I still use Windows 7 for my day-to-day computing. I have already tried a dual-boot setup, ...
3
votes
5answers
3k views

Using grep to find a string in files

How can I find a string in files in a directory, using file names beginning with the letter a. I also want to get the number of occurrences of this string from the grep I run. I tried this cat * | ...
2
votes
1answer
1k views

Created User in Linux (Ubuntu) Without Creating a Home Directory - Causing Problems

This may be a rookie mistake, but I created a user (new user) in Linux on a Ubuntu system and didn't actually create the home directory for this user. Now, when I log in, it says there are ...
3
votes
1answer
1k views

Install a Program from ZIP File on Ubuntu Not Found Using Aptitude

I have a specific program that I use often on Windows and Mac, but today need to install it on a Linux machine. I downloaded the ZIP file from the vendors website, unzipped it to the Desktop and now ...
3
votes
4answers
4k views

Dual Monitors in Ubuntu

My only issue that is stopping me from moving to Linux is the dual monitor support. If I use TwinView, maximizing an application causes it to take over both monitors, not maximize in the current ...
1
vote
1answer
292 views

How can I determine what gnome desktop number a gnome terminal is connected to?

In KDE's Konsole, I can do the following from the terminal: dcop kwin KWinInterface currentDesktop And it will tell me which desktop my terminal is connected to ( per ...
2
votes
4answers
7k views

How to print Linux command output to a file?

I am creating a script to sync my important documents between two system. I want my script to generate a log file for the last action. can you suggest me a way to achieve this. Question: If I execute ...
4
votes
3answers
102 views

Is there any way to colorize the output of a Linux command?

I'm kind of new to Linux, but I'm guessing that you could pass the output of a program to a particular script and have it display it in various colors, based on some regular expressions (constructed ...
0
votes
1answer
3k views

Find where packages have been installed using rpm

CentOS 5.3 I have been installing some packages using rpm -ivh package However, I am just wondering what command I can use to find the path of where the packages are installed. Many thanks,
4
votes
1answer
2k views

Mouse button and keypress counter for Linux?

I would like to have some kind of statistic of my daily mouse/keyboard usage to help me make my keyboard layout a little bit more efficient. There is already a question about how to do this on ...
3
votes
1answer
526 views

What is the simplest way to build your own .deb package?

Having used Ubuntu for several years now, I've assembled a short list of scripts and packages that I always install on my computers. I would like to pack them up into a .deb to make it easier to get ...
22
votes
4answers
29k views

How do I do a binary diff on two identically sized files under Linux?

I have two identically sized files, and I need to do a binary diff to check whether they're the same. I'm currently runnnig diff file1.img file2.img but it's taking quite a while to process my ...
3
votes
4answers
2k views

How to get the shortest string in a text file with shell

Assume I have a text file as below abcd aaaaaaa gfgk hahahahahahhahh gf Then gf would be returned.Any good ideas?
1
vote
3answers
1k views

Why do I get duplicated entries in my $PATH?

I'm using Ubuntu 9.10 (karmic). And, my ~/.pam_environment looks like the following. PATH DEFAULT=${PATH}:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux GIT_EDITOR DEFAULT=vim ...
4
votes
2answers
528 views

Text files on linux have “<97>” characters

When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters. What control-sequence do I need to type in order to substitute the ...
2
votes
1answer
698 views

fdisk (Linux) partitioning RAID 0

I'm trying to create partitions for a Slackware installation on my computer (beside Windows 7) just to have a nice distribution running mostly for school but when I run fdisk and print the partition ...
5
votes
2answers
7k views

Sharing accounts between multiple computers running Ubuntu Linux

My school has a computer lab full of machines running Red Hat Linux. They have it set up so that you can log into any computer in the lab, and it automatically loads your desktop, home directory, etc, ...
4
votes
5answers
2k views

How to create a Linux Media Server using Ubuntu?

I'm an intermediate Linux user and a relative beginner to servers. I would like some help finding resources on setting up a basic server. I have Googled, and am a member of the Ubuntu Forums, but just ...
2
votes
1answer
195 views

Top/left edges of screen, in Virtualbox, act like bottom/right edges

I have Virtualbox running on Windows Vista, and Debian running inside Virtualbox. Everything's running great, for the most part. Everything looks correct. But when I'm in full-screen mode, the top ...
3
votes
2answers
9k views

Multiple Java environment on the same Linux machine

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine? I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6. I know I could ...
3
votes
3answers
307 views

What do - and # mean in a linux file listing?

In my /var/log directory, I've got these three files (extracted from ls -l) size filename 205198 ntp.log 2446 ntp.log # 4096 ntp.log - The file "ntp.log -" is highlighted in blue. What do ...
2
votes
1answer
2k views

How to memory test in Linux?

I'm planning to test my Linux box and I want to start in memory testing. But my problem is what should I need to test the memory in my linux box? Should I need a tool? Or there are some APIs to use to ...
1
vote
1answer
879 views

How to recover ~1TB data from a bricked NAS?

I bought an IcyBox NAS a little while back, and it recently died on me. I have physical access to the disks inside (1.5TB RAID 1 array), and the box was running a version of Linux. I now have the ...