From 16a65f30274c05334929d34b6889372d4fba5355 Mon Sep 17 00:00:00 2001 From: Ana1ya7at0R <44450136+Ana1ya7at0R@users.noreply.github.com> Date: Thu, 10 Jan 2019 10:49:22 -0800 Subject: [PATCH] Update index.md (#28366) Added whoami command --- guide/english/linux/basic-linux-commands/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guide/english/linux/basic-linux-commands/index.md b/guide/english/linux/basic-linux-commands/index.md index 46f3158b48..736f7aa496 100644 --- a/guide/english/linux/basic-linux-commands/index.md +++ b/guide/english/linux/basic-linux-commands/index.md @@ -92,6 +92,9 @@ When starting out with Linux, there are some basic commands everyone should know 26. **passwd** - changes user passwords - Use `passwd -h` to look at the options available for changing passwords. +27. **whoami** - display current user +- Use this command to display the username of the current user to the console. + ### Useful Resources for Practice: - [JSLinux](https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/buildroot-x86.cfg): Run the terminal inside your browser. Great for practice. - [LearnShell](https://www.learnshell.org/): Interactive Linux shell (terminal) tutorials.