Tagged Questions

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

Cleaned yum metadata now all update sites are 404

I ran the command yum clean metadata and then ran the command yum update. When I ran the yum update I now get the following errors Loaded plugins: product-id, security, subscription-manager This ...
2
votes
0answers
9 views

How to log all system calls made by a process and all its descendants with auditd

I can do auditctl -a always,exit -S all -F pid=1234 To log all the system calls done by pid 1234 and: auditctl -a always,exit -S all -F ppid=1234 For its children, but how do I cover the ...
1
vote
5answers
44 views

List files with line count and date

I want to be able to list files showing the number of lines the each file has and the date. I can happily get the line count using wc -l *. Not a problem. I can get the date using ls -l. Is there a ...
-5
votes
0answers
31 views

How exactly the file opened in LINUX [on hold]

What exactly done when i open a file? process>filedescriptor>process wide open table> system wide open table The above information I know but I Want to know full knowledge(in depth) of the file open ...
0
votes
1answer
25 views

I get "syntax error near unexpected token 'else' for the following script [on hold]

if ! [ $result1 -eq $SUCCESS ]; then # failed to get the status from 1st ssd try with the 2nd ssd, to identify the primary and secondary ...
0
votes
1answer
15 views

how to troubleshoot on whether a file system had actually been unmounted or not.?

We have a server on which, a couple of days before we got an alarm continuously everyday, that a file system has been unmounted. But when we logged into the server the file system is still there ...
1
vote
2answers
31 views

Reasons to install X Windows on a Linux server

Is there any advantage to installing X on a server, eg a db or web server? I'm thinking it would just add mem/cpu overhead. Is it more normal not to install it on a server?
0
votes
0answers
20 views

Need a script to send an email when an input has not changed for more that 30 minutes

I need a linux scrip that will send an sms when there is an input change and it has not gone to the initial state after 30 minutes, I have the following so far, but, I am sure there are few things ...
0
votes
0answers
18 views

Oculus Rift on Linux

Sorry if this isn't the right place for this question. I do realize this is a somewhat experimental piece of hardware. Still, it would be nice to see how much progress can be made here. I'm running ...
2
votes
0answers
16 views

Simulate Initial Login of user without using sudo

I'm writing a script to interface 2 third-party programs. (Datadog and AWS) The data mining script uses sudo -u to run my script. The script that I need to retrieve data from will segfault if ...
0
votes
0answers
28 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 ...
1
vote
1answer
12 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
22 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
27 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 ...
2
votes
0answers
11 views

Network with Client Device as Gateway

How would I configure a Debian server as a router, but have one of the client devices (running Android) function as the default gateway, allowing the network to connect to the internet? I have not ...
0
votes
1answer
32 views

Unable to access SAMBA Share From Windows [on hold]

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
44 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 < ...
2
votes
0answers
14 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
12 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
25 views

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

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 ...
2
votes
0answers
24 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
45 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?
0
votes
0answers
20 views

member of different groups depending on login node [on hold]

When I log into a normal ssh session I am a member of the groups I want/need to be, i.e. [zhermes@login01 ~]$ groups group1 group2 group3 But when I'm logged into a different node (using ...
1
vote
0answers
30 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
25 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
32 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
12 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 ...
2
votes
1answer
15 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
29 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
19 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
19 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
52 views

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

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
51 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
26 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
26 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
78 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
15 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 ...
-3
votes
0answers
33 views

is it possible to run a linux in recovery mode [on hold]

I would like to enter in a Debian Linux located in one micro SD card starting an update.zip in recovery mode under android the machine is a netbook lenovo A10 working on android I think it is ...
1
vote
0answers
18 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
69 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 ...
-4
votes
0answers
18 views

best linux for low graphics(7872kb)? [closed]

iam looking for best linux distibution for low graphics.,,.,.,.
1
vote
3answers
66 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 ...
4
votes
1answer
39 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: ...
5
votes
4answers
173 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
19 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
14 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 ...
-2
votes
0answers
23 views

Need Script to Find Duplicate PID in a process [closed]

I need a Shell script to find the duplicate pids in the process. Please advise me Thanks, Srikanth.V
0
votes
0answers
22 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
30 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 ...