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

Monitor not indentity

I use Debian 7.x and have two same monitors NEC MultiSync LCD2090UXi. But only one of them is detected as NEC. I used xrandr for change resolution of unidentified monitor and all was ok, but after ...
0
votes
1answer
15 views

iptables | redirect from local [interface:port] to local [interface:port]

0 down vote favorite I have two interfaces eth0 (192.168.1.95) and eth0:1 (10.0.0.100) i want all packet for 192.168.1.95:9900 (from any 192.168/24) will be redirect/forward to 10.0.0.100:9900 and ...
0
votes
0answers
18 views

Where can we find a good Linux System Administrator? [on hold]

Where can we find a good Linux System Administrator? What are the websites to post a position that Administrators visit? Do System Administrators like to work as contractors? Or do they prefer to work ...
1
vote
0answers
23 views

sudo -i returns an error

When I try to switch to root using sudo -i i get the error /var/tmp/sclDvf3Vx: line 8: -i: command not found... However, su - works which I will continue to use. I'm by no means a linux system ...
0
votes
1answer
16 views

How to disable the keyboard's numeric keypad?

I want to disable all numpad keys; the ones located on the right side of my keyboard. How can I do this? Of course, I would also like to know how to revert the action an re-enable the numeric keypad. ...
1
vote
2answers
33 views

How to print file content *and delete printed content* from file?

In Linux bash shell, How can I print file content and delete printed content from file? I have a program writing texts to a file repeatedly. On a Linux shell prompt, I want to print the contents of ...
0
votes
0answers
5 views

Keyboard merely plugged in greatly increases kernel boot time

Specs are here. I am using a K65 RGB. I am using the ckb-git package from the AUR to provide basic input functionality. With Keyboard and with driver: Startup finished in 3.100s (firmware) + ...
2
votes
3answers
21 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
0
votes
0answers
15 views

Two monitors work as if they were a single one

I have 3 monitors (1 on an Intel card, 2 on Nvidia). After some magic with xorg.conf they started to work, but the two Nvidia monitors work as if they were a single, wide monitor (any maximized window ...
0
votes
1answer
8 views

Porting Binder IPC to Linux

Android provides a device driver based IPC mechanism called Binder. I see it as one of the staging drivers in Linux. Although I can have a linux kernel running with this device driver, if I want to ...
0
votes
0answers
15 views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
1
vote
1answer
13 views

Convert Tab Separated csv using unoconv

I am attempting to convert a tab separated csv into an xls file using unoconv. However, the tabs are not being recognized as the field separator. Can someone please tell me how this can be done. I've ...
1
vote
1answer
21 views

How to set the core dump file location (and name)?

I am on CentOS 6, trying to enable core dumps for an application I am developing. I have put: ulimit -H -c unlimited >/dev/null ulimit -S -c unlimited >/dev/null in to my bash profile, but a ...
-2
votes
1answer
26 views

does curl -Ls 'http://pastebin.com/raw.php?i=r2jYDZaw' mean it will not output anything?

Does the s in -Ls mean that nothing should be outputted? If so what will be the output then?
1
vote
1answer
17 views

genfstab not working [on hold]

I mounted my sda1 mount /dev/sda1 /mnt Then I call command genfstab genfstab /mnt >> /mnt/etc/fstab I get an error: genfstab: command not found I got this error while installing ...
0
votes
1answer
25 views

Is anyone using Red Hat Enterprise Linux for Desktops or Workstations at home? [on hold]

I consider using RHEL for my dissertation, on my Thinkpad T430. I've been using Linux (mostly Ubuntu, Debian) for the last decade but I'm curious about RHEL since it seems to be used a lot outside ...
0
votes
3answers
49 views

Simple flag based comparison in Linux

I am trying to run a simple script to check for a flag and then check for additional conditions. The following always echoes "Run Script.." irrespective of the value of the flag: FLAG_Control=false ...
0
votes
1answer
21 views

wkhtmltopdf - QXcbConnection: Could not connect to display

How to run wkhtmltopdf headless?! Installation on Debian Whezzy apt-get install wkhtmltopdf Command wkhtmltopdf --title "$SUBJECT" -q $SOURCEFILE $OUTPUTFILE Error QXcbConnection: Could not ...
0
votes
2answers
55 views

Print awk's current new line character

How can I find what new line character is in my file when using awk? I know the default is \n but this is what manual says. I want to see it with my own eyes. I have just started learning awk and ...
0
votes
0answers
26 views

What's the difference between RHEL 6.5 and RHEL 6.6? [on hold]

I've a copyright software installed on my server and the support told they don't support RHEL 6.6 against RHEL 6.5 only. They ask me to downgrade the release. I explained I'm very surprised like it's ...
1
vote
0answers
19 views

Monitoring tool without web interface

I need to monitor a Linux server. I'm searching for a monitoring tool able to store system information (CPU, RAM disks usage, Apache and Postfix status, etc.) throughout the day and send an email ...
1
vote
0answers
43 views

Function tracing tool [on hold]

What are the best tools for user space function tracing ? I want to know if there is a tool for User Space function tracing (Cent Os environment) that without actually modifying the source code can ...
0
votes
2answers
17 views

Skype/Spotify Installation Error: Cannot Install libssl1.0.0:i386

OpenSSL has been giving me a lot of gripe lately with some pieces of software such as spotify and skype. I include both apps because I think it's the same issue causing both to stop installing, ...
2
votes
2answers
26 views

Several hard-links with different metadata in Linux using Ext4

Is it possible for Ext4 file systems (or maybe another one understood by Linux) to assign different metadata (like modification time, owner, access rights) to several hard-links that refer to the same ...
-3
votes
2answers
32 views

How can I identify if a binary file is set-user-ID? [on hold]

In Linux, how can I identify if a binary file is set-user-ID? Can I use ls -l?
1
vote
1answer
39 views

Write text on last line of document [duplicate]

If I have this document aaa bbb ccc And I want to add " ddd" on the last line. My document should look like this: aaa bbb ccc ddd How can I do this? If I prefer awk or sed but ...
0
votes
0answers
39 views

grep command with pipes, how to implement in script?

I'm new to expect scripting and trying to get below script to work. The script logs in to a server and reads a config file ($val in the script) for the values of "cps" and then presents a total ...
-1
votes
0answers
18 views

Is it safe to run programs that have viruses on a virtual machine [on hold]

Is it safe to run applications with viruses on a virtual machine? Please explain the vulnerability
0
votes
1answer
27 views

Understanding high load average with vmstat, mpstat, sar, and top

I am trying to understand the load average on my system when idle. Here are some results after the system has been running for a few hours, with almost nothing installed. vmstat root@arm:~# vmstat ...
0
votes
0answers
12 views

DHCP server easy switch

i have a server, running Centos, that bring reserved DHCP for mac to 5 computers, but they have diferentes ip depending on some external parameters, and i change manually everytime, and i want know ...
0
votes
1answer
36 views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
0
votes
0answers
15 views

using man command for a system call close [duplicate]

So if we have an executable program called close on linux, and theres also a system call close. How can i generate a command that makes sure i get the manual for the system call "close" rather than ...
0
votes
0answers
15 views

How to color a replaced word in Livecode [on hold]

I want to replace "organisation" with "organization" and change the color of organization to red in Livecode. Iam using this code for replacement --replace "organisation" with "organization" in ...
0
votes
1answer
35 views

User Input Bash Script

I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could ...
0
votes
0answers
13 views

Is user/filesystem access separation of services enough to have well secured data of services?

I'm about to publish some of my projects. So, I'm gonna to re-install my VPS and do it properly. I'll have running on it Apache server(websites are made using Ruby and Python), databases. I'll also ...
1
vote
1answer
42 views

When saving INTO OUTFILE from mysql on a systemd based system, the output file is grabbed by systemd — why?

I regularly run simple reports from a mysql (actually, mariaDB) database: MariaDB [acts]> SELECT resolution, title FROM acts ORDER BY resolution INTO OUTFILE '/tmp/acts-titles.txt'; Recently I ...
2
votes
1answer
19 views

Re-enter PID 1 namespace

I'm trying to enter PID namespace that process with PID 1 is in from a process cloned with CLONE_NEWPID. I keep getting Invalid argument error. In other words, I clone a child process with clone() ...
1
vote
1answer
17 views

Kernel Module Upgrade

Due to historical reason, I am bound to use kernel 3.0 for my existing custom operating system. Now, I'm trying to use this OS onto new board, which requires radeon kernel module for native X driver ...
1
vote
2answers
30 views

List running processes without procfs

I'd like to list running process (like using ps or top), but there is no procfs mounted. The procfs not being mounted is intentional, and is made to prevent malicious user to access systems ...
0
votes
0answers
16 views

ffmpeg -i filename.mp4 display “Segmentation fault (core dumped)” error [on hold]

Whenever i execute ffmpeg -i filename.mp4 it return Segmentation fault (core dumped) error. I am attaching snapshot here
2
votes
0answers
23 views

Understanding ext4/jbd2 transactions

I'm trying to debug a bit of trouble I'm having with I/O latency on a system using ext4, but I'm a bit stumped in that I don't understand its journalling as well as I'd like to. What I'm wondering in ...
1
vote
0answers
7 views

oem-bt-ar-9462-dkms error in Ubuntu

I am new to ubuntu and Linux and i was recently prompted to install new updates and this error keeps popping up. Is there any way that i could resolve this? I am not sure what to do here and any help ...
0
votes
3answers
51 views

crontab is launching multiple java process every 5 minutes?

I have a java runnable jar which I need to run it if it not running or got killed for some reason so I decided to use crontab for this - I need to run the crontab as "poppetapp" user so I am logged ...
0
votes
1answer
26 views

Problems in using GRUB2 - Manjaro

I hope you are well! I use Manjaro x64_86, using GRUB2 and EFI. I made a large error after coming home from a night shift. I accidentally removed my boot partition when attempting to format an ...
-1
votes
0answers
32 views

How to write shell script to check diskspace on the list of servers and store it in a file?

I want to write the shell script that checks the disk space for the list of servers and store the output in a file. Then add the entry in the cronjob to execute the script. And finally I want the ...
1
vote
0answers
24 views

Is here any 100% solution how to run 3 monitors (2 nvidia + 1 iGPU) with drivers? [on hold]

I have 2 monitors on my Nvidia card and 1 on integrated Intel Graphics I wasted a lot of time to this problem. After install Intel drivers works only monitor on IGPU, after Nvidia only on Nvidia card. ...
0
votes
0answers
15 views

Looking for script to fetch output for requested date [on hold]

I am looking for a script which helps me to fetch output for requested timestamp from different directries.
1
vote
1answer
16 views

multicast frames in Linux virtual-switch

I have a network topology where in "Dell PE860" runs a Linux virtual-switch br0: Now if I send an Ethernet frame to broadcast address from "IBM ThinkCentre": 17:10:23.569021 00:a1:ff:01:02:05 > ...
1
vote
1answer
24 views

Scheduling a task whenever the system starts

I've installed Ubuntu alongside Windows 8.1. I want to create a task that mounts some of my Hard disk drives whenever the system starts. What Linux command can I use? Thanks in advance.
1
vote
1answer
29 views

index in front of “ip link” or “ip addr” output

There is an index in front of each network interface in ip link show or ip addr show output. For example from 1 to 6 here: root@T42:~# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc ...