Linux – Update / Upgrade
CHeck for update Update cento os binaries and packages Upgrade cent os to latest distro or it can also be commanded like below to avoid Y prompt. -y can be used with both update and upgrade
Read MoreLinux – Directory (Folder)
The following command will display the present working directory. Change directory to Home change directory to user home directory change directory to root directory List contents of the directory List other user’s directory
Read MoreLinux – Delete User Account Only (+Home Directory)
Login as Root User and run the following command, below command will delete the user from the system. However the above command will keep the user’s home directory. If you also want to delete user’s home directory along with the user the use the following command.
Read MoreLinux – Login as different user
Change from current logged-in user to a different user For example
Read MoreLinux – Check User belongs to which Group (Wheel Group)
Below command will dislpay the wheel group
Read MoreLinux – Add User to SUDO Group
You need root permissions to perform the following action OR
Read MoreLinux – Change Password
Change user password assuming you are logged in as root user or your logged in user has root permissions Example
Read MoreLinux – Add User
Add new user to Linux Operating System If logged in as root user OR If not logged in as root user
Read More