Basic Linux Commands

Reading Time: < 1 minute

In this segment we are going to talk about some of the basic Linux commands you might need to know in order to administrate a system.

shutdown -h now
shutdown -r now


Let’s look at our block devices. This is handy in a number of situations. It can be very handy not only to identify any USB drives but any USB Flash drives as well.

lsblk -a

Let’s create a basic user … let’s say “user”

For some versions of Linux there may be an admin group. If this is going to be an admin or if you are going to leverage permissions to users that have been assigned to that group… we can take care of that now.

adduser user admin

Now you can can edit the /etc/sudoers file to add “user”. In this instance he is setup so that he is not prompted for a password. This is sometimes necessary for some jobs (VMware vSphere Converter Standalone)

# User privilege specification
root    ALL=(ALL:ALL) ALL
This entry was posted in Linux, Ubuntu. Bookmark the permalink.