520 reputation
26
bio website
location Chicago, IL
age 26
visits member for 3 years, 1 month
seen 2 days ago

Mar
30
comment /etc/environment not working
I have the same problem as the OP. ~/.profile is including the user's private bin/, ~/.bash_profile and ~/.bash_login don't exist (I don't think they ever did), and /etc/environment is correct (and with the correct permissions according to another answer). The PATH from /etc/environment still isn't being loaded, except it is being loaded for a newly-created user. Ubuntu 12.04 - any further ideas? (In the meantime, I'm just sourcing it in ~/.bashrc, although I would like to know what broke)
Mar
21
comment How to shutdown Linux at a specific datetime from terminal?
@Ramesh You can't delete your answer if it's been accepted. Mods can, but they're very unlikely to.
Mar
20
comment How to comment multiple lines at once?
Or even use / to jump to the endpoint, or % if the endpoint is a matching } (or { if jumping backwards). I like the visual modes so much more than specifying ranges...
Mar
19
comment Why are there so many different ways to measure disk usage?
I remember seeing a card catalog when I was like 6. I wonder how many won't know what they are?
Mar
2
comment Make disk/disk copy slower
@antonone But Unix.SE is not ArchLinux's forums. Someone here might have a solution.
Feb
19
comment Delete files and directories by their names. No such file or directory
-delete also handles things like spaces better
Jan
28
comment How to redirect the output of any command?
Be careful with the redirection operators, their order matters a lot., but you didn't include an example of actually using 2>&1
Dec
24
comment How to copy files from one machine to another using ssh
@Alan I think you mean "cumbersome"? Cumber Stone is a Magic card ;)
Dec
21
comment Why does the less-than sign not work as a replacement for cat in bash?
"Bad" is subjective here. I find those to be better overall, because it is way more consistent and easier to read. And the flow of data is fully left-to-right, as it should be if there's more pipes involved
Dec
2
comment Why do Unix-heads say “minus”?
I've found dash to be less common because in plain English it has an implied space before and after the dash, which isn't always correct (and definitely at least looks wrong: rm - rf foo/).
Nov
27
comment `cd` up the canonical path
@dotancohen cp --help generally gives short info compared to the main page (or in this case, all the info since it doesn't have a man page)
Nov
13
awarded  Yearling
Nov
1
comment What is the difference between echo `date`, echo “`date`”, and echo '`date`'?
@BonsiScott The extra space between "Nov" and "1" is removed in HTML as well ;)
Sep
15
comment Why not always use rsync?
sometimes it is just not worth typing those few extra characters - I've aliased pcp (for "progress copy") for that ;)
Sep
2
answered How to do multiple brace expansions without combinatorial explosion?
Aug
29
comment timestamp before an echo
@derobert Because the implementation is hidden away in a function, echo_time could just use the OP's date+echo construct
Aug
28
comment Using grep or awk
~headtilt~ PHP is on there but Perl isn't?
Aug
10
answered Make bash use external `time` command rather than shell built-in
Jul
27
comment VIM commenting out what I paste
@valbaca You can use backticks to create code blocks in comments
Jul
10
comment When wouldn't one want `cp` to be recursive?
@terdon Unless it was just entirely reversed, with something like -N for "no-recurse"