Reputation
3,184
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
5 18 35
Newest
 Populist
Impact
~301k people reached

Aug
9
comment rc.local is not running /sbin/ifconfig command
What shell is rc.local running with? /bin/sh is not necessarily bash.
Aug
5
comment How can I easily deal with differences between BSD and GNU sed?
You think so? I use it all the time..
Aug
4
comment Enable Massive Concurrent SSH to a single server
Interesting, when I do execute one of the lines, a ps axu | egrep "ssh|sleep" | grep -v grep only lists the sleep 100s, not the ssh. I think you should change the command to ssh "echo hi; sleep 100s".
Aug
3
comment Enable Massive Concurrent SSH to a single server
I don't think the sleep 100s does what you think. It gets executed not in the ssh session, but on your own machine.
Jul
14
comment ssh login with a tunnel through intermediate server in a single command?
Can't you just log into the bridge server and ssh to your target server from there?
Jul
14
comment lsudo /sbin/ldconfig -v showing Garbage text
It looks like ldconfig reads an executable file and treats its contents as if it was a list of filenames. Running ldconfig with strace might give you an idea what the troublemaker is.
Jul
6
comment I have defined a macro in .netrc file but when I execute it from ftp it says “macro not found”
Ah sorry! Missed that somehow...
Jul
6
comment I have defined a macro in .netrc file but when I execute it from ftp it says “macro not found”
AFAIU, macros have to be executed with the $ macroname syntax..
Jul
6
comment service start: HOSTNAME: command not found
Could be space characters in a line like HOSTNAME = some-server, which should be HOSTNAME=some-server.
Jul
6
comment service start: HOSTNAME: command not found
Can you post the content of /etc/sysconfig/network?
May
6
comment Storing shell scripts
Of course, you'll have to make the scripts executable, using something like chmod a+x script1.sh
Apr
22
comment how to disable autofs4
@edwardtorvalds Sorry, no idea. Are you sure this takes 15 seconds?
Mar
19
comment sed - perform multiple substitutions on a line found by pattern search?
This prints two lines for each match. You have to remove the first 'p' action in the first two solutions.
Mar
17
comment Regular expression that ignores certain characters
@mikeserv I thought he wanted to ignore the \" and so on to be able to match e.g. muller with M\"uller.
Mar
16
comment Regular expression that ignores certain characters
@User133713 Could you clarify what the process is you are working on? Please edit your question...
Mar
16
comment Regular expression that ignores certain characters
Can you give an example of how you want to use the bib2bib tool?
Mar
11
comment Moving LXC container's backing storage
Can't you make /var/lib/lxc a symbolic link to a directory in /home?
Mar
11
comment Combining, sorting and deleting duplicates in numerous gzip files
The man page says that that the default is the number of processors. But a quick test sorting a few log files suggests that giving the parameter does make things faster. So: yes, use that parameter!
Mar
11
comment Combining, sorting and deleting duplicates in numerous gzip files
The merge command does something completely different; sort -m is the way to go. As to how to unzip: I don't think it matters much, as long as you don't start more than 2 processes per file: one to decompress, one to sort.
Mar
4
comment Syntax highlighting and export EPUB format
@MohsenPahlevanzadeh Could you please clarify what is meant by "RTL"? Is this right-to-left?