Search results

Jump to navigation Jump to search
  • ..., dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...) <tr><td>/usr/bin/whoami</td><td>prints effective username of the current user</td><td></td></tr>
    11 KB (2,086 words) - 23:54, January 28, 2024
  • PS1="${USER:-$(whoami 2>/dev/null)}@$(uname -n 2>/dev/null) \$ "
    12 KB (1,786 words) - 07:52, April 13, 2020
  • PS1="${USER:-$(whoami 2>/dev/null)}@$(uname -n 2>/dev/null) \$ "
    13 KB (1,914 words) - 07:52, April 13, 2020
  • ...your current effective user id. To view it, type <span style="color:green">whoami</span>: # whoami
    48 KB (8,204 words) - 08:55, December 28, 2014
  • PS1="${USER:-$(whoami 2>/dev/null)}@$(uname -n 2>/dev/null) \$ "
    13 KB (1,938 words) - 23:30, April 14, 2020