243 reputation
15
bio website
location Nashville, TN
age 27
visits member for 1 year, 11 months
seen Dec 10 at 6:06

Feb
10
comment How can I set grep to default to a certain filename pattern?
csh is not POSIX compliant.
Feb
10
comment How can I set grep to default to a certain filename pattern?
@terdon I am going to guess no, since alias wasn't added to the POSIX spec until 2004.
Feb
10
comment How can I set grep to default to a certain filename pattern?
@slyx that should be an answer, but with "$@" instead of $1.
Apr
27
comment one sudo for multiple terminals
run screen after you start a shell with sudo?
Apr
23
comment How can i set the flags with gentoo prefix
unset PKG_CONFIG_PATH.
Mar
16
comment shell scripting - How to zip contents inside a folder without the folder itself?
Unless the files have spaces
Feb
5
comment How do I start in bash when ssh'ing into my server?
If you use adduser, it should set it to bash by default. The default is configured in /etc/adduser.conf. Otherwise specify the shell explicitly with useradd.
Feb
5
comment How do I start in bash when ssh'ing into my server?
See "posix mode" in the bash manpage. When used in scripting as /bin/sh, it's not really a problem (which is what I believe you are referring to). In interactive use, differences are more likely to be noticed. E.g. When executed as /bin/sh not all RC files are sourced.
Feb
5
comment How do I start in bash when ssh'ing into my server?
Good to hear you have been very careful. Not everyone has. Another note on your update, launching /bin/bash as /bin/sh is the same as executing it with --posix, which may have undesirable results.
Feb
5
comment How do I start in bash when ssh'ing into my server?
Manual edits of /etc/passwd are highly discouraged. An editing mistake can break logins for all users, requiring recovery media or a boot to single user mode to repair. There are tools such as usermod for changing /etc/passwd.
Jan
15
comment Robocopy, starts, then stops
@user88311 it's a command line tool, not a GUI