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

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
11 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
27 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? [closed]

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
51 views

How to create a custom Linux distribution? [closed]

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
35 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
11 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
32 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? [closed]

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
45 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 [closed]

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
54 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
66 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
51 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 ...
0
votes
1answer
31 views

Unable to connect FTP: 530 Login incorrect

My account has been created on a LINUX server and I am able to login through putty. I have changed my password also. But, to move a file there, I tried to connect that server through FTP client. I ...
3
votes
1answer
56 views

Configure iptables on remote server without locking me up

I have a little remote server that I can access only with SSH, and what I want to do, is block all the traffic except port 22 for SSH. The first time, what I did was : iptables -P INPUT DROP And ...
3
votes
0answers
12 views

Can I limit total cputime used by a cgroup?

Although cgroups seemingly allow to control the CFS bandwidth of a cgroup, I don't see a way of enforcing a cpu time limit on a cgroup. The use case is that I would like to catch student programs that ...
1
vote
0answers
34 views

Telnet IAC commands

I want to turn off character echoing in Telnet via linux command line by sending "IAC DON'T ECHO" command. I have been searching everywhere, and I couldn't find how to to do. Basically, I don't know ...
1
vote
2answers
39 views

Linux: how to get all login logs from my system [closed]

I want to know all the times a user logs since last year into my system? I used last command but it is not useful.
2
votes
1answer
45 views

Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?

Site: http://www.oucs.ox.ac.uk/network/vpn/linux-solaris/index.xml?ID=VPNC What is open VPNC: VPNC is an open-source VPN client for Linux and other Unix systems which is compatible with the OUCS VPN ...
1
vote
0answers
18 views

Copy a local file to a remote server, non-root privileges over sudo?

I'd like to do something like: scp local_file remote_server:/some_directory But in order to gain privileges to /some_directory, we need to call sudo. I know that a similar question had already been ...
1
vote
1answer
33 views

linux if else fails for some IP's

i am using the following code with if then to mount. It works for some IP's, it does not work for some IP's especially for FAILURE statement. Here is the code is_mounted() { mount | grep -qohw ...
1
vote
1answer
37 views

USB modalias. Meaning of numeric values

For the USB modaliases, I know that the values corresponding to the device's vendor and product ids can be found here: http://www.linux-usb.org/usb.ids Which online resources and/or kernel source ...
1
vote
1answer
43 views

how to determine the max user process value?

Which value is correct?(or they are all correct, but which one will take effect?) $ cat /proc/sys/kernel/pid_max 32768 $ ulimit -a |grep processes max user processes (-u) 77301 $ cat ...
1
vote
1answer
24 views

Can GNU Parallel execute more parallel processes?

Can I for example execute: parallel -j 200 < list0 Where "list" has: nice -n -20 parallel -j 100 < list2 nice -n -20 parallel -j 100 < list1 Would this be feasible/possible?
1
vote
1answer
54 views

What does ^Z mean?

I tried using ^Z to send and application to the background(to then use fg to restore) but I notice that it says "Stopped" and in another terminal while monitoring htop, everything just freezes. Is ...
2
votes
4answers
70 views

Easiest way to chown the contents of a directory?

I often use ls -ld . # remember current user and group chown -R user.group . chown remembered_user.remembered_group . Isn't there an easier way to recursively chown all files and directories in a ...
0
votes
1answer
25 views

Starting GNU Parallel in background?

Is it possible to start GNU Parallel in the background, or somehow, send it to the background? I want to do this so that I can use two commands that run parallel at the same time. And why dont I ...
0
votes
0answers
17 views

How to use UPSTART feature of ubuntu to restart the python script but not as root?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
7
votes
5answers
315 views

How to extract logs between two time stamps

I want to extract all logs between two timestamps. Some lines may not have the timestamp, but I want those lines also. In short, I want every line that falls under two time stamps. My log structure ...
2
votes
1answer
18 views

blockdev --setro doesn't work (for me at least)

I'm sure I don't understood how blockdev works. I going to expose the case here and hope some of you can help me. The case: I have mounted a flash drive and it was mapped to /dev/sdb1. Then I type ...
0
votes
0answers
12 views

PCLOS FM - Kate editor really old version but classic PCLOS has a more current one

I have moved from classic pclinuxos to full monty some weeks ago. With great surprise, I realised that Kate editor is on version 3.12.3 while on the classic Pclinuxos is on much later one. Anyone ...
0
votes
0answers
35 views

linux VM ware + ifconfig

I have linux machine red-hat 6.3 VM machine when I run the command ifconfig -a I see also the interfaces - virbr0 and virbr0-nic what I want to get is only the interfaces eth0 and lo without ...
1
vote
1answer
28 views

Shell script fails to run on startup

I want an executable program to run on startup. For this reason, I created a shell script: /etc/init.d/server. Then I run chmod +x name_of_script and update-rc.d server defaults. server (script): ...
1
vote
1answer
17 views

Where are the files created by “make modules” when building and compiling the Linux kernel?

To build the kernel, I do make menuconfig make make modules For step3, where do the files go? What's the location for modules? Can I change it by using any env variables?
0
votes
1answer
32 views

Which Desktop Linux version can run decently on For P4 & 750MB Ram

I just installed Ubunta 13.10 on an old P4 with 750MB Ram, but the system is running too slow to be used for anything. I had XP running on it and worked fast enough to use, but I decided I wanted to ...
0
votes
0answers
21 views

linux + linux-x86_64-4.8.02.0030-k9-AMD64_ONLY_by_t3x.tar.gz

I am try to download this file: vpnclient-linux-x86_64-4.8.02.0030-k9-AMD64_ONLY_by_t3x.tar.gz from many sites but with un success for example ...
2
votes
2answers
56 views

How to get CPU Percentage as a Counter?

I would like to monitor total CPU utilization percentage as a counter. The reason I would like it as a counter is that data won't be lost between samples (and I can have the graphing side calculate ...
0
votes
0answers
30 views

linux + lib/ld-linux.so.2: bad ELF interpreter + cisco VPN client

I have Linux red-hat machine - kernel 2.6.32 64 BIT I installed the Cisco VPNC client on my Linux machine according to the instruction in the following site: ...
0
votes
1answer
21 views

linux + how to install glibc.i686

I try the following , but I get No package glibc.i686 available. what need to do in order to install the glibc.i686 or maybe other way? yum install glibc.i686 Loaded plugins: product-id, ...
4
votes
2answers
35 views

Faster way to rename duplicate files (identified by fdupes) in another directory?

I have a directory full of pdf files of journal articles, most of which are named by their bibtex key. Some time ago I made a backup on an external hard drive, but I haven't kept it up to date and ...
0
votes
1answer
23 views

searching for sysvinit in a linux tree

This is the tree for petalinux. https://github.com/Xilinx/linux-xlnx/tree/xlnx_3.8 I am looking for sysvinit package,which contains things like init ,halt etc. When this source code is compiled we ...
1
vote
1answer
20 views

Why does parallel slow down after a while?

I'm executing 60 scripts with GNU parallel(they all have wget commands in there)but I have noticed that after a few hours execution will slow down a bit. What could be causing this? I'm executing ...
0
votes
0answers
19 views

Ubuntu + CISCO VPNC CLIENT for my new ubuntu version (32 bit )

I have newest Ubuntu Linux version 10.04.4 (32 bit ) I want to install Cisco VPNC client on this linux machines in order to connect to other customers I little confuse , which VPNC cisco version ...
0
votes
0answers
53 views

has someone fixed libssl.so.1.0.0 undefined symbols'SSL_load_error_strings' issue or know how to fix

looks like there's a broken libssl build which is missing items python CGI needs to work. I'm getting this error ...symbol SSL_load_error_strings, version OPENSSL_1.0.0 not defined in file ...
0
votes
0answers
15 views

OpenLdap phpLDAPadmin restrict record deletion OR delegate password reset permissions for IT staff

I would like to restrict phpLDAPadmin task such as removing the deletion of a record feature. I tried to look up to figure out if there is any settings or value can be setup to disabled these task but ...