Reputation
6,907
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 21 31
Impact
~605k people reached

Aug
10
comment Which shell should I learn for FreeBSD and Debian?
@EmanuelBerg: The C shell is called that because its syntax is similar to C -- but it's not really all that close. I find bash to be more consistent and powerful.
Aug
10
revised Which shell should I learn for FreeBSD and Debian?
Typos
Aug
10
answered xterm doesn't switch directory when it is moved
Jul
17
revised Perl script, do cd on terminal
added 327 characters in body
Jul
17
comment Perl script, do cd on terminal
Ah, I missed the "that runs a shell script" part. Which leaves an open question: Why??
Jul
17
answered Perl script, do cd on terminal
Jul
17
comment Perl script, do cd on terminal
Your b.pl script would be more simply written as system './a.sh' -- and it's not particularly useful, since you might as well just invoke a.sh directly.
Jul
13
comment Get a list of 3 letter commands on Mac OS X
I'd pipe the output through something like sed 's,.*/,,' | sort -u to remove the directory names and strip duplicates, and then perhaps through fmt so the output fits on my screen.
Jul
13
comment Get a list of 3 letter commands on Mac OS X
@WarrenYoung: printf is more flexible, and much more consistent, than echo. I agree that echo would almost certainly work fine in this case. Both echo and printf are built-in commands, at least in bash.
Jul
13
answered Using VI keys to edit shell commands in UNIX
Jul
13
comment Using VI keys to edit shell commands in UNIX
That sets your default editor (for commands that pay attention to $EDITOR) to vi. It doesn't let you edit shell commands with vi (at least not directly).
Jul
3
comment Origin of 'root' account
I just looked at the Multics documents you linked to. They refer to the root directory (and the root volume), but there's no reference to a root user.
Jul
3
revised Origin of 'root' account
Add links for URLs
Jul
3
suggested approved edit on Origin of 'root' account
Jul
1
comment random number needed
@Alexios: /dev/urandom is almost always a better choice than /dev/random. See this question and my answer.
Jun
26
comment bash equivalent of this use of tcsh “sched” command?
Pre- vs. post- doesn't matter much; I can live with $today not being set correctly for the first command I execute after midnight.
Jun
26
comment bash equivalent of this use of tcsh “sched” command?
As I said in the question, at won't work; it can't set an environment variable in the shell from which it's invoked.
Jun
25
comment bash equivalent of this use of tcsh “sched” command?
That's likely to be the best I can do. The first disadvantage is what I'm most concerned about. We'll see of anyone else comes up with a better solution.
Jun
25
asked bash equivalent of this use of tcsh “sched” command?
Jun
10
answered Is it possible for a shell script to contain both tcsh and bash commands in the same script?