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

2
votes
2answers
27 views

How can i get the version pgrep & pkill commands?

I looked at the manpages and there is no -v or --version argument for pgrep or pkill. How can i get some info on the version? I'm asking because on my version of ubuntu man pgrep is giving me a ...
-1
votes
2answers
23 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
4
votes
4answers
32 views

Rebuild damaged system directory (for example, /lib)

Let's say I have a Linux system, either Debian, Ubuntu, or CentOS, where a user removed /lib, for example. Let's also say that I managed to boot this system with a livecd version of whatever OS it was ...
-1
votes
0answers
37 views

Debian - how to find out why a lot of services stopped

I'm using a VPS WebServer with a preconfigured environment: Debian 6.0.5 Apache 2.2.16 PHP 5.3.3 MySQL 5.1.66 pure-ftpd Python 2.6 Postfix Dovecot Spamassasin Clamav Webalizer phpMyAdmin 3.3 ...
1
vote
1answer
28 views

how can I change what the command “apt-get update” looks for when executing the update?

Forgive my incompetence I am still new to GNU/Linux. I use Debian wheezy. When I type apt-get update I get this at the end W: Failed to fetch ...
0
votes
1answer
13 views

Using WiFi port as redundant link

I want to use WiFi port of my server as redundant link for copper connection to my home DSL router. My router if SAGEM 2704 with very limited functionality. So practically the only possibility is to ...
0
votes
0answers
17 views

Compiling sample SFML program problems

I'm trying to compile the first sample program that comes with sfml on Fedora. First it told me that I needed to link all of the libraries properly but then I got it all configured and now I'm stuck ...
5
votes
1answer
26 views

How the network packets are transferred to the memory on linux?

Is there some command or tool for monitoring network packets and how those packets are handled by the memory and than proceeded to the CPU on linux platform? Using tcpdump I can capture many apache ...
3
votes
1answer
25 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
1
vote
0answers
12 views

How do I manually install the XPM library?

I'm wanting to install SWI-Prolog, however my linux box (more like a tuna can; it's a RasPi) isn't connected to the internet, so I can't just do sudo apt-get install libxpm-dev How can I do this ...
2
votes
0answers
35 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. To that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device. But every time when I plugged that USB 2.0 device into that USB 3.0 port,system ...
3
votes
0answers
20 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
1
vote
1answer
20 views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
0
votes
1answer
21 views

Creating operating system (OS) user in Oracle LINUX

I am a user with sudo access. To install MySQL, I have to create an operating system (OS) user called MySQL. Can I create a user which also has sudo access on this machine?
4
votes
1answer
38 views

Does pipe's link target exist somewhere in the filesystem?

I'm talking about this: $ readlink <(echo test) pipe:[80076194] Is pipe:[80076194] a path to the target or just indication that the file descriptor is connected to the pipe and doesn't exist in ...
2
votes
2answers
99 views

Are system calls the only way to interact with the Linux kernel from user land?

Are there any other interfaces, e.g. the /proc filesystem?
0
votes
0answers
18 views

cupsenable,reject commands asking for password for root? [on hold]

I am a root user still cupsenable or reject commands ask for password.Restarting cups solves the issue for a sec but after few seconds i get the error again. This issue is happening just now and i ...
3
votes
2answers
59 views

Tool to force use FILE instead of RAM

I'm wondering why there is no such tool like ram2swap, similar to cpulimit in parts. E.g. There is program daemon.bin. Let's create temporary swap file ( 1 Gb ): % dd if=/dev/zero of=tmp.swap ...
0
votes
1answer
31 views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
13
votes
3answers
383 views

Move files and change ownership at the sametime

On Linux (Debian, Ubuntu Mint...), Is there any option command or something that I can use to transfer files to another user without having to do : sudo mv /home/poney/folderfulloffiles ...
3
votes
2answers
163 views

Redhat Linux: How to know my system configuration?

I am using Red Hat Enterprise Linux Server release 5.9 (Tikanga). For installation of any application, it is very important to know the system configuration, is it 32 bit or 64 bit system, Installed ...
4
votes
0answers
49 views

CHROOT : Unable to view mounted directories

I posted a question on stack overflow, but I was told that my question was more relevant to this section so I thought I'd repost it here. Here is a quick description of what I have done: I have a ...
42
votes
7answers
2k views

Does `sl` ever show the current directory?

For those out of the loop, sl is a humourous command line tool that is meant to trip people up if they mistype ls. When invoked it prints a Steam Locomotive. For example: ( ...
1
vote
1answer
23 views

Easiest way to mount Google Cloud Storage in CentOS

we use centos for some hosting projects, but nut very expertise with systems. We pretend to use a main CentOS box to mount an "unlimited" Google Cloud Drive and then share it via NFS to the rest of ...
3
votes
1answer
43 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
0
votes
4answers
76 views

Unwanted console text

For some reason, every time I plug in a USB device, a whole bunch of messages get dumped onto the terminal. (Saying something about device IDs, buffering modes, etc.) How to I prevent this from ...
0
votes
1answer
32 views

What is a master mode? [on hold]

I want to know what's the difference between "master mode" and "managed mode" and the advantages of each one !
-2
votes
0answers
9 views

How can I use hostapd and scan the wireless interface at the same time? [on hold]

When I run hostapd in a wireless interface I cannot use the same interface for scanning networks.
1
vote
1answer
24 views

setquota fails silently

I'm trying to set a file system quota for a bunch of users on my system with a command like: setquota -b /mntpnt < /file/with/quotas This seems to work for almost all users. However, when I do ...
1
vote
1answer
22 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
1
vote
1answer
36 views

Uninstall Linux on an embedded board

I am using an embedded board, a FOX G20 V with an ATMEL AT91SAM9G20 processor. I would like to know first of all, which specific linux version I am using on this board, but also, how to remove it. ...
2
votes
5answers
189 views

How to know which Linux and which version I am using

When I run cat /proc/version command in terminal, I got below output: Linux version 2.6.18-348.1.1.0.1.el5 (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP ...
1
vote
1answer
41 views

How to find the true disk usage on my Linux box?

I have a linux box on my school's server. When I was trying to install Protocol Buffers, disk usage is reported as exceeded. So I checked my disk usage by two command on my home directory: du -h ...
0
votes
0answers
9 views

Unable to link with shared object file

I am trying to generate traces of GPGPU benchmarks on X86 cpu using GPUocelot. For this reason, I am compiling the benchmarks with -locelot and -locelotTrace linker flags. My benchmarks compile and ...
3
votes
1answer
24 views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
0
votes
0answers
11 views

Convert rgba color value to a Terminal supported color

Randomly I will take the following example: rgba(122, 143, 186, 0.54) How can I convert this color to the closest Terminal supported color?
0
votes
0answers
14 views

Can I use KDevelop + GCC + KGDB to develop Linux modules at source level? [on hold]

Though I've been programming Windows NT kernel device drivers for 10+ years; I'm brand new to Linux module development. Under Windows NT, I can use WinDBG to visually debug my device drivers at ...
0
votes
0answers
14 views

What's the difference between LPIC-1 version 3.5 with version 4.0.0?

Can someone please explain to me what's difference in chapter headings on LPIC-1 version 3.5 and LPIC-1 version 4.0.0 ? May introduce me some good and comprehensive book relate to LPIC-1 version 4.0.0 ...
-1
votes
1answer
48 views

How to create a custom Linux distribution? [on hold]

Can any one tell me the easiest way to create a system with live cd with installing function. Which can install backtrack all tools?? I need to create a custom boot animation and everything!
4
votes
1answer
32 views

Writing a suspend-aware program in linux

Programs that depend on physical time, such as jackd and its clients, do not play well with software suspend of a laptop in linux. I would like to fix a client that starts issuing plenty of "timing ...
1
vote
0answers
9 views

A Way Around: Host Accessing Guest in Internal Network?

folks. I have installed a Linux virtual machine in VirtualBox with 2 adapters: vnet0 is a host-only network and vnet1 is an internal network. I am able to get the IP address given by vnet0. ...
1
vote
2answers
31 views

How do I resolve an apparent hanging update process

I am trying to update an instance on AWS. I have little familiarity with linux in general. However, I did run the command on my Ras. Pi first and had no problems. However this is the second time ...
-1
votes
0answers
22 views

Good book for tuning/optimizing Linux? [on hold]

I am looking for a good book to learn how to optimize/tune Linux, which also explains how/why the recommendations makes the kernel perform faster. I did find this book, Optimizing Linux Performance: ...
2
votes
1answer
23 views

Reboot when there is a hardware failure without physical access to machine?

I'm getting this error message whathever I do: $ sudo reboot bash: /usr/bin/sudo: Input/output error $ reboot bash: /sbin/reboot: Input/output error It's a hardware failure according to this ...
2
votes
1answer
41 views

Why I sometimes see “INIT: version 2.88 reloading” in the console?

As far as I understand, the init should automatically restart when I update the package with init or some dependency like libc6. Why I see INIT: version 2.88 reloading in console without having ...
0
votes
0answers
33 views

How do I start studying The Linux Programming Interface book [on hold]

I bought myself "The Linux Programming Interface" book from Michael Kerrisk. I am a .NET developer who wants to broaden his horizon. But how do I start with it? Reading cover to cover will not stick ...
1
vote
2answers
52 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
1
vote
1answer
60 views

How to check for a folder inside a particular folder in shell script?

I am working on a shell script and python script as well. Python script is passing certain parameters to my shell script and then I am using those parameters in my shell script. Below is my shell ...
0
votes
2answers
64 views

How to determine eth0 gateway address when it is not the default gateway?

In my system I have eth0 (which may or may not be connected) and a modem on ppp0 (which always may be up or down). The the case where both interfaces are up and ppp0 is the default route, I'd like to ...
0
votes
0answers
47 views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...