0
votes
0answers
3 views
zsh expand-or-complete for all files regardless of command/context
zsh has a feature where command line tab-completion performs context-aware completions, so you can do things like:
# Good:
$ wget g<tab> # becomes:
$ wget gopher://
$ wget --hea<tab> ...
1
vote
1answer
12 views
Mysteriously hot machine; Where to begin troubleshooting?
I'm running the latest Arch Linux on my ThinkPad t420 laptop, and am having an intermittent heat problem where my temp will rise from the typical ~45°C to ~75-90°C, and stay there until I reboot.
As ...
0
votes
1answer
17 views
How to increase the link count for a directory, link count went to 0?
I have made myself land in this situation, it is a chrooted workspace on my system where I virtualize the entire file system ( so its not actual /var/log ) Is there a way that I can either delete this ...
0
votes
0answers
10 views
Can't swap between two bootable drives
I'm attempting to setup a 2-drive (sda, sdb) RAID 1 in my PC, using Raider to convert from my old single drive (sda) system to the new RAID 1.
From sda, on sdb I ran:
# raider -R1
# raider --run
...
0
votes
1answer
25 views
Linux Kernel limit access to root with a button?
Hey I wanted to know if it's possible to limit the access to a root account from within the kernel. I mean that if I press a button then the system detect the button being pressed and then allow ...
0
votes
1answer
11 views
Run binaries background (mongod, redis-server)
I'm trying to make a script that launch mongodb server and redis server in background and shell detached.
I don't want any nohup.out, dump.rdb, etc.
This is what I got for the moment :
mongod --fork
...
0
votes
0answers
13 views
WM-independent way to focus/raise URGENT window
I would like to have a keyboard shortcut to "go to" (focus + raise) window with URGENT flag set.
This window might be on other virtual desktop than current.
In this particular case it is Skype ...
1
vote
2answers
23 views
How I can record stream radio in Linux?
How can I record a radio stream in Linux like the screamer in Windows? Does anyone have any idea or suggestion?
0
votes
0answers
4 views
ices-cc (libvorbis) linking fails on Ubuntu 13.04 - lgcc_s not found
I'm trying to compile compile ices-cc into a set of static files on Ubuntu Server 13.04. I use the automatic Centova's build-ices.sh script and use the following command:
./buildices.sh ...
2
votes
3answers
51 views
How to find multiple strings in files?
I use the following command to find files with a given string:
find /var/www/http -type f | xargs grep -iR "STRING1"
But how can I find files which include "STRING1" OR "STRING2" OR "STRING3"?
...
1
vote
2answers
46 views
How can a group own a file?
Whe I do ls -l, two of the fields are username of the owner and name of the owning group.
The username is clear - I created the file, it is mine. However the group entry confuses me. My user is a ...
0
votes
1answer
15 views
How do I install Solaris 10 on a Sunblade 150 machine using external DVD drive?
I want to install Solaris 10 on a Sunblade 150 Machine. It comes on a CD-ROM. Can I install it using an external DVD-drive?
0
votes
1answer
42 views
How to terminate a hung process in SSH?
I have a SSH session with a VM running on Amazon AWS.
One of the programs I had run hung up and froze the SSH terminal.
So I hit Enter+~+.
Now when I am trying to connect to my machine it says ...
0
votes
1answer
24 views
Vlook up in gawk or unix
I would like to do a vlookup in unix or gawk.
I have a file with a column of numbers (file1)
I have a file with several columns (file2)
I want to look up for the numbers I have in file 1 into column ...
1
vote
1answer
15 views
Junk a part of the directory with unzip?
A zipfile f.zip contains a bunch of files all with directories.
A/B
A/B/C
A/B/C/D
..
A/B2
Now I'm only interested in the tree below C/D. I can do unzip f.zip */D/* -d . which unzips everything ...