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

How to prevent grep from excessive unnecessary memory usage

I'm greping a hexadecimal pattern (currently a number) from a large binary file (1 TB) with xxd -p /path/to/sda.img | tr -d '\n' | grep -ob '117a0cb17ada1002' and I'm wondering why grep uses up to ...
2
votes
0answers
99 views

SSH public key login fails without pattern

I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all machines) for rsync without problems. Almost all... ...
1
vote
1answer
18 views

talk to modbus device

I currently have a minimal install of Red Hat 6.5 running, on the machine I need to talk to a modbus device. I am wondering what tools and drivers are needed on a linux machine to talk to a modbus ...
2
votes
0answers
35 views

I am getting a strange install screen on Kali Linux and when I install all the way,I get a blue screen?

I have a picture of the issue here. The screen than proceeds to turn blue? Any help????
2
votes
0answers
105 views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
1answer
83 views

Unable to access SAMBA Share From Windows [closed]

Hi This is a repeat of this question on Superuser. Since I didn't get any answers there, I've posted the question here hoping to get more answers since this is more Linux & Unix specific. Hi ...
1
vote
3answers
49 views

How to access temporary file straight after creation?

I've script which is connecting to remote host via SSH, creates temporary file and executing the following command: Calling system(mysql --database=information_schema --host=localhost < ...
1
vote
0answers
21 views

how to do a sip call from sipp

I am newest user using SIPp , I am trying to made a sip call from SIPp program on Linux but i fail on it . i want a command to call phone number (14042835351) from sip domain (80.81.82.83) with same ...
1
vote
1answer
32 views

Fatal Error while trying to detect swap signature

I've installed CentOS 6.5 On VMWare Workstation. I added a SCSI Virtual Disk (.vmdk) to this Machine when it was Powered On. I decided to store the Disk as a single file & allocated all disk space ...
1
vote
1answer
27 views

Fastest way to find whether a file exists in a number of tarballs? [closed]

Is there a more efficient way to do this other than using tar tf and checking the output of every file against the file that I'm looking for? This is the way I do it right now, but it's very slow ...
6
votes
1answer
47 views

LUKS key from known password?

I have a hard drive with Ubuntu 14.04 installation - root partition was encrypted with LUKS. I had some configuration problems and wanted to re-install Ubuntu but keep all my data so I moved all my ...
4
votes
1answer
65 views

How to make sure only one instance accessing the file at a time in a folder?

I have a shell script which will be executed by multiple instances and if an instance accessing a file and doing some operation how can I make sure other instances are not accessing the same file and ...
2
votes
0answers
17 views

Sending SMS in Linux? [duplicate]

How can we send a SMS message from a Linux server to mobile for notifying specific process status saying when a process goes down?
1
vote
0answers
35 views

monitor a process by matching the full cmdline

I'm looking for a software that can monitor a process (specified as a partial string/regexp match (e.g. grepping) in its full command-line) in terms of cpu and memory usage. If any of those processes ...
0
votes
1answer
28 views

Getting video card product name in terminal

My laptop is equipped with an Intel i5-3317U CPU that, according to this, comes with an Intel® HD Graphics 4000 video card. However, with lspci | grep VGA I get "Intel Corporation 3rd Gen Core ...
3
votes
1answer
40 views

fault-tolerant crond replacement

I'm looking for a replacement to crond, or possibly an extension of it. The feature that I definitely would want to have is fault-tolerance. E.g. if a job failed to run due to the computer not being ...
1
vote
0answers
24 views

Using 1G transparent hugepages on Fedora 20

My scenario is a 1TB Intel workstation with Fedora 20 with a single process using almost all memory (and most memory allocated by the process comes from two almost-half-terabyte allocations; then ...
-1
votes
0answers
28 views

how to do a sip call from sipp

I am newest user using SIPp , I am trying to made a sip call from SIPp program on Linux but i fail on it . i want a command to call phone number (14042835351) from sip domain (80.81.82.83) with same ...
2
votes
1answer
44 views

How to use xinput to configure multiple devices with a script?

How do you configure xinput to set multiple devices automatically using a script? $ xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core ...
3
votes
0answers
40 views

Bad/strange USB device issue: failed to shutdown/restart

On a fresh Arch Linux installation with Intel i7 processor and an Nvidia graphics card, I noticed during boot log messages related to a usb device filled the screen before it reached the graphical ...
2
votes
2answers
24 views

Buffering (named) pipe in GNU OS

In the GNU OS a process can only write data to a pipe if another process reads the same data (from the same pipe) at the same time. Is there something like a pipe which lets the 1st process write and ...
0
votes
2answers
30 views

LVM move logical volumes across physical volumes without data loss

I wonder how can I move my logical volumes from current physical volume to another without data loss. I have read mans but I haven't found this information there. I would be grateful for any help. ...
2
votes
1answer
66 views

How to set-up a Gnu/Linux distro for kids? [closed]

I will have to repair a computer, which will be used by kids (9-12 years). This computer had Vista, but I will install a Gnu/Linux distro, for security/pedagogic reasons. I just come here to ask if ...
3
votes
1answer
74 views

How can I prevent disk I/O from taking over my CPU?

I run Debian Jessie on a quad-core i7 processor, which results in 8 cores being shown thanks to hyperthreading. On disk-heavy loads, all eight cores are maxed out with io-wait, as shown by htop. This ...
0
votes
2answers
33 views

Setting Up VPN Practice/Service Without Access to Private Internet

I use Lubuntu 14.04. I've gotten concerned about encrypting my internet traffic after reading about the problems with public WiFi and intend to start using VPN. However, all my internet usage is on ...
1
vote
0answers
39 views

chromium-browser processes' cmdline not available in full form

I am running Ubuntu 14.04, with 3.13.0-38-generic kernel on a MacBookPro11,2. (late 2013) I'm trying to get the process ids of all chromium-browser processes, a bit selectively such as only renderers ...
1
vote
2answers
88 views

Why should you not edit the .config kernel configuration file?

# Automatically generated file; DO NOT EDIT Is at the header of the kernel configuration file: /usr/src/linux/.config My question is why, why should you not edit this file? If I know exactly what I ...
2
votes
0answers
69 views

How can I properly QoS streaming services on OpenWRT

I'm going to start by explaining my naivete, I'm not sure, if netflix via a web browser uses the same protocol (http?) as netflix via a smart tv, for example. I'm using OpenWRT 14.07 currently, and am ...
2
votes
0answers
75 views

How can I make wlan0 show up automatically when I plug in my WiFi USB adapter?

Before I plug in the USB there is no wlan0: root@beaglebone:/mnt/etc/network# iwconfig lo no wireless extensions. eth0 no wireless extensions. usb0 no wireless extensions. ...
2
votes
1answer
71 views

Tool to give only the built linux source code

Linux is large complex piece of software. A running kernel in the system would not be using all the code. I'm looking for a tool which can give me the source code needed for the .config I used to ...
1
vote
3answers
88 views

What are the advantages of GRUB over LILO?

Why is GRUB so much more popular than LILO? The only distribution that I can think of that uses LILO by default is Slackware Linux. All other distributions use GRUB. To this day I've never understood ...
5
votes
1answer
57 views

Why does BASH process substitution not work with some commands?

On occasion process substitution will not work as expected. Here is an example: Input: gcc <(echo 'int main(){return 0;}') Output: /dev/fd/63: file not recognized: Illegal seek collect2: ...
6
votes
4answers
191 views

Where does `hostname` store the hostname that I've set?

This is quite puzzling. Does anyone know where the hostname command stores and reads hostname from? I thought it was /etc/hostname but there is no such file on this Linux system that I'm using. I ...
0
votes
0answers
34 views

CentOS 7 and howto extend my current WIFI network

I am running CentOS 7 and I have both a wired cable and a WIFI on my box. The WIFI on my CentOS box I would really like to use to extend my current WIFI network if this is possible. My current network ...
1
vote
0answers
19 views

What tools can show me the CPU usage that doesn't appear in top/sar?

I have a virtual machine that's using ip_tables to set up some connection forwarding. According to top, sar and /proc/stat, I'm > 99% idle. However, perf says I'm only about 72% idle, with the rest ...
0
votes
0answers
24 views

Are there scenarios where a space is required after a redirection symbol? [duplicate]

I was recently reviewing some old cron tasks and noticed that I had entries ending with >/dev/null 2>&1 instead of > /dev/null 2>&1 (note the space). That got me to thinking - ...
2
votes
1answer
42 views

Move thousands of jpg files into daily directories based on the files EXIF creation date

I have thousands of jpg's and mp4's that need sorting into a directory structure which name is based on the date the picture was created. Preferably from the EXIF date as the files modified date might ...
1
vote
1answer
31 views

What's the purpose of the --class option in grubs menuentry?

As the title say, why would I want to add a class to my menuentry (in grub2)? If I understand the grub manual correctly, it could be used with themes.. But is that all?
3
votes
1answer
44 views

SSH not logging properly

I am looking at /var/log/auth.log on a Debian Webserver, and the last thing it logged was: Jul 2 21:09:01 h311 /USR/SBIN/CRON[25912]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d ...
0
votes
2answers
74 views

Resize root LVM and FS in Debian 7

I have a Debian server and I would like to increase the "root" partition from 5GB to 17GB and to diminish the "home" partition from 14GB to 2GB. I am a newbie in linux sysadmin, so a really need your ...
3
votes
2answers
150 views

Shell script to assign values from a lookup table is too slow

I'm trying to assign some variables from a lookup file with a shell script. I have something working but it seems unnecessary slow. Script: while read line do ...
0
votes
0answers
10 views

How to find out if F20 (Linux) is reaping the maximum benefit from my hardware

I have a new laptop HP Pavilion x360 and I wiped out the windows 8 and replaced it with Fedora 20. My question is if there is a way for me to find out if my display driver can be improved or if any ...
1
vote
0answers
18 views

How to disable USB Keyboard at run time from udev.c not from udev rules

I want to disable my USB keyboard at boot time (in some scenarios) without modifying udev rules, as I know udev rules only works when a device is attached or detached from the target. Is there any ...
2
votes
1answer
32 views

How to do mac spoofing on Linux Mint 17?

How to do mac spoofing on Linux Mint 17? Through macchanger -a I've tried to changemy mac address but new mac id doesn't authenticates successfully. pppd gives successful authentication message only ...
1
vote
2answers
55 views

How to install jdk in Linux Mint

I am unable to install jdk on Linux Mint. I tried the following: # apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib Reading package lists... Done Building dependency tree Reading ...
0
votes
0answers
6 views

OpenSuse 11.1 Keyboard Issuses

Im having some repeat issues with my keyboard being unresponsive. Im using opensuse 11.1 with a 2.26.27* kernal and it seems to be getting worst. When the keyboard dies (although the mouse works) , ...
0
votes
1answer
29 views

Using find to search and report files that have one but not two keywords inside

I'd like to use find to report files under the following conditions: If the file contains the word "Serializable" Then report the file if it does NOT contain the word "serialVersionUID" Something ...
1
vote
0answers
30 views

grep not matching patterns in scripted session [closed]

We have a bunch of reports that run on a Linux server and I am trying to automate checking them and bringing back relevant parts using Powershell. I'm using a module called SSH-Sessions to connect to ...
0
votes
0answers
26 views

How to Install PHP 5.3.7 On Godaddy Linux VPS using SSH

I have bought a New VPS from Godaddy. They supported PHP 5.3.5 earlier and then 5.4.34 but I need to use PHP 5.3.7 on my VPS.
1
vote
1answer
62 views

Place grub on virtual disk

To learn about Linux startup process I placed grub in a disk image file and tried to boot using qemu. I currently has not put any kernel image into the drive just grub. I installed grub using kpartx ...