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

3
votes
1answer
492 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
2
votes
1answer
602 views

How to monitor per user disk usage in Linux

I have local disk with 2T capacity attached to a host. Nearly 60 user home directories are stored on this disk. Currently no disk quotas are enabled. I need monitor the disk usage of individual ...
0
votes
2answers
1k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods ...
0
votes
1answer
32 views

Overhead when relocating a directory to a different file system using a symbolic link

I need to relocate some frequently accessed files to a different file system. The simplest way of doing this is to move the directory containing the files to the new file system and creating a ...
0
votes
1answer
12 views

Socket and Core information

I am trying to grab no of socket and core information. Till now I found that one socket can have multiple cores. http://rcritical.blogspot.com/2010/09/finding-cpu-socket-and-core-using.html ...
1
vote
1answer
29 views

Analyzing logs offsite, with a different computer

I have a computer deployed with no internet access. I have small windows in which to copy the log directory to a USB stick and analyze offsite. If I pull the logs off of a CentOS / RHEL system ...
1
vote
3answers
3k 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 ...
0
votes
2answers
60 views

Install mplayer on Centos 7

I've been trying for several days to install mplayer on Centos 7 without success, I've install many repos but nothing works, I've always the following error: -> Resolve Dependencies completed ...
1
vote
2answers
46 views

Relations between Linux distributions releases and updates [closed]

I can't explain the relations between updates for every release and the release itself. Let's make an example. Ubuntu has 14.04 LTS and 14.10. Both of them are still supported, so what is the ...
0
votes
0answers
27 views

What is the structure of Linux Stack ? looking for help? [closed]

It's quite random question but I'm not sure how to answer it in specific way the question is What is the structure of Linux Stack ? It looks a tricky or not clear ?
0
votes
2answers
53 views

I seem to be using only some part of my total memory

My Kubuntu laptop $ uname -a Linux jiggs 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux has 6GiB of memory: # lshw -C memory *-firmware ...
2
votes
4answers
107 views

Can't do an SCP pull despite SSH working fine

I have setup key authentication between two servers and I can ssh in without a key, for example: ssh backup@hostname this works fine and logs me in. But when I try an SCP to pull a file, I get no ...
0
votes
0answers
16 views

Kali Linux - Crunch - how to put @ symbol in the created list

I am trying to create a password list as the following: I am writing on terminal. $ crunch 5 5 -t aq\@r% I need the @ in aq@r to show as at, i used to \ character to escape, put it keep treating ...
5
votes
2answers
6k views

How to adjust charging thresholds of laptop battery?

My laptop is Lenovo T400, and OS is Ubuntu 12.04. I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging ...
12
votes
3answers
29k views

How to use GoToMeeting in Linux

My employer wants me and the team of developers to communicate with them using gotomeeting.com service. Is it possible to use GoToMeeting in Debian? I know that officially GoToMeeting supports only ...
1
vote
1answer
101 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
0
votes
2answers
42 views

Redirect script output to /dev/tty1 and also capture output to file

I want to display text output on the console that is always displayed on a small screen on my Raspberry Pi. The following code works for showing that text output: cd ...
3
votes
3answers
53 views

Is swapping enabled by default on common operating systems?

As a result of this question, I was a bit confused. After some research I found that swapping is enabled by default on Mac OS X. Swapping was furthermore introduced in Windows 3.0, so I believe it is ...
0
votes
1answer
30 views

How to fetch source iproute(2.6.32.130) not patches

I want to look at the source of below package. [root@ovs-1 ~]# rpm -qa | grep iproute iproute-2.6.32-130.el6ost.netns.3.x86_64 I tried to install the src rpm as below, it showing below error. ...
0
votes
1answer
38 views

How to search mail logs effectively with `RegEx`

I was looking for some advice and examples on searching mail log effectively Suppose situation is like this -------- Forwarded Message -------- Subject: Fwd: Re: Notice of Allowance Date: Fri, 13 ...
0
votes
1answer
534 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
1
vote
2answers
3k views

How to change the Linux Mint Nadia splash screen?

I was wondering if it is possible for me to change the splash screen when Linux Mint is loading? I am talking about the logo of mint which appears when you start the computer. If so what kind of file ...
1
vote
2answers
24 views

Download updates from peer computer over LAN

As you may have heard, Microsoft announced that Windows 10 will allow you to download updates not just from their servers, but from multiple sources using peer-to-peer over LAN and the Internet. My ...
0
votes
0answers
31 views

Ip route: Routing with two interfaces (only one connected to Internet)

I have this problem: I have a laptop with WiFi and eth. The WiFi is connected to the internet and has the following config: 192.168.1.100 and 192.168.1.1 as gateway The eth is connected in this way ...
4
votes
2answers
856 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
0
votes
1answer
49 views

important changes of linux 3.1 to 3.17 [closed]

I'm doing school research project for Linux operating system and I need help with summary of version 3.1 to 3.17. The problem is, I know very little about Linux and detailed technological terms used ...
12
votes
1answer
12k views

How to convert a shell script into a binary executable?

I want to convert my shell scripts into binary executable so that nobody else could edit or read it. Is there a way to convert it into a binary executable?
0
votes
1answer
41 views

cron job not running after giving command in cron tab

I am trying to run a cron job in linux with following command crontab -e typing the following details and saving it MAILTO="mail@domain.com" 00 01 * * * /usr/local/bin/php /var/www/html/cron.php ...
1
vote
1answer
28 views

Possible to reserve a network interface for exclusive use?

Like the headline says: is this possible in Linux at all? How would one implement a completely silent packet sniffer? I would like to take the interface away and give it back to the OS at will, if ...
2
votes
1answer
202 views

Google Hangouts chrome extension transparency issue in Linux Mint?

I am new to Linux Mint. I just installed the Google Hangouts chrome extension (the one that looks like Facebook's Messenger pop-up heads). Unfortunately, all the circles have a white box around it, as ...
1
vote
1answer
9k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
0
votes
1answer
32 views

How do I execute a parted command with a C function?

I would like to execute the Linux command "parted" through a C language function? I am using Linux Ubuntu , eclipse. Thanks!
1
vote
2answers
129 views

How to restart my java program automatically if it gets killed?

I am running my runnable jar in linux machine (machineA) as shown below. In the runnable Jar, I have a java program which sends email to me every 15 mniutes. ...
1
vote
2answers
35 views

Should I use Linux's acct (BSD process accounting) to track a process behavior?

I have a daemon process (slapd) which sometimes stops with no apparent reason. No segfault occurs. Nothing special in the logs. So, I'm trying to use acct to track the process' life, especially its ...
7
votes
6answers
30k views

exit out of all SSH connections in one command and close PuTTY

Is there a way to back out of all SSH connections and close PuTTY in "one shot"? I work in Windows 7 and use PuTTY to SSH to various Linux hosts. An example of the way I find myself working: SSH to ...
0
votes
1answer
22 views

Centos cannot ping default gateway

I want to give static ip of both my windows server and linux server but when I do this then my default gateway shows Destination Host Unreachable in linux when I ping it in linux. my windows server ...
0
votes
1answer
16 views

user- or group based DNS resolution settings

Can I change DNS resolution settings on a per-group or per-user basis on Linux 3.x? I would like different groups to use different DNS servers and (if possible) different static entries (like those ...
0
votes
0answers
20 views

Detecting filesystem changes without direct fs-support

How do I detect changes (additions, deletions, modifications) to a directory tree without filesystem support (like btrfs snapshots)? I want to list all changes to a specific directory tree on an ext2 ...
0
votes
1answer
63 views

Pendrive not being detected in Ubuntu [closed]

I am unable to see my pendrive in ubuntu. When i reun fdisk -l, i can see my pendrive is connected : Disk /dev/sdd: 16.0 GB, 16008609792 bytes 255 heads, 63 sectors/track, 1946 cylinders, total ...
8
votes
2answers
503 views

Can I save output from a previous terminal command using only the keyboard?

I just spent the last two hours running a dd command (or picture any similar "difficult to re-do" scenario) from a live CD without a GUI; all I have is my trusty "multi-window" (CTRL+ALT+F#) Bash ...
3
votes
1answer
2k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
1
vote
1answer
28 views

Gateway configuration is not working

I have three virtual machines, vm1, gwvm and vm2. gwvm has two interfaces, one connected to vm1 and other connected to vm2. Following image has IP and route details, Here vm1 and vm2 are in ...
1
vote
4answers
311 views

Linux randomly freezing?

For the last few hours, my computer has been freezing at random every minute or so. I'll type some text, and it won't appear until ~15 seconds later, all in one block. It started happening all at once ...
1
vote
0answers
12 views

What is good lightweight GUI library that I can Embed within my application? [migrated]

I have developed a application in Mono.NET which is Console based application due to below requirements - It should be less in size in terms of download. It should be less dependent upon external ...
0
votes
1answer
15 views

Moving Application Configurations to Separate Partition

So by default, most services install their configuration files to /etc/<application>. On my physical systems, I'm using LVM for volume management, and specifically so I can rollback snapshots ...
14
votes
6answers
49k views

Show top five CPU consuming processes with `ps`

How to show top five CPU consuming processes with ps?
1
vote
1answer
32 views

Linux Create user with specials login options

Hello i need create some users with special privilegies that will be: A user that can only login with ssh, no local, it can do anything in pc search, find, etc like a normal user but only with ssh. ...
2
votes
2answers
958 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
1
vote
0answers
25 views

Limit max thread use for multithreaded java app

I have downloaded a .jar file and am using java with it, and it seems multithreaded, which is great ... unless I don't want it to be multithreaded, or unless I want to use only N threads with it. Is ...
0
votes
1answer
31 views

NFS File Mounting error in centOS

I'm trying to mount server filesystem using NFS in centos. But I'm getting Connection timed out error. Below are the steps I followed. At server side: [centos@ip-172-31-46-199 landingzone]$ sudo vi ...