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

2
votes
1answer
969 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
2
votes
4answers
667 views

How to change color of a character while tailing and tr

I regularly use this command line but I would like to change the color of the "|" to green in the output. Does anyone know how I can accomplish this? tail -f file.log | tr '\001' '|' | grep TEST
2
votes
1answer
261 views

GPS Device Attached to Linux Mint 15

I purchased a Silvercrest GPS device from Lidl recently, but the software that came with it is a tad "underpowered" to say the very least and has no Linux support. I'm attempting to get at the raw ...
3
votes
1answer
1k views

Hardware Timestamping using PTP

I'm new to Linux programming. I have an Intel NIC with e1000e driver. I'm working on accurate time stamping of packets being captured from a network. My question is if I want to use RT Linux how ...
2
votes
1answer
1k views

Mounting error while installing VM ware tools in Kali Linux

I'm new to Linux and I have installed Kali Linux on VM Workstation.I want to install the VM tools but when I click "install VMware tools" from the VM workstation menu I receive this error at the guest ...
2
votes
3answers
9k views

How to run awk for some number of lines.?

I want to extract some lines with awk. Is it possible to do the following task: ls -l | awk 'BEGIN FOR(i=122;i<=129;i++) FNR==i' How can I display the details from line numbers 122 to 129?
2
votes
2answers
3k views

How to sign into an open Wireless Network?

I'm running Arch Linux on my netbook. My school have an open Access Point and we must sign into the network via a page which we are redirected to when we try to open whatever website if we are not ...
1
vote
1answer
96 views

Best way to find the active wireless device

Of course I know the command: iwconfig which lists devices (and gives info about whether they have a wireless connection). For the purposes of a shell script, I'm really wondering, is there any way ...
1
vote
1answer
310 views

32-bit on 64-bit: memory usage for multiple processes

I'm working on a Linux hosting solution for game server software, however the software in question is 32-bit and I'd be running 64-bit on the host. Now, I know I can run 32-bit apps on a 64-bit host ...
3
votes
2answers
374 views

Repartitioning harddisk

Saturday I have to repartition my HDD. On my server I have 72GB HDD space which is not very much. Currently my system is partitioned as follows: Partition size: Filesystem Size Used ...
2
votes
1answer
1k views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
1
vote
0answers
253 views

Full network logging via linux firewall ( iptables )?

How truly enable full network logging via iptables? There is an option --log-prefix to add a tag to log entries. But the log entries don't show all complete packets. What a grand way to enable full ...
4
votes
2answers
5k views

ethtool get permanent MAC address returns all 0's

I need to read permanent (burned-in) MAC address of network adapter. Since MAC address can be easily spoofed, I need to read the real one which is written on EEPROM. I need to do it using C++ on Linux....
3
votes
1answer
3k views

Resetting password in Linux Mint when disk is encrypted

I have a system (VM, actually) with Linux Mint 15 on it. The disk is encrypted, but I remember that password -- just not the password for my account. I've tried changing the command in GRUB from ro ...
7
votes
2answers
4k views

What should I be aware of when installing Linux on a Mac?

I have a Macbook Pro and I am loving it, though I still miss my Linux box, there are many things I need which are not completely compatible with Mac OS X. I heard many stories about installing Linux ...
3
votes
1answer
4k views

How to measure total disk I/O per hour

I have a cloud server were we get billed also for disk IO usage. Here is an example from the stats: 04/Sep/2013 07:24:19 04/Sep/2013 08:24:19 0,5 GB / 1 vCPU (0,08 Kr. per hour): Charge for 44....
5
votes
3answers
470 views

Perl alternative for screen/tmux for the UNIX world?

What happens when a screen/tmux-like solution is needed (to leave a process running for a long time, but not with nohup because interaction could be needed) - but screen/tmux is not available on the ...
1
vote
1answer
810 views

Centos Linux no longer has “ System ---> Administration ---> Printing ” after re-install from “Minimal” iso file

Recently i installed centos linux minimal and then installed GUI over it. i noticed it no longer has System ---> Administration ---> Printing given that this is not a 'software' how can i ...
2
votes
1answer
11k views

Resolve dependencies installing rpm packages

I am using RHEL6 Hi i have created the yum repository, i downloaded the snort rpm package from their website when i tried to install the rpm its thorws error e.g. snort-2.9.5.3-1.f18.i386.rpm 1:...
7
votes
3answers
292 views

Linux/Unix variant for training system administrators

Is there a Linux/Unix based operating system used for training sysadmins? Some bugs would be deliberately included in the system and the training candidate is supposed to solve all of them. It should ...
3
votes
0answers
526 views

How to setup QoS on router (prioritize VOIP and web browsing over downloading)?

I've got Asus WL500GP-v2 router with renewed Oleg's firmware installed (http://code.google.com/p/wl500g/ , the stable version). I would like to setup some Quality of Service to ensure all users are ...
0
votes
1answer
3k views

Everything works in the auto-generated kickstart file for installing centos-linux except for selecting target drive + boot dot

I discovered that if I copy the auto-generated kickstart file in CentOS Linux, I could re-install CentOS Linux without having to fill stuff, and so on.. It appears centos saves the auto-generated ...
3
votes
4answers
3k views

how to monitor up time and down time of a linux service

How to monitor up time and down time of a linux service. I have created a service for my application using chkconfig (RHEL 6.3). I want monitor when the service is turned started and stopped. I can ...
0
votes
1answer
54 views

How to get back on track of your Linux PC fails and your USB drives with Linux O.S. are lost [closed]

Assumption is you take your netbook or nettop and fly to another country where you have no friends, etc. You can not create a bootable usb drive with a linux iso file unless you purchase a windows pc ...
3
votes
1answer
2k views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I type....
5
votes
1answer
3k views

is there a “xdotool” rpm available for Centos Linux?

It seems to be extremely difficult to install xdotool on CentOS because of it's requirements. such as yum groupinstall 'Development Tools' -y yum install libXi-devel libXtst-devel libXinerama-devel -...
0
votes
0answers
159 views

removing an OU from a record on OpenLdap Database

I am trying to remove "ou=ABCD" from this ldap record: # testing@mydomain.net, ABCD, Active, Member, myldapdomain.org dn: uid=testing@mydomain.net,ou=ABCD,ou=Active,ou=Member,dc=myldapdomain,dc=...
3
votes
2answers
536 views

Static files give ever changing checksum value on Linux

When I cksum large files (150MB) they will often report different checksums on each call. $ cksum test3 1233504235 170213376 test3 $ cksum test3 825031809 170213376 test3 $ cksum test3 189847968 ...
0
votes
2answers
4k views

How to use ( yumdownloader --resolve <package name> ) on ( yum -y groupinstall “Desktop” “Desktop Platform” “X Window System” “Fonts” )?

As soon as I finish installing "centos-minimal" from the minimal ISO file, I need to install the GUI desktop. for this I simply run, ifup eth0, and then I run: yum -y groupinstall "Desktop" "Desktop ...
0
votes
1answer
8k views

How to install [ gcc ] without internet connection?

I simply ran yum install gcc this is what came up: ================================================================================ Package Arch Version ...
1
vote
0answers
134 views

Debian segfault in libc2.7

I am running a test on my machine in which I assigned a lot of IPs to some tap interfaces (created by me before the test) on my debian machine and tried to run curl commands with the source being ...
1
vote
0answers
148 views

Where is the default icon used by Gnome when no icons are found?

Just to experiment, I moved the folder /user/share/icons/ away, as in saved it on a USB drive and deleted it from Linux. Now, all icons are shown as the default "white" icon. Where is this icon ...
1
vote
1answer
2k views

When looking at lsof output, what does “0t0” mean?

When looking at lsof output, what does "0t0" mean?
-8
votes
1answer
304 views

What does this lvcreate call do?

Could someone explain this line: lvcreate -l 128 vg_appli -n lv_cmp I think 128 is the size, but what is it doing as a whole?
1
vote
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
0answers
738 views

e2fsck not working

I am using Linux slitaz on my machine. I am able to see drives on the left side of the screen but when I click the drives it is giving the error cannot open the drive. When I ran the e2fsck on that ...
2
votes
4answers
380 views

strange problems on cd-rom writers

I have a really strange problems with my last 5 burners. They look all broken. They can read the files on CDs but when I burn a cd it seem that the burning was gone well, but when I try to md5 the ...
10
votes
3answers
18k views

How can dmesg content be logged into a file?

I'm running a Linux OS that was built from scratch. I'd like to save the kernel message buffer (dmesg) to a file that will remain persistent between reboots. I've tried running syslogd but it just ...
8
votes
3answers
23k views

partitioning using 2 hard disks (SSD and non-SSD) in linux [closed]

I have the following free spaces on 2 disks: SSD - 240G (sda) non-SSD - 240G (sdb) I understand that I should use SSD to install packages and non-SSD just for storing data. What's the best ...
12
votes
2answers
5k views

Test whether Linux binary is compiled as position independent code

I recently learned that (at least on Fedora and Red Hat Enterprise Linux), executable programs that are compiled as Position Independent Executables (PIE) receive stronger address space randomization (...
1
vote
2answers
5k views

To configure script to send email only when diff command gives a difference

I'm new to the world of scripting and and currently using a script to perform a health check on the san devices that I manage. The script is simple and redirects output of commands to a current file ...
2
votes
3answers
4k views

Boot my kernel in a Virtual Machine?

I'm learning now how to compile and boot linux kernels. Is there a way to boot kernels in a virtual machine, rather than messing my system? I use VMWare Workstation on Windows 8. Can I use that to ...
2
votes
0answers
1k views

Adding multiple gateways for separate physical interfaces with various metrics/priorities

My system has 3 interfaces. These are eth0, eth1 and usb0. eth0 is linked to my router and is the line I want to be used by default. eth1 is un used. usb0 is a 3G phone that's tethered. My issue is ...
3
votes
2answers
4k views

What video editing applications are available in Linux?

Please recommend me a video editor. I am looking for a GUI application. I haven't done any video editing recently so I do not know what the possibilities are. Using a Linux only software is fine ...
2
votes
2answers
273 views

Take copy of TTY0 text

I have some output in TTY1 that I think might hold clues as to why my last GUI session froze (CtrlAltBackspace was able to get me back to the terminal and I reloaded the GUI). However, I cannot seem ...
2
votes
2answers
3k views

How to make OpenWrt Makefile compile faster?

I have recorded that it took 50 minutes for an initial compilation of the OpenWrt firmware image, assuming all the necessary packages have been installed via sudo apt-get install. My BuildRoot Root ...
5
votes
1answer
233 views

mount options for bindmount

Due to some complex requirements, I had to put the following two lines in /etc/fstab: /dev/xvdg1 /srv/storage ext4 $OPTIONS1 0 2 /srv/storage/dir /var/opt/dir none bind,$OPTIONS2 0 0 ...
4
votes
3answers
1k views

Logging when limit Exceeds

Is there a log file that logs information when the values set in /etc/security/limits.conf are exceeded? If not is there a way to make it log when the values are exceeded?
1
vote
3answers
1k views

Which cmd is the best for determining the OS' word size (32/64)-bit? [duplicate]

I need to find my OS (not hardware) is 32-bit / 64-bit. Which command is best? uname -p uname -i uname -m arch All the above commands returns the same answer: On 32 bit systems: i686/i386 On ...
5
votes
1answer
84 views

Lilo makes a lot of disk noise

After upgrading to Debian Wheezy, the lilo command causes my boot disk to make a lot of noise. I am not aways of any real problems, just the noise sounds somewhat scary, especially since this wasn't ...