4
votes
2answers
24 views

How to split a file alternating the prefix used for the output files?

I have large file. It is made of parts of 40 lines each. There are two types of parts and they alternate. The two types of parts should be numbered independently. So the first part should be X_0001, ...
4
votes
2answers
6k views

“A stop job is running…” on shutdown

Almost every time when I'm shutting down or rebooting the system I get the following message before the system actually shuts down: A stop job is running for Session 1 of user xy It waits for 1:...
18
votes
3answers
13k views

Pacman option to assume “yes” to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm ...
0
votes
0answers
4 views

why does my rdseed loop does not work

I have this script. This goes in every folder in that directory.These folders contain Sfile example S20120213.014536. After going to the folder it do the command rdseed -d -R -p -f (Sfilename). The ...
0
votes
0answers
7 views

Which SCSI Command can get the information similar to SMART attribute?

There are two questions. http://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/index.html 1) From above site, I learned How to send SCSI Command and receive data from SCSI device. Also, I heard SCSI ...
1
vote
2answers
2k views

Need write permissions to install themes on Linux Mint 17 “Rebecca” Mate

Just installed Linux Mint 17 "Rebecca" Mate. I'm trying to install a new theme and am directed to http://gnome-look.org/index.php?xcontentmode=167 I've downloaded a couple and their instructions ...
0
votes
2answers
25 views

deferring argument in “alias” in .bashrc

I am a dumb user, who works with LINUX (ubuntu 14) My newly purchased laptop forces me to use the bash shell, and it has .bashrc. I used to use the C-shell before that and tried to copy its aliases ...
3
votes
1answer
6k views

i/o format with printf in bash-shell

I am trying to output the results of my shell script using printf. To keep the results aligned in column, I am using tab as: printf "%s\t %s\t %s\t %s\t %s\t %s\t %s\n" $i $est $var_m $jk $mst $var_M ...
0
votes
0answers
5 views

Text field text, on some web pages, is barely visible on i3

Text field text, on some web pages, is barely visible. For example, so far Yandex Email: User Name field Youtube: Search field How to solve this issue? Note: Installed Manjaro (i3 version) as a ...
0
votes
0answers
5 views

Highest sampling rate with SoX recording

What would be the highest sampling rate I can specify for recording in SoX? I have a microphone device incorporating a high speed sampling card. I would like to record signals at 16 bit and either ...
0
votes
1answer
2k views

update-rc.d squid3 init.d init weirdness

sudo service squid3 status works, implying squid is in upstart. However a listing of services using sudo service --status-all does not show squid. Neither does sudo update-rc.d squid3 defaults ...
-1
votes
0answers
7 views

Adding repository and updating still doesn't find package i want to install

when i add an repository and do a sudo apt-get update it doesn't seems to do anything Reading package lists... Done Building dependency tree Reading state information... Done Calculating ...
0
votes
1answer
5 views

How to get lsyncd to log error when dest drive fails?

I'm trying out lsyncd for the first time by following the steps detailed in this article. The files and sub-folders are sync-ed to another mounted drive. I then simulated a failed drive by unmounting ...
56
votes
5answers
8k views

How can I check what signals a process is listening to?

How can I verify whether a running process will catch a signal, or ignore it, or block it? Ideally I'd like to see a list of signals, or at least not have to actually send the signal to check.
1
vote
1answer
348 views

Procmail - auto reply with attachment

I am trying to auto-reply using procmail. I want to send back an HTML form with attachments (images; jpg/png). Is there a simple way to accomplish this? This is my piece of code so far: :0 | ($...
0
votes
0answers
14 views

kvm ubuntu 14.04 host cannot console to 16.04 guest

I am unable to virsh console ubuntu-guest It remains hung at Escape character is ^] I am not able to ssh or connect via gui so those options are out. I have created the /etc/init/ttyS0.conf file ...
0
votes
1answer
1k views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
1
vote
1answer
56 views

Copy a file from nested tar.gz file

I have a situation where I want to extract a file from nested tar.gz. The structure of .tar.gz is as test.tar.gz data1 data2 data3 test2.tar.gz data4 data5 test.log I want ...
0
votes
0answers
6 views

Openshift Build Failed/Cancelled

I am going to deploy JSP site on Openshift Redhat Cloud Server. My domain is http://jsp-moristems.rhcloud.com. I cloned the application using Git, removed src folder and pom.xml file, copied ROOT.war ...
0
votes
1answer
28 views

How to execute an installer from a variable? [on hold]

Hi I'm trying to write a script to download and run some installers. The file name is stored in a variable, I use wget to download it, chmod +x the file, and that's as far as I can get. I've tried: ...
0
votes
1answer
2k views

Cannot add host to icingaweb2

I installed Icinga2 and icingaweb2. I have the dashboard, view of hosts, services, etc. I can log in, log out, etc. Ok, now I want to monitor something. So I added a host to /etc/icinga2/conf.d/hosts,...
0
votes
0answers
6 views

Unity DE on GalliumOS: Why might my scroll direction be ignoring dconf settings?

I tried to keep the title concise. In more detail: I'm running GalliumOS 2.0 (release details) (home page) because it's nearly perfect for my setup. The only issue is that I really don't like the ...
6
votes
6answers
3k views

How to show the number of installed packages

What is the Debian equivalent of Fedora's yum list installed | grep wc --lines?
0
votes
1answer
20 views

How strong is the promise that .so.x.y.z will exist?

I have an application that requires OpenCV 2.4.11 to link, so in my make file I ensure I use the following linker flag pattern: -l:libopencv_core.so.2.4.11 How robust is this assumption?
0
votes
2answers
39 views

How can one recursively rename directories without sed or rename?

I am trying to rename a few directories that contain "Fever" to contain "Malaria" instead. The instruction is to do it without sed or rename. So far, my errors include mostly lines like mv: cannot ...
0
votes
1answer
12 views

Automater.py install

Getting this message when unzipping file for automater.py any ideas ? tar -xvcf master.tar.gz tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option
0
votes
0answers
11 views

wget submit webform login to download files on another page

So I'm trying to download some files behind the webform located here https://user.meshare.com/user/login. I looked using firebud and I can see the three variables post, which I post to the site and ...
1
vote
0answers
14 views

Annoying Issues With Window Manager (dwm)

So at work one of the allowed WMs is dwm 6.0, which is great! I've been using it as an alternative to KDE to keep on top of the many windows that can be generated in my line of work. I'm noticing ...
2
votes
1answer
2k views

wifi failed to start with Arch Linux on laptop

I just installed Arch Linux. Wifi worked fine for me on installation but as soon as I rebooted, I received failure messages when trying to connect to my router. When trying to access my router ...
0
votes
1answer
50 views

Not fully transparent background on urxvt

I looked up several answers on StackExchange network, neither of them worked as I wanted. I started using urxvt on Ubuntu instead of gnome-terminal, and wanted to configure it's look to be similar. I ...
1
vote
0answers
58 views

perf_events over ssh (osx -> linux) freezing and unresponsive

I'm using linux perf_events and sometimes am having trouble with the perf report (which is a terminal application) view freezing up. I'm interacting with a remote linux server which is running perf ...
15
votes
2answers
1k views

Why can't I kill a SIGSTOP'd process with a SIGTERM?

I am using Debian stretch (systemd). I was running the rsyslog daemon in foreground using /usr/sbin/rsyslogd -n and I did a Ctrl+Z to stop it. The state of the process changed to Tl (stopped, ...
0
votes
1answer
218 views

Accessing Console Of Ubuntu 16.04 KVM Guest

When I added Debian 8 to my KVM management tool, I found that I could not access the console unless I added console=ttyS0 to the grub boot configuration. It wasn't great but it worked. I am in the ...
0
votes
1answer
1k views

Solaris 10 openssl version 1.0.1k but apache httpd not compiling,showing version too old-0.9.8a

I have compiled openssl from source on my Solaris machine to a newer location apart from the default one. When I set the newly compiled ssl path in PATH variable and LD_Library path and then compile ...
0
votes
0answers
19 views

Any pc with arch or standard linux(umodified) preinstalled? [on hold]

I want a pc with one of those for linux without the hassles of installing other systems. Im okay if its not the most powerful.
2
votes
2answers
59 views

Iptables rules For PING, Whois, DNS, NTP, SSH, HTTP(S), FTP

Here is the file I load with iptables-restore on a Debian 8 freshly installed: The only thing I've changed is using the port 22022 for SSH in the /etc/ssh/sshd_config file. ----- SEE UPDATE BELOW----...
5
votes
1answer
147 views

A better way than `tee | cut | … | paste`

Trying to do a "lookup" in a pipeline, where the input looks like this: alice 5 bob 7 ... I want to look up codes in the second column in a database and return the corresponding name, and keep ...
0
votes
1answer
38 views

Avoiding glob expansion in fgrep string

I'm working on a Busybox distro that lacks the crontab command. I want to create a bash script that updates root's crontab file with jobs listed in a text file. I've got most of the script working, ...
1
vote
2answers
40 views

compress all pdf files recursively

i want to compress all my pdf files in an given directory and its sub-directories using ghostscript. I´m stuck using the find command within loops by filename including spaces. Here some example ...
0
votes
1answer
22 views

Do recursive commands like mv cache a file list?

I want to move the directory content of the folder foo at a specific moment including the subfolder structure to another directory. If files are added to the origin folder they should not be moved. ...
3
votes
1answer
208 views

Process exceeding max open files limit

I am counting current open files by a process pid by :- cmd1:- ls /proc/$pid/fd/* | wc -l and then I am calculating percentage by fetching Max open Files limits. cmd2:- $ cat /proc/$pid/limits ...
0
votes
1answer
1k views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: www.mesa3d....
2
votes
2answers
28 views

“xxd -p” alternative for HP-UX - how to get the same results with “xd”?

I have a command which is very handy at work. It searches for a certain STRING inside some hex raw files with FILENAME. The command which I always used in Linux systems is: find . -name '**FILENAME*...
1
vote
0answers
19 views

How to right click on one button computer?

I've installed Linux with Lxde desktop (Lubuntu) on an old G3 iBook. How can I get the right-click functions on a computer that has only got a one button controller?
2
votes
2answers
31 views

Why are not all permitted capabilities of a linux process effective all the time?

man 7 capabilities documents that the capabilities of a process on a linux box are recored a set of three masks: permitted effective inheritable I have an idea to what extend the inheritable mask ...
0
votes
1answer
49 views

Is it possible to put an if statement within an If statements like so?

As my title suggest I'm trying to put an if statement within an if statement. It seems to work until the last echo command in the script which doesn't print. For testing I have created a directory ...
-1
votes
1answer
29 views

recursively compare the contents of 2 directories in CentOS 7

A build process in an app is generating a directory structure in a CentOS 7 machine. I have copied the app to a second location in the same server, made a few changes, and then run the build process ...
1
vote
1answer
18 views

How to put initramfs and kernel on two separate partition?

I'd like to put the initramfs on a USB device will keeping the linux kernel on the SSD, so I get the fast boot while protecting my encryption settings on the USB device. Any idea how to do that ?
10
votes
3answers
1k views

How to start XTerm with prompt at the bottom?

When starting XTerm the prompt starts at the first line of the terminal. When running commands the prompt moves down until it reaches the bottom, and from then on it stays there (not even Shift-Page ...
0
votes
0answers
5 views

How to configure pure IPv6 hotspot on Debian Linux?

Due to testing purpose I would like to create a pure IPv6 wifi hotspot on my Debian Linux 64 machine. Therefore I do (see screenshot): Open the Network tool Click "Als Hotspot verwenden ..." ("...

15 30 50 per page