All Questions
0
votes
0answers
2 views
rtorrent won't start downloading (to 9p shared folder)
i am running rtorrent in a ubuntu-VM. the vm's host is sharing a folder "downloads" with the vm, which is mounted inside the guest by adding the following line to /etc/fstab:
downloads ...
0
votes
0answers
4 views
How to hide files of a certain extension in PCManFM
I use latex in my work a lot. Compiling a latex file generates a lot of intermediate files with .log, .aux extensions. To avoid clutter, I would like to hide these intermediate files. Is there a way ...
0
votes
1answer
8 views
How to run a script to get certain contents of a file
So say a file has the login data for a bunch of users:
ex:
bobby activityname 2014-05-12([email protected])
bill activityname 2014-06-12([email protected])
bobby activityname ...
1
vote
0answers
8 views
Jar on Raspberry Pi not responding after a long time
Hello I made a java program with friend that is designed to run 24/7 as a personal assistant on a headless Raspberry Pi. It basically can be used as an alarm and to tell us the weather or news etc. So ...
2
votes
1answer
16 views
Unix sort by multiple columns
I have trouble understanding unix sort. Consider the following file (tab separated)
aa ~ a1
aa B
b A
b ~ e
bb B
bb ~ B
When calling:
cat tmp2 | sort -t $'\t' -k1,2
I get
aa ~ a1
aa B
...
0
votes
0answers
8 views
How to instruct RHEL6.5 Linux to save/starts states before crush or restart
I have multiple Workspaces, each responsible for different revisions of the same software. Not to have to recreate all Worspaces and open all tools/windows, I'm wondering how can I instruct Linux to ...
0
votes
0answers
13 views
Bash - Convert escape character colored text to BBCode
I want to convert a terminal escape-character colored text file to BBCode colored text.
For this i've created an Android logfile with logcat -Cd > /sdcard/logcat.txt. The -C switch adds the color ...
0
votes
1answer
22 views
Different PATH formats for .bash_profile
There are few different formats I have seen so far:
With quotes and brackets:
PATH="/usr/local/bin:${PATH}"
With quotes only:
PATH="/usr/local/bin:$PATH"
None:
PATH=/usr/local/bin:$PATH
...
1
vote
0answers
14 views
Install Linux distribution from already booted one
I have this problem which is really annoying and I want to reset my system and install clean Linux distribution to hopefully solve the problem.
So is it possible to install new distro while I am in ...
1
vote
1answer
22 views
How Drag & Drop works in linux?
Should one learn the implementation of clipboard first, or drag and drop (D&D) is completely independent?
Do I understand properly, that D&D is implemented differently for each desktop ...
1
vote
1answer
9 views
How to display only a process and its descendant processes on htop?
I want to monitor only a process and its children processes on htop. Filtering on the name of the parent process lists only the parent process, not its children. How do I show the children processes ...
1
vote
0answers
12 views
How do I safely get multiple filenames from Zenity?
Zenity can be used to create a file selection dialog and select multiple paths. The separator for paths is specified using the --separator option. Therefore we can't use NUL, the only safe character ...
1
vote
0answers
19 views
Permission prolems. Can't retrieve inbox mails from dovecot
I got a VPS server at a webhoster which has Centos 6.6 as operating system.
Because I have multiple domains which are used by various people this server is going to serve multiple roles:
nameserver ...
2
votes
3answers
67 views
How to rsync files between two remotes?
I would like to transfer files between two remote hosts using on local shell, but it seems rsync doesn't support synchronisation if two remotes are specified as follow:
$ rsync -vuar host1:/var/www ...
0
votes
0answers
3 views
Using /etc/network/if-up.d/ to launch openvpn and connection. Error on boot: tun0 device not found
Using raspbian (variant of Debian) on raspberry pi.
I'm trying to move my launching of openvpn at boot from /etc/rc.local to /etc/networks/if-up.d/ because with rc.local I was using lots of sleep ...
-3
votes
0answers
26 views
What OS would be better to use? [on hold]
I know this might sound off-topic, but I just want to ask a very vital question.
Last year, I made a very important decision. I made a shift from Win 8 to Ubuntu. I found ubuntu interesting, but ...
1
vote
1answer
120 views
How to create permanent aliases on unix-like system?
I am looking for a simple way to create permanent alias for all users. So ~/.bashrc or ~/.bash_profile is not an option.
Hasn't anybody created a program for this? I think it should be a very common ...
0
votes
1answer
5 views
Failure to update Homebrew
So I'm trying to update my home brew version but I get an error. Here is a copy pasted part from the console:
$ brew update
error: Your local changes to the following files would be overwritten by ...
0
votes
1answer
16 views
How do I change the password for myself in a User Group on Unix? [on hold]
The group is for developing iPhone apps on Xcode, but I forgot my password. (If you wanted the backstory)
1
vote
1answer
14 views
Ctrl-Arrow does not work anymore after installing Prezto
I have this in my .inputrc:
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
# mappings for Ctrl-left-arrow and ...
0
votes
0answers
7 views
NGINX Reverse Proxy - no user/password was provided for basic authentication
I've got Nginx set up on a RPi (raspbian)as a reverse proxy using SSL between the remote user and the Nginx instance. All seems to work well for two services mounted on the RPi (Shellinabox and RPi ...
2
votes
1answer
22 views
How to create a bootable hard disk image from an iso image?
I would like install a proprietary operating system onto my CentOS box using VirtualBox. There is a problem though, when I mount the install iso image as a DVD, soon the installer complains of missing ...
0
votes
0answers
4 views
Using CIFS crendentials file with OpenELC
I've recently converted from using Raspbmc to OpenELEC on my Raspberry Pi. I was attempting to map a network share but its a little different as the majority of the filesystem on OpenELEC is made as ...
0
votes
0answers
13 views
apache start fails at loading mod_status.so
I tried to restart the apache and I got the below exception:
httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf: Cannot
load /etc/httpd/modules/mod_status.so into server:
...
0
votes
0answers
4 views
Wireless Adapter stopping to work and giving errors after a while
I find myself working on an old computer on which I installed a lightweight distro (AntiX). Since my actual computer died a week ago and I'll have to do stuff with a computer, I'll have to use this ...
0
votes
1answer
11 views
Install missing R packages when running in bash mode
Frequently I am running R scripts in bash mode. My script is called 981_conduct_regression.R. In this script, I call required packages with
if(!require(<package>)){
...
1
vote
0answers
8 views
Elementary OS NVIDIA and CUDA Install
I've spent the past day trying to install the NVIDIA drivers and CUDA. I've been following these posts: http://askubuntu.com/a/462525/353334 and ...
0
votes
2answers
47 views
In a shell script, How to give a variable another value after one job is done?
I'm trying to make a script which will see if the directory exists and will zip all of its contents under it according to the name/path of the directory.
The farthest I could go was -
...
9
votes
2answers
100 views
Fastest way of working out uncompressed size of large GZIPPED file
Once a file is gzipped, is there a way of quickly querying it to say what the uncompressed file size is (without decompressing it), especially in cases where the uncompressed file is > 4GB in size.
...
-1
votes
0answers
15 views
Why doesn't the FreeBSD ports system automatically re/run ldconfig when shared libraries are installed?
Symptom
[root@ip-xxxxxx ~]# dnscrypt-proxy
Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy"`
[root@ip-xxxxxx ~]# ls -la /usr/local/lib/libsodium.so*
lrwxr-xr-x 1 root wheel ...
0
votes
3answers
28 views
2
votes
1answer
45 views
Error trying to unzip file: “need PK compat. v6.1 (can do v4.6)”
I received a zip file from a bank. I get the following error when I trying to unzip it.
unzip filename.zip
Archive: filename.zip
skipping: SOME_STUFF.pdf need PK compat. v6.1 (can do v4.6)
...
2
votes
0answers
8 views
Dropping packets before mangle POSTROUTING
In iptables on Linux 3.10, why do packets which have been DROPed by the FORWARD chain of the standard table still appear in the POSTROUTING chain of the mangle table? -- I'm trying to use the standard ...
0
votes
0answers
11 views
Awesomenauts won't run on Manjaro
I'm using Manjaro, and when I try to launch Awesomenauts (a Steam game) from Steam, it does not launch. Steam shows that I'm playing it for a slight second, but then I go back to just being "Online" ...
1
vote
1answer
17 views
Is there a difference between gunzip -c and gunzip in terms of system utilization?
Is there a difference between zcat/gunzip -c and gunzip apart from the obvious one that one outputs it to the terminal and the other decompresses it to a file? I'm looking from a CPU utilization ...
2
votes
0answers
15 views
How do I create a local repository for NixOS/nixpkgs?
All the instructions I find for creating a local repository of Nix packages involve creating a local clone of the main nixpkgs tree and adding to that.
Is there a way I can care a small repository ...
2
votes
0answers
13 views
reduce bandwidth consumption from downloading yum updates
I have several machines (7) running fedora and would like to reduce the amount of external bandwidth I am consuming. I see that there were several attempts to setup mirrors, but those projects seem ...
4
votes
4answers
208 views
How can measure how long it takes my script to run AND include that in an email it generates?
I have a simple bash script that runs a series of checks (ping, nslookup, etc) and then sends an email report with the output of that data.
I'd like the email to include information on how long it ...
2
votes
2answers
38 views
how to run awk twice across the same file
I have a log file with user_id's and another column with contest results.
I would like to:
find all the user_ids of the users who won
given those user_id's, return ALL the log entries for those ...
3
votes
1answer
15 views
setting or changing the default ip address
I'm a unix newbie, just know enough to be dangerous.
I have a SUSE server and recently added a second IP address (ending in .159) by editing the config file below. It works, however now all the ...
0
votes
2answers
24 views
Substitute all occurrences of pattern with first matched group
I have to go from this:
text match$something_here and match$xxx blablabla
text match$something_else_here and match$xxx blablabla
...
to this:
text match$something_here and match$something_here ...
0
votes
0answers
20 views
Mousepad is not working
I had installed ubuntu 14.04 lts on my machine and just found out that my mouse pad is not working, when I switched to windows its working properly. I search from forums for solutions but none of ...
0
votes
0answers
3 views
Combine svlogd logs from different runit services
I want to run a Node.js app with multiple Node processes running the exact same code. I'm using runit to start and manage the Node processes, because it has good Chef support. To illustrate the set ...
0
votes
0answers
21 views
System Boot Order not found (Secure boot is not enabled)
I have this problem http://forums.fedoraforum.org/showthread.php?t=299306. Although this thread is not mine, I experience this problem in familiar way. Also when I put live CD, it cannot boot from the ...
1
vote
2answers
66 views
How to handle spaces in path names when variable contains multiple paths [duplicate]
Although I've read myself through most of the questions about handling spaces in path names, I haven't found my case yet, which is about several path names in one variable.
find will need this when ...
0
votes
0answers
8 views
Slingscold launcher finds nothing
Trying to use Slingscold launcher in Linux Mint Xfce Qiana - it should look something like the search in Gnome Shell
but it finds nothing and is just empty:
Does it need some other dependency ...
2
votes
1answer
11 views
How to specify ConnectTimeout for dropbear?
I'm trying to use the Dropbear SSH and in the previous version of SSH I used, you could add the argument -o ConnectTimeout=10 to cause an attempted connection to timeout if unsuccessful after ten ...
1
vote
0answers
14 views
What causes ntpq refid CRYP when authentication is successful?
I have five servers that I'm configuring for production use based on a configuration we've recently tested. The servers are RHEL6 with NTP version [email protected]. Right now, though, I'm trying to ...
0
votes
0answers
16 views
Linux Generic Printer Driver: Pros and cons of ESC/2 versus IBM Proprinter [on hold]
I have a choice between the generic Linux printer drivers as described in the title. Each uses a different command set. Trying to evaluate Epson ESC/2 versus IBM Proprinter. Both are supported ...
1
vote
1answer
12 views
Setting DPI and monitors permanently
I'm running elementary OS Freya (based on Ubuntu 14.04) on a MacBook Pro 13.3" 2013 Retina and I'm having weird DPI problems:
Some applications (eg Google Chrome) have no awareness of DPI settings ...