213 reputation
15
bio website
location Nashville, TN
age 27
visits member for 1 year, 7 months
seen 2 days ago

Apr
29
awarded  Caucus
Feb
15
awarded  Commentator
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.
Feb
3
awarded  Editor
Feb
3
revised why “date -u” command shows time 25 seconds ahead “export TZ=UTC; date”?
fix formatting of command output
Feb
3
suggested suggested edit on why “date -u” command shows time 25 seconds ahead “export TZ=UTC; date”?
Feb
3
awarded  Yearling
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.
Feb
5
answered How do I start in bash when ssh'ing into my server?
Jan
15
awarded  Teacher
Jan
15
awarded  Supporter
Jan
15
comment Robocopy, starts, then stops
@user88311 it's a command line tool, not a GUI