Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
2k views

Linux source, where are sys_umount and sys_mount system calls? [duplicate]

Possible Duplicate: Understanding the linux kernel source I am sure that I must be missing something, here. I cannot for the life of me find the source code for these system calls. I can ...
4
votes
2answers
333 views

Sometimes I feel like a directory, some times I feel like a regular file

For organizational purposes I would like a certain filesystem object which most of the time appears as a file, on occasion, to appear as a directory. The basic idea is that generically for cp, mv, ...
0
votes
1answer
541 views

Any LiveCD or LiveDVD Distro whith multi session burning onto LiveMedia

I'm looking for any Distro or LiveLinux for CD/DVD (NOT usb/SD card usage) which does the following: 1) All changes to the filesystem are written to the RAM disk with an overlaid filesystem. 2) Upon ...
15
votes
4answers
664 views

What is new in Kernel 3.0?

I understand this is somewhat less Ubuntu related, but it affects it. So,what is so new about it that Linus decided to name it 3.0? I'm not trying to get information about the drivers that got into ...
0
votes
1answer
145 views

Biostar GF7050V-M7 working with linux?

Do you know if Biostar GF7050V-M7 motherboard works completely with linux?
13
votes
6answers
11k views

How to make a process invisible to other users?

How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users.
3
votes
1answer
1k views

Paritioning Scheme: Arch Linux server & laptop

What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop? My current basic scheme: / [root] ext4 /home ext4 swap I know ...
2
votes
2answers
2k views

How can I get a list of long running processes that match a particular pattern?

I know that I can do ps aux | grep cgi to get a list of all cgi scripts currently running, and ps -p [pid] -o etime= can get me the run time for each pid; is there a way to combine the two, or better ...
8
votes
3answers
3k views

Mounting multiple img files as single loop device

Is there a way to take a disk img file that is broken up into parts and mount it as a single loop device?
1
vote
2answers
3k views

Check the Existence of a Network Interface Card Redhat

I'm aware that I can use ethtool eth0|eth1|eth2 to check the existence of a NIC. But I wonder where the files are on the machine that contain information of an existing interface, as I need to use ...
10
votes
6answers
2k views

CronJob every 25 minutes

I want to know whether there is any easier way to run a job every 25 minutes. In cronjob, if you specify the minute parameter as */25, it'll run only on 25th and 50th minute of every hour
12
votes
2answers
50k views

How to set the resolution in text consoles (troubleshoot when any `vga=…` fails)

It is a common way to set the resolution of a text consoles (that are usually available by Ctrl-Alt-F1 thru Ctrl-Alt-F6) by using a vga=... kernel parameter. I'm using Ubuntu 10.04 Lucid, output of ...
19
votes
3answers
4k views

Standard and/or common directories on Unix/Linux OSes

Coming from the Windows world, I have found the majority of the folder directory names to be quite intuitive: \Program Files contains files used by programs (surprise!) \Program Files (x86) contains ...
3
votes
1answer
293 views

Could someone please explain some of these escape codes?

I'm seeing this in my .bashrc file: PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\ [\033[01;34m\]\w\[\033[00m\]\$ ' and I have absolutely no idea what all those ...
2
votes
1answer
948 views

root password changed automatically

I have my system on dual boot (win7 and RHEL 6). I have 2 user account on RHEL 6. A normal user and a root user. I put passwords of both accounts same. It was working fine from 5 6 days. Yesterday I ...
0
votes
1answer
1k views

Fun, tricky and hard questions for Unix/Linux Admin interview [closed]

I am now preparing process of recrutation for group of Unix/Linux Administrators and I was wondering if maybe you have idea for fun or tricky or hard questions to ask the candidates in order to test ...
7
votes
1answer
3k views

Why does redirection (>) not work sometimes but appending (>>) does?

While studying for the RHCE, I came across a situation where stdin redirection does not work in bash: # file /tmp/users.txt /tmp/users.txt: cannot open `/tmp/users.txt' (No such file or directory) ...
3
votes
5answers
2k views

Directory is not opening with cd command

I have a directory in Desktop named Project. I tried opening it using the cd command but it is not opening. What's the reason? Check the screenshot. The directory has all the required permissions. I ...
6
votes
3answers
3k views

What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?

I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security. After some research from the documentation, this is my understanding of the ...
2
votes
1answer
274 views

Fedora 15 doesn't automatically launch the browser when server starts up?

When I start up the ring jetty server, Fedora 15 doesn't launch the browser as it does in Fedora 14. Instead, it launches a new window in which I couldn't see the address bar and other stuff. ...
5
votes
1answer
708 views

Is there a way to control the delay before shutdown on low battery?

Is there any way to configure shutdown on critically low battery to give me a bit of time before actually shutting down? I've set GNOME Power Manager to shutdown on low battery (hibernating does not ...
4
votes
1answer
789 views

How to get Debian's volume control working with Pulse

I finally configured Pulse to work with every application, however using the volume control on my keyboard still controls the default ALSA selected device. How do I change it so it adjusts the current ...
3
votes
1answer
482 views

Why is there a Debian backport of Linux kernel?

I understand the reason for having a backport is so that you can run newer software on an old system without using newer (and therefore unproven) libraries. That is, the newer software would get built ...
1
vote
1answer
1k views

Can't open the initial console on ARM S3C2440 running utuLinux

I try to mount an NFS filesystem to the target board ARM s3C2440. I've started the NFS service and the portmap service. The server operating system is Ubuntu 10.04. I use minicom to communicate with ...
4
votes
1answer
3k views

How to disable the beep sound system-wide

If I want to disable beep sounds from stuff like bash, I add this line to "/etc/inputrc": set bell-style none Sadly, this doesn't work for some other events like GDM start-up and shut down. I ...
5
votes
4answers
2k views

How to share the internet connection?

An ordinally network topology in picture: In words: - "server" (e.g.: an Ubuntu 10.04 LTS) is connected to the "internet" through pppoe connection - "server" is using it's wireless card in AP ...
2
votes
1answer
491 views

Where does top / gnome-system-monitor get its information about cpu usage?

I am curious where gnome-system-monitor and top (the command line tool) get their information about the CPU usage in %. Could you please explain it to me?
1
vote
2answers
411 views

Multiple dom0's on a single Xen host?

I've recently been researching Xen, and this has come up as a quistion for me. Is it possible to have more than 1 dom0 running on a single Xen host? The reason I ask is that this is very similar ...
0
votes
3answers
281 views

What to change to place text in the centre of the screen [closed]

The following program will clear the screen #include <stdio.h> int main() { fputs("\033[2J", stdout); return 0; } So, what should I modify/add in the above code to put a text string ...
13
votes
3answers
18k views

Find out what processes are writing to hard drive

On my Lenovo T400 and Ubuntu, the light for hard drive writing keeps flashing. I was wondering if in Linux it is possible to find out what processes are doing I/O to the hard drive? Just like by top, ...
2
votes
1answer
520 views

Which Linux distro resembles HP-UX?

I'm looking for a Linux distro (or some Unix flavor...) that is similar to HP-UX so that I practice the command line as well as other things. This is in order to get CSA Certification. Which distro ...
5
votes
2answers
11k views

When a process will go to 'D' state?

I'm using "Linux hostname 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux" All the client machines will use Thin-client ,I will use my laptop for working and I will ...
2
votes
1answer
472 views

How does prelink work

I was wondering how prelinking works. If I prelink my whole system and than delete glibc, will the system 'get up' after restart?
12
votes
7answers
34k views

Problem to launch java at Debian: “error while loading shared libraries: libjli.so”

I'm trying to launch java: $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory $ ldd ...
2
votes
2answers
846 views

How do I reset ownership on /usr/bin/sudo on centOS? [closed]

I accidentlly changed ownership of /usr/bin/sudo to my current user (i also did this for some other stuff in my /usr directory). I can't change any of them back because I need ownership of ...
3
votes
4answers
6k views

File permission execute only

How can I set file to be executable only to other users but not readable/writable, the reason for this I'm executing something with my username but I don't want to give out the password. I tried : ...
7
votes
2answers
2k views

How can I use my TV as a second display over HDMI on Linux at its native resolution?

My TV is a Philips 19PFL4322. It's native resolution is 1440x900 . My laptop's graphics card is a ATI Radeon HD 3650, using the open source radeon driver on X.org server 1.10. If I connect them via ...
8
votes
3answers
3k views

Linux Kernel logical address space organisation

According to "Write Great Code" in almost all OS run time memory is organized into following regions: OS | Stack | Heap | Text | Static | Storage/BSS [In increasing address fashion] User ...
2
votes
2answers
405 views

Fedora 15 i686 report only 2.6 GB RAM

I have laptop Asus N53SV with 4 GB of RAM, i7 with integrated card and dedicated GPU. My problem on Fedora is that system reports only 2.6 GB RAM. I know that I should use kernel with PAE but even ...
2
votes
3answers
644 views

wget batch linux file

I am trying to download images from a manufacturer's site using wget. When I run the command from the shell it works fine. But when I run it from a file I am getting a placeholder file. Here is the ...
5
votes
1answer
3k views

rc.local - not all commands are executed

I have following lines in my rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # ...
3
votes
2answers
7k views

How to disable screen saver and power management in linux by command line?

Is there a command line you can run that can enable in-habitation, disabling computer going to screen saver, sleep?
8
votes
1answer
3k views

How to print from iPad to CUPS?

I would like to print from an iPad2 to the office printer running on CUPS. After following a couple of cookbook style cheat sheets, printing from the iPad still does not work. the iPad sees the ...
13
votes
2answers
4k views

What does raw/unraw keyboard mode mean?

In the magic sysrq key combinations, there is the combination alt+sysrq+r which, according to wikipedia, does the following: Switch the keyboard from raw mode, the mode used by programs such as ...
4
votes
2answers
2k views

change interrupt smp_affinity

As you can see below, nvidia is sharing the intrerrupt and the interrupt is using only CPU0, how can I change the interrupt for nvidia, and how can I make it use both CPU's ? Here is an article ...
1
vote
1answer
305 views

performance on Linux system when daisy-chaining multiple USB hard-drives on USB hubs?

What would the I/O access be like as I plug many USB drives into a Linux system with only 2 USB 2.0 ports and 1 USB 3.0 port? I expect I will have to have multiple levels of fan-out by plugging hubs ...
1
vote
1answer
150 views

What Linux tool will tell me if all the mounted disks share roughly the same bandwidth?

What Linux tool will tell me if all the mounted disks share roughly the same bandwidth? Can I do something like iostat for each of my /dev/sd* devices?
3
votes
1answer
348 views

Pluggin a bunch of USB hard drives into a Linux system?

I've got a Linux system with two USB 2.0 ports and one USB 3.0 port, and I would like to know how many USB hard drives I could plug into it. On the performance side, what would the I/O access be like ...
3
votes
1answer
1k views

Extended attribute on symbolic link

I'm trying to set some extended attributes on a symbolic link on Fedora 15. According to setfattr's usage, there is an option -h for such purpose: setfattr 2.4.44 -- set extended attributes Usage: ...
4
votes
2answers
5k views

Disabling USB ports in Linux

Recently my motherboard's built-in USB ports started malfunctioning. On Windows it said power surge in USB port, and in Linux it says nothing but also in Linux USB ports malfunction. So I installed a ...