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

How do I add System Call to Kernel x86_64 [on hold]

I want to add system calls in the linux-3.13.3 kernel. Help me
0
votes
0answers
2 views

Synaptics touchpad LED support

How to enabled support the LED in Synaptics touchpads? I'm use Debian Jessie and xserver-xorg-input-synaptics ver. 1.8.1-1. I'm find patches by Takashi Iwai from SUSE for supporting the LED in ...
2
votes
3answers
111 views

Hide ouput of bash while running automated script.

I have a couple of scripts in my bash file, that should do certain tasks, say like ... #!bin/bash yum -y update service restart nginx yum install atop cat /var/log/somelog.log > ...
2
votes
0answers
15 views

bound, but not listening process

python code for simple daemon import socket import time import signal s=socket.socket() s.bind(('127.0.1.1', 20201)) def stop(*a, **k): global work work = False ...
0
votes
1answer
19 views

Allow a python application to run if the system password is wrong

Is it possible to let a python program execute only if a wrong password is given at the login screen of my raspberry pi?
0
votes
0answers
13 views

Installer crashes and say write your dvd with low speed

I want to Install Linux OS in my laptop, but I get an error while installing. I was able to install Ubuntu 14.04 and Linux Mint 16 successfully, but when I try to install Linux Mint 17 Cinnamon, or ...
0
votes
2answers
42 views

how to sort files by their permissions using ls?

I have a large number of files and directories in one directory. I need to sort them in terms of the permissions. For example drwx------ drwxr-xr-x drwxr-x--- I am just wondering if we can sort ...
0
votes
0answers
5 views

MCE error: MCA: Internal parity error

I have an unstable machine running Ubuntu 14.04 LTS which passes 9 hours of memtest86. I get these: Hardware event. This is not a software error. MCE 0 CPU 1 BANK 0 TIME 1414735539 Fri Oct 31 ...
0
votes
0answers
9 views

Default VT Number

Whenever we boot into linux, then the default VT used by kernel is 1. And X starts either on VT2 or on VT7. We can switch back to VT1 by alt+ctrl+F1 to see the logs or messages. Is there any way to ...
0
votes
0answers
13 views

system won't poweroff, restarts with :“Synchronizing SCSI cache”

Running Debian testing, after a system upgrade a while back my machine started to refuse to power down. It hangs with: Synchronizing SCSI cache Waits a few seconds, and then reboots itself. It ...
1
vote
0answers
22 views

Can't do yum install postfix on Fedora 20

I have this problem when trying to install "postfix". I've done some research and tried commenting out "metalink" line and uncommenting "baseurl" line in the file /etc/yum.repos.d/fedora-updates.repo ...
3
votes
1answer
14 views

Does gnome-terminal have an equivalent for xterm's modifyOtherKeys?

xterm has a modifyOtherKeys option that tells it to construct an escape sequence for various key combinations that are normally not available. That option can be enabled in .Xdefaults, or with a ...
2
votes
0answers
17 views

Unexpected processor/core counts for AMD processor

I wanted to determine if a machine has hyperthreading enabled or not. To determine this, I used advice I found online, which operates as follows: physical_proc_count = `grep "physical id" ...
1
vote
1answer
23 views

Permission denied in scripted chroot jail

I am attempting to script the creation of a chroot jail (I know that there are tools for this, but I am in it for the experience, so please don't recommend a tool). I have a script which looks up ...
0
votes
0answers
28 views

Yum not working at all

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 ...
4
votes
1answer
21 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
votes
1answer
26 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 ...
1
vote
2answers
28 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
34 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
21 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
20 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
35 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
0answers
9 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
14 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
23 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
45 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
13 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
37 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
16 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
13 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
49 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
31 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 ...
0
votes
0answers
3 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
17 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
30 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
20 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
22 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
53 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
54 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
30 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
79 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 ...