Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

4
votes
6answers
1k views

I accidentally removed /var/www/ on my Linux server

I ran rm -drf on my web server and accidentally removed everything inside /var/www/. Of course, it had everything for our website in it. How can I undo this? Or is it possible to restore it to a ...
5
votes
2answers
3k views

Slow down the CPU

I tried to slow down my CPU with powernowd and cpufreq-selector. I hoped that with lower frequency it will be less hot and I won't hear my fan every time I will run internet radio. I used the ...
0
votes
7answers
2k views

Need advice to install Unix-like OS on my Laptop

I'm a CS undergraduate, and I'm a newbie to the Unix-like OSs. We used Fedora in our labs, but I've not mastered it. I've installed Windows 7 on my laptop and I want to install this Unix-based OS. ...
17
votes
9answers
81k views

How to remove all the files in a directory?

I am trying to remove all files and subdirectories in a directory. I used rm -r to remove all files, but I want to remove all files and subdirectories, excluding the top directory itself. For ...
4
votes
4answers
10k views

How do I start the fan manually in Linux?

My fan doesn't run in Linux. I'm worried that the laptop might turn off if the temperature gets critically high. I ran the following command: dmesg | grep -I fan This gave me: ACPI: Fan [FAN0] ...
11
votes
3answers
9k views

How to change partition UUID (2 same UUID)?

I have a fedora guest OS in VMware. I want to expand /boot partition, so I add another virtual disk to this VM, and try to clone the disk. After dd if=/dev/sda1 of=/dev/sdb1, blkid report that ...
4
votes
1answer
290 views

Where did Trampoline.S go?

Dear all, I was wondering where the trampoline code went. It is referenced here, and I could find some code in an earlier distro, but I can't find it in the 2.6.38 kernel. Can you explain to me the ...
3
votes
3answers
677 views

i want to save the result of one command in a file

I am using cppcheck tool to analyze source code. At the shell prompt in gcc compiler, I have given the command as follows $ cppcheck abc.cpp The output is checking abc.cpp... (error) ...
4
votes
3answers
2k views

Intercept input and output from specific executable

I have a certain Linux executable that is called from a bigger application to perform some calculations. I want to modify the way the calculations are performed, for that I first need to understand ...
1
vote
1answer
3k views

How to set username/password in Firefox when using proxy with auth?

Where could I set the username/password if the HTTP/HTTPS proxy requires it? Is Firefox securely storing the username/password?
2
votes
3answers
1k views

Notational Velocity on Linux?

Is there a Linux equivalent of the note-taking software Notational Velocity?
2
votes
1answer
969 views

CentOS 5.6 x86 64 Not seeing all my memory

So I installed CentOS 5.6 on a box at my house and it is not recognizing all my memory. I have 2gb in the machine but when you run a 'free -m' or a 'top' or a 'cat /proc/meminfo' it only shows that ...
2
votes
3answers
1k views

How can I change the shutter speed of my webcam in Linux?

how can I change the shutter speed of my webcam in Linux? I'm using fedora 14
1
vote
1answer
2k views

Debian Live - modprobe failed to bring up Broadcom ethernet interfaces

I have a Dell 710 with Quad Bcom NetExtreme 5709s. In the name of expediency, I'm trying to boot off the Squeeze live CD, but the Broadcom drivers are in non-free, so they don't come up when you ...
1
vote
2answers
773 views

Hardware to install 64-bit OS

If I search on Internet for minimum requirements to install a 64-bit operating system, Microsoft and allied forums recommend 4 GB RAM as the minimum criteria. On the other hand, when I look at Linux ...
23
votes
6answers
96k views

How to determine Linux kernel architecture?

uname -m gives i686 and uname -m gives i686 i386 output in Red Hat Enterprise Linux Server release 5.4 (Tikanga) machine. I need to install Oracle Database 10g Release 2 on that machine. So, how can I ...
2
votes
4answers
938 views

Why is NetBSD the most stable OS here? [closed]

Please check figure 2 in this page: Linux versus Windows: OS impact on uptime and speed Why is NetBSD the most stable OS here?
4
votes
2answers
2k views

Distro recommendation for “Out The Box Multi Touch Tablet Support”

I have a Dell Inspiron Duo - The tablet netbook, the 1090. It's beautiful, and I want to get the most out of it. I don't mind digging deep into a distro and installing patches and such to get ...
3
votes
2answers
247 views

Spawning GDM/Display manager within already existing X11 session

I know that this is possible, I've seen it done, but I've forgotten the command. Basically, what I want to do (for various reasons) is to spawn a GDM/Gnome/etc session (a new one) from within my ...
1
vote
2answers
789 views

Problem installing JDT in Eclipse on linux

I installed Eclipse on Fedora Core 14 using yum install eclipse-platform. I ran eclipse and tried to install the java development tools, but then this error came up: Cannot complete the install ...
0
votes
3answers
1k views

IP Tables / netfilters and modules

I am trying to understand how firewall works in linux... I have read documentation but i am not sure about some things.... Netfilters is included in the modern kernels which allows you using hooks ...
5
votes
1answer
903 views

Tracking huge buffer usage under Linux

I have a Linux server running under Debian Lenny with 4Go of RAM. It doesn't run much, just: Postfix/spamassassin (daemon mode) Bind9 KVM (one guest - 1Go of RAM for it) Every day at exactly 3:05 ...
9
votes
5answers
35k views

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application ...
1
vote
1answer
958 views

Temporary Permissions when installing DokuWiki?

I'm trying to upgrade to the latest version of DokuWiki, and I'm finding that the easiest way to do this is to install the upgrade plugin and just click a few buttons. But there are permissions ...
0
votes
0answers
71 views

Which are the biggest offshoots of UNIX? [duplicate]

Possible Duplicate: Evolution of Operating systems from Unix I've seen the giant UNIX family trees, and I'm trying to figure out. If you were to classify its offspring into major ...
2
votes
2answers
793 views

How to decide on a partitioning scheme?

I am changing my current partition scheme (personal development laptop, dual boot) to remove the Windows partition and leave only my Slackware64 instance. What thought should go into my partitioning? ...
12
votes
7answers
8k views

What's the best way to format a HDD in Linux in order to leave no trace?

I'm running Debian and need a way to format the entire hdd in order to not leave any trace on it because I want to donate it to a friend. So what will be the best way in order to format it? If I ...
1
vote
1answer
540 views

Linux hardware: Apple Magic Track Pad Alternatives

I'm using Linux as my main OS for few years. Before month or so, i tested apple magic track pad and i loved it since i am using laptop touch pad more than a mouse, it requires less movement of hand ...
35
votes
4answers
4k views

unix, difference between path starting with '/' and '//'

In unix/linux, any number of consecutive forwardslashes in a path is generally equivalent to a single forwardslash. eg. $ cd /home/shum $ pwd /home/shum $ cd /home//shum $ pwd /home/shum $ cd ...
4
votes
4answers
17k views

Linux file access monitoring

Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How ...
1
vote
3answers
4k views

How to kill a printing job on centOS

How does one kill a printing job on centOS?
1
vote
2answers
162 views

Linux/Firefox- snapping open tab from another machine

Is there a way to snap the currently open tab(s) on Firefox (or any other browser) on Linux? I have full user access to that machine...
0
votes
1answer
47 views

Configure webserver for compression

Based on this page: http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression I need to enable compression on my website, but I have no idea how to do this. If this is the right ...
11
votes
4answers
964 views

How exactly do people “crack” Unix/Linux Systems?

No im not looking to become a cracker or something like that, but Im trying to figure out the process (more from a programming perspective). So im assuming (guessing) a cracker's main goal is to gain ...
1
vote
1answer
739 views

Debian (Gnome): unable to login

I am new to Linux, installed Gnome, and unable to login, as only root is set, and disabled, I think after reading on the Internet. Now how do i get back to the command line, at least so I can deal ...
1
vote
2answers
804 views

Create url link in menu

How can I create a menu item that points to a URL? I've tried creating a mylink.desktop entry like this: [Desktop Entry] Encoding=UTF-8 Name=My Link Name Icon=my-icon Type=Link Categories=Office; ...
1
vote
1answer
451 views

Queries about top command

top command shows the process cpu utilization, and it when we sum the cpu utilization of all the processes then it goes greater than 100%. And how can it shows the cpu utilization of each process( ...
4
votes
3answers
910 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...
3
votes
2answers
5k views

How to change temporarily font size in text console in openSUSE?

I found several answers already but all of them are focused on changing size for good, i.e. at Lilo/Grub level. I don't want this though. So, key issues: changing size on-fly, I would like to ...
1
vote
5answers
611 views

No response on a Linux machine

I am using centOS, sometimes the system just does not respond at all. In windows box, I can ctrl-alt-delete. On a Linux machine, how should I handle this?
2
votes
1answer
3k views

How to troubleshoot udev not creating /dev/hda3 on gentoo boot?

My old gentoo laptop seem to have an issue with udev probably due to me updating software using emerge, upgrading udev+kernel, getting some messages "do these things after upgrading udev/kernel" and ...
0
votes
1answer
99 views

Latest pidgin installed, but still seeing old version

I have installed a new version of pidgin, 2.7.11. In my linux system's application manager this pidgin is the only version selected. But when I open pidgin, the older version (2.7.8) appears. When i ...
4
votes
4answers
704 views

Parsing log files

I am trying to develop a system statistics tool for Ubuntu that will store data about resource utilization of processes/users. I am storing these data in my own log files like ...
4
votes
1answer
2k views

What options are there for tuning Linux file system caching?

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.
4
votes
2answers
6k views

What is the difference between 32-bit PAE and 64-bit kernels?

I ask this only in regards to memory addressing. I know that a PAE kernel allows the OS to access more memory than a standard 32-bit kernel, however, what are the other implications? What specific ...
4
votes
1answer
2k views

Disable random memory address generation in my programs

I'm reading "The art of exploitation" and would like to try some experiments, including reading from and writing to various memory address. I've created some simple programs and trying to overwrite ...
25
votes
2answers
9k views

What mount points exist on a typical Linux system?

I have 2 questions. During Linux installation we specify memory space for 2 mount points - root and swap. Are there any other mount points created without the users notice? Is this statement ...
3
votes
1answer
1k views

Full disc encryption with GRUB2

Does anyone know of a good Howto on how to fully encrypt a HDD (even the /boot!) with GRUB2? Is it possible using fedora 14 or ubuntu 10.04?
2
votes
1answer
61 views

2 distros/1 PC: can I suspend one of them, then boot into the second one?

There are 2 linux distros on my pc: an ubuntu 10.04 and a fedora 14. If I suspend e.g.: the ubuntu are there any chances that I can boot into Fedora? Or that's impossible because the suspend uses the ...
3
votes
4answers
2k views

Private VLAN's under Linux?

http://blog.ine.com/2008/07/14/private-vlans-revisited/ Has anyone tried private vlan's under Linux? Any experiences with them? My real question is does anybody have howtos regarding this?