Please analyze and summarize the accomplishing tasks with Linux commands and Linux.
1. pwd
This command Displays the current working directory of the terminal.
syntax:
$ pwd
2. echo
This command writes its arguments to standard output.
syntax:
$ echo "<text>"
3. su
This command is used to switch to root-user so that superuser permissions can be used to execute commands.
syntax:
$ su
4. su <username>
This command is used to switch to a different user whose name is passed as the argument.
syntax:
$ su <username>
5. sudo
This command executes only that command with root/ superuser privileges.
syntax:
$ sudo <command>
Get Answers For Free
Most questions answered within 1 hours.