From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Command overview - Linux Tutorial
From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks
Command overview
- In this lesson we have seen quite a few commands. Let's have a look at them. Whoami, showing your current username, and sudo allows you to run commands with escalated privileges. Id is useful if you want to see your group membership, or for another user, other user group membership. Su - allows you to open a shell as a different user, which is convenient for testing. Then we have seen useradd and groupadd for adding users and group. And usermod and groupmod for modifying users and groups. And userdel and groupdel for deleting users as well as groups. Passwd can be used to manage passwords. And then we have seen chown for change ownership. Relevant if you want to set permissions on files. Chgrp is changing the file group owner. And chmod is changing the actual permissions. Umask is a setting that defines your default permissions, and touch is a convenience command that allows you to create empty files, useful for testing writeability. Ps will list processes, and top will give a nice…
Contents
-
-
-
-
(Locked)
Learning objectives37s
-
(Locked)
Working as administrator6m 36s
-
(Locked)
Linux users and groups4m 31s
-
File permissions and ownership7m 4s
-
(Locked)
Managing processes9m 5s
-
(Locked)
Starting processes automatically3m 32s
-
(Locked)
Background and foreground jobs1m 40s
-
(Locked)
Command overview1m 48s
-
(Locked)
Lesson 2 lab: Managing users and processes42s
-
(Locked)
Lesson 2 lab solution: Managing users and processes2m 55s
-
(Locked)
-
-
-