Skip to content

Commit

Permalink
Addition of whoami command
Browse files Browse the repository at this point in the history
Added entry freeCodeCamp#15 and corrected a typo as well.
  • Loading branch information
Ana1ya7at0R committed Oct 27, 2018
1 parent 459f4af commit 1046a25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion guide/english/linux/basic-linux-commands/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ When starting out with linux, there are some basic commands everyone should know
- Use `clear` to simply clear all output from your terminal.

14. **cp** - copy files and directories
- Use 'cp' to copy a file or a direcotry with files inside it to another location using command 'cp CURRENT_FILE-LOCATION DESTINATION_FOLDER'. Add '-r' flag to copy a directory that is not empty.
- Use 'cp' to copy a file or a directory with files inside it to another location using command 'cp CURRENT_FILE-LOCATION DESTINATION_FOLDER'. Add '-r' flag to copy a directory that is not empty.

15. **whoami** - print current username
- Use 'whoami' to print 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.
Expand Down

0 comments on commit 1046a25

Please sign in to comment.