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

0
votes
0answers
4 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
21 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
0answers
20 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
11 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
23 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
15 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
16 views

Running into an error whenever i use the make command

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 ...
3
votes
1answer
31 views

Where does ext4 store directory sizes?

Where does ext4 store directory sizes? Are they stored in the directory inode? For example, when I run du -h, it returns directories' size instantly, so I don't believe it calculates it at that time. ...
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
91 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
56 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
25 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 ...
12
votes
3answers
371 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
161 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
44 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 ...
40
votes
6answers
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
42 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
23 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
187 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
22 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
10 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
13 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
47 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
31 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
40 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
32 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
50 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
62 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
45 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
30 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
53 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
11 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
33 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
36 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
37 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 ...