These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

1
vote
0answers
101 views

what does the linux standard base specify about the kernel?

I was taking a look at the Linux standard base (lsb) and could not find much interesting info on the kernel. Does the LSB specify anything at all about the kernel or kernel interface? Is it kernel ...
0
votes
1answer
548 views

What is the meaning of “\_” in output of 'ps ef'?

When I executed ps ef command in a linux server, I saw that one of the command starts with \_. For example, \_ /bin/sh /usr/ Could any one please let me know what is the meaning of \_ in this ...
1
vote
3answers
4k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
10
votes
1answer
25k views

How to get proccesses currently running semaphores by /proc?

I wonder how to get processes currently running semaphores by /proc ? I guess it's possible by SysVIPC subdirectory.But I don't know how to use this commands. Ubuntu 12.10
9
votes
1answer
624 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
6
votes
3answers
2k views

Can I pipe any two processes to each other?

In this page from The Design and Implementation of the 4.4BSD Operating System, it is said that: A major difference between pipes and sockets is that pipes require a common parent process to set ...
2
votes
1answer
508 views

ssh/scp works but rsync just constantly says “no”

Hi I have a windows 2003 server that I need to back up onto a linux client so I install cygwin on the Win2k3. On the Win2k3 I have enabled ssh, scp but (because the Win2k3 server uses an customised ...
5
votes
3answers
12k views

RHEL: Creating stable names for network interfaces

We have a RHEL 5.5 box with 8 interfaces. And the eth interface naming is flip flopping. Sometimes eth0 comes up on physical port 7th, and sometimes on another physical port. We want the naming to ...
2
votes
2answers
113 views

Can I use partitions made by Windows 7 in Linux?

I am planning to leave Windows and get to Linux (yet do not know which one, but it is not the question). I was using Windows 7, I have 2 partitions (C:198 GB, D:488 GB). And I have a lot of documents ...
6
votes
1answer
5k views

Keep same file owner for newly created files

This question is regarding samba file access. I have created a folder A, and under folder A created two folders B and C. And also created three users A, B and C. User A has access to all three ...
2
votes
1answer
245 views

Adding a user to a group by default

I have a group that all users on the system share. The group name is common and it is to allow for a universal fileshare for everyone on the machine. How would I make it so that all new users are ...
4
votes
2answers
5k views

Specify the sort order with LC_COLLATE so lowercase is before uppercase

Given the file: $ cat file 1 a C B 2 c 3 A b By default sort will: $ sort file 1 2 3 a A b B c C With LC_COLLATE=C so will sort in uppercase letter before lowercase: $ LC_COLLATE=C sort file 1 ...
1
vote
0answers
1k views

Install Linux Mint 14 from CLI

I'm trying to install Linux Mint 14 from a live cd on a HP Pavilion laptop. I got some problem with X and the nvidia card, which prevents X from starting (and therefore prevents the live installer ...
-2
votes
1answer
65 views

How I should load file with setkey -f

I would like to load a text on Fedora. I use this command: setkey -f "name" but the file cannot be found. I have the file on my desktop.
5
votes
2answers
400 views

Which was the very first music player application for Linux?

I'm writing an article about FOSS and Linux music players. What was the very first music player application for Linux? Was there ever a time when the players didn't support proprietary formats like ...
3
votes
4answers
3k views

Dual boot - Kubuntu and Windows 8 - how to?

I recently installed Windows 8 on my computer. These are the specs: Fx-8150 CPU 8 GB RAM ATI HD7870 120 GB SSD 2 TB HDD Mainboard: Gigabyte GA-970A-UD3 (rev 1.1) (only bios but EFI mode possible ...
2
votes
1answer
682 views

Dependencies problem with automake

I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files. The issue comes when I try to compile the sources using the generated Makefile. One of the sources ...
2
votes
2answers
117 views

Auditing Linux: tell me to what IPs a connection was established

I need a command, or something that runs as a cron job, that logs what IPs my machine is communicating with, what ports, and what process did it.
1
vote
3answers
63 views

“Packing” linux up onto USB drive

I have been using my Linux Mint Nadia for some time and customized it a little, I was wondering if I can "pack it" onto a USB and make it into an ISO which I can boot on another computer and it will ...
0
votes
1answer
989 views

Installing a secondary drive in CentOS 6

I am new to Linux and CentOS so I may not be sure of the exact question to ask. It may be best for me to tell you what I have done. I installed a secondary 500gb HD to use for file share storage. I ...
0
votes
1answer
849 views

When running a terminal, I get the default bash prompt

Whenever I run a terminal in Linux (Centos), my console line starts with: bash-4.1$ During the Centos installation, I created a user 'mark'. Later on that day, I needed to change the name to 'john' ...
0
votes
1answer
65 views

How to remove a package for the current user?

How can I remove a package for a given user but leave it installed so that other users can still access it? I'm using Ubuntu 12.10.
21
votes
2answers
10k views

How to blacklist a correct bad RAM sector according to MemTest86+ error indication?

MemTest86+ (the version included with Ubuntu 13.04) says Failing address: 002f796c48 - 759.5 MB What should I specify in the memmap kernel parameter to bypass this area? I've tried running ...
3
votes
3answers
769 views

files in /proc/$PID (e.g. ssh-agent, Chrome) are not owned by user but by root

I am just answering another question here :-) and thus had a look – wanted to have a look at /proc/$PID/fd of ssh-agent in order to find out which socket it uses. But I can't. I am quite surprised to ...
2
votes
1answer
1k views

Missing icons in Nautilus

I've installed Fedora 18 (x64) minimum and I installed Enlightenment with Nautilus. But I see that there are icons missing in Nautilus, I have selected the gnome icon theme so I must be missing some ...
10
votes
2answers
456 views

What are these commands for?

Yesterday I had to install a Windows with its Grub override. Well, it's not the first time I had to fix Grub, so I used LiveCD, mounted the root partition (I don't have boot, just / and home) and ran ...
3
votes
2answers
289 views

Clarification regarding behavior of shell script along with pipe

I need help understanding the behaviour of the following shell script. #!/bin/bash echo "First more" more $1 echo "First echo" echo $1 echo "Second more" more $1 When I run the following command: ...
2
votes
3answers
315 views

/dev/console points to tty0?

I've been trying to understand the /dev/console device, but there are a few things I'm not clear on: What is the purpose of this device? From what I can gather it's just a place for the kernel to ...
0
votes
1answer
295 views

LPIC-1 for non-professional experienced user

I am interested in trying out the LPIC-1 certification however I am slightly worried that I may not have the needed professional experience to pass. I am still studying hard and running a lab with a ...
13
votes
3answers
7k views

How to safely replace a not-yet-failed disk in a Linux RAID5 array?

I have a software RAID5 array (Linux md) on 4 disks. I would like to replace one of the disks with a new one, without putting the array in a degraded state, and if possible, online. How would that ...
2
votes
1answer
285 views

grub2: how to bypass “press any key”?

I recently updated my motherboard and moved my grub2 onto EFI partition. I have same grub menu, but after I select a menu entry and press Enter, a message "Press any key" comes and the loading stops ...
7
votes
1answer
3k views

Explain EV in /proc/bus/input/devices data

Can anybody explain to me what the EV value in /proc/bus/input/devices is? The keyboard always has value 120013. Why?
2
votes
2answers
2k views

Crunchbang as an optimal OS?

I have a small netbook that I've been using for all of my learning to program/learning to *nix needs. It is pretty underpowered (1gb RAM, 1.66hz processor) and has a dire battery life (under an hour ...
1
vote
2answers
2k views

linux + match IP ADDRESS with 3 octets or with 4 octets

how to match IP address with 4 octets or with 3 octets in one command? target - match xxx.xxx.xxx or xxx.xxx.xxx.xxx ( syntax should fit for Linux and Solaris ) how to merge the following commands ...
-1
votes
3answers
522 views

Is there a way to 'authorize' a command typed in by a user?

is there a way we can authorize a command typed by a user before it takes effect? For example, when a user types cp file1 file2, the command will not be executed and a root / root-equivalent user ...
1
vote
2answers
635 views

How many files is equal to 1 inode

I am quite confused about the i-nodes. They say delete files to reduce the i-nodes but I have deleted 100s of log files from different cpanels on my server but inode count is still the same.
2
votes
1answer
535 views

Integrating custom kernel module into Debian

I've built a kernal module from source and now would like to load the module at boot. The .ko file is in the build directory in my user folder, and I know it works because running insmod ./vizzini.ko ...
0
votes
1answer
918 views

debian cannot install kernel source

I want to use debian linux for my laptop again. So I took my old debian 6.0 cds and installed it. From the last time I know, that I have to build the driver for my Atheros AR8151 Gigabit Ethernet ...
4
votes
2answers
1k views

Increasing Accuracy of Synaptics Touchpad - Arch Linux

Here's my current problem with my Arch Linux installation. The touchpad is horribly inaccurate. And by that, I mean, I cannot click links without having to sway back and forth. I've been resorting to ...
3
votes
2answers
285 views

Reading from a serial interface

I have a serial device running which I need to read data from(I have absolutely no control over the device itself) except reading its output; using hyper terminal in Windows I am able to detect a ...
6
votes
2answers
553 views

Decode Flags for Kill Command

I am new to Shell Scripting. I saw this Command on a Book for Linux shell Scripting $ kill -HUP 1234 >killout.txt 2>killerr.txt I know what the command does, but i am not able to understand ...
0
votes
1answer
219 views

nohup and screen not working when running program in background?

I don't why but my screen command running on server is stopping on its own. Therefore I tried to use nohup. e.g: nohup bzcat a.bz But when running nohup it is giving me nohup: ignoring input and ...
2
votes
1answer
142 views

What is the relation between the Linux device drivers “domains”?

As I'm reading about the Linux device drivers and power management API I keep encountering terms like "system level", "subsystem", "platform", "class", and so on. What is the relation between them? ...
1
vote
2answers
1k views

Unable to chown recursively

I'm using this command: chown root:www-data /var/www/example.com -R but I get an error message that the directory is not listed. What is wrong?
0
votes
1answer
4k views

How to format large Size HDD quickly

In windows we can do a Quick format just by right clicking the device and boom format. In linux How to do the same I mean if the size of HDD is 2TB or more it takes along time to format using ...
1
vote
0answers
817 views

davfs2 keep files cached longer

I'm using davfs2 to sync with my box.com account and I'm trying to play with the cache settings to get more Dropbox-like functionality. I've noticed that after I don't open a file for a little while ...
25
votes
2answers
2k views

How frequently is the proc file system updated on Linux?

How frequently is the proc file system updated on Linux? Is it 20 milliseconds (time quantum)?
2
votes
2answers
1k views

Get network information through Ubuntu Terminal

Is there a command where, when entered outputs information such as: If the network connection is wired or wireless if it is a wireless network, the name of the wireless network How strong the signal ...
3
votes
1answer
1k views

cleaning /dev/md0 filesystem ( raid) [closed]

I have a CentOS server using raid. The /proc/partitions contains: major minor #blocks name 8 0 976762584 sda 8 1 104391 sda1 8 2 921600855 sda2 8 3 55054755 ...
3
votes
1answer
4k views

What's the easiest way to decrypt a disk partition?

I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...