Reputation
1,794
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 7 8
Newest
 Enlightened
Impact
~159k people reached

  • 0 posts edited
  • 0 helpful flags
  • 23 votes cast
Jun
4
awarded  Enlightened
Jun
3
awarded  Nice Answer
Jan
6
awarded  Notable Question
Dec
22
awarded  Great Answer
Nov
1
awarded  Yearling
Dec
17
comment bash - replace space with new line
replace change with substitute, that's what the s actually stands for!
Dec
17
comment bash - replace space with new line
sed can do so much more, but is totally overkill for this. tr is the right tool for THIS job, but knowledge of sed and regexes will certainly come in handy later!
Dec
17
comment bash - replace space with new line
tr was my first thought as well, although there are so many ways to do it! This is pretty much EXACTLY what tr is for, though!
Dec
13
comment How to find out which file is currently opened in vim?
I always use statusline as well. +1
Dec
12
awarded  Popular Question
Dec
3
answered Can no longer boot after updating Arch
Dec
3
comment Can no longer boot after updating Arch
Check your init settings from gummiboot (which I've never personally used). It may be either missing something or have something it doesn't need anymore. Hop into irc #archlinux on freenode. They're usually pretty knowledgable and quick to help.
Dec
2
comment How do I get a websites title using command line?
+1 For ruby + nokogiri. I've used it for all kinds of web scraping, it's amazing!
Nov
29
comment `cd` up the canonical path
@Lekensteyn Yeah, but I can remember to type back if I want to go back a directory, and don't do it often enough to remember cd -
Nov
27
comment `cd` up the canonical path
alias back=cd "$OLDPWD"
Nov
26
awarded  Guru
Nov
25
comment Is it possbile to mount Windows filesystems without using the root account?
SMB/CIFS is definitely the way to go for that (or if you're able to get onto the windows machine, something like winsshfs or winscp if ssh is available on the linux server)
Nov
22
comment play mp3 file as soon as its downloaded
I might be wrong, but you -MIGHT- be able to just mplayer the URL and have it play the track. I haven't used mplayer in a while, though.
Nov
20
comment A command that gives username@hostname:pwd
$(whoami) runs the command whoami and uses the output, and $PWD just grabs an environment variable. Forking off fewer processes is better for speed and performance, but in this case it doesn't really make a difference. If you do printenv it should list all the environment variables. I have a $USER, so I could use echo "$USER@$(hostname):$PWD"
Nov
20
comment How to get only files created after a date with ls?
-newermt was not available on the last server I was working on. -newer does accept files/directories and will only list files newer than that file/directory, though.