19,987 reputation
34475
bio website
location United States
age
visits member for 3 years, 2 months
seen 2 hours ago

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.


Feb
7
revised In Bash, when to alias, when to script, and when to write a function?
added 451 characters in body
Feb
7
comment In Bash, when to alias, when to script, and when to write a function?
Take a look at my answer as well for more concrete differences between functions and scripts. Basically, functions and aliases are for frequently used simple things that you want to be stored in memory, while scripts are for more rarely used commands that you don't mind reading from disk every time. Whether or not a new forked process is needed also makes a slight difference if you run a command several thousand times in a for loop.
Feb
6
revised In Bash, when to alias, when to script, and when to write a function?
added 39 characters in body
Feb
6
comment best bittorrent client on Linux
@FaheemMitha sorry I don't actually know b/c I've never done it before. You could ask how to do it over on the meta site.
Feb
6
comment passing passwords to a script
@eli Cracking a password protected key file shouldn't be any easier than cracking an account password of equivalent strength. A good random key is much harder to guess than a typical password. The one reason I have seen for enforcing password-only is because it is simpler logistically for site-admins to enforce site-wide password strength policies than it is to enforce private key passphrase policies.
Feb
6
comment best bittorrent client on Linux
@FaheemMitha You've been here longer than I have so it's up to you. I was just commenting because based on the FAQs and my own past observations of what sorts of questions get closed, I'm a little surprised this question is still open after nearly a year. The issue with this sort of question is it's a bit subjective, and there is no "one correct answer". I still think it's better as a CW, but you can always solicit opinions on meta before converting.
Feb
6
comment best bittorrent client on Linux
This question should be a community wiki if it is not going to be closed.
Feb
5
revised In Bash, when to alias, when to script, and when to write a function?
added 25 characters in body
Feb
5
comment Copy and paste a file/directory from command line
@Meysam printf is portable and safe while echo is not. The Wooledge wiki mentions this briefly.
Feb
5
answered In Bash, when to alias, when to script, and when to write a function?
Feb
3
comment Is /sbin/sulogin safe?
I'm not sure it makes sense to run sulogin outside of single-user mode. What are you trying to accomplish?
Feb
2
comment Execute command for x seconds?
BashFAQ/068
Feb
1
comment mv file without write permission to the source file
@MichaelDillon If you look at the edit history, I specifically added "on directories" after sticky bit before your comment just to avoid any confusion between different meanings of the sticky bit when applied to executables or directories. I generally like to keep answers short and to the point so it was not my intention to explain any historical background, but your comment does add to the discussion, so +1 from me.
Feb
1
revised mv file without write permission to the source file
added 15 characters in body
Feb
1
revised mv file without write permission to the source file
edited tags
Feb
1
revised mv file without write permission to the source file
deleted 88 characters in body
Feb
1
answered mv file without write permission to the source file
Jan
31
answered Limit window size when maximizing in Xfce
Jan
31
comment Advantages of using set -o vi
Similar situation for me - I use vim a lot but I've always found it less work to become proficient at the default emacs-like readline keys (which can be just as convenient as the vi subset) than it is to add a line switching to the vi mode on every new system I come across.
Jan
30
comment In vim, search backwards for matching braces/parens
If you are not opposed to addon scripts, the matchit addon provides a g% command that seems similar to what you are looking for.