Linux Commands Training – Commands in Usr Sbin Directory – Linux System Administration Training

0
2

Linux commands are actually small program files called binaries that are in several Linux "system" directories.

There are program files for lots of Linux system administration commands in the / sbin path – and there are also many in / usr / sbin

It's important to note that these program files do not have a "filename ending" in "dot something" the way that all Windows program files end in .com and .exe.

The Linux / usr / sbin Directory (Path)

The two / sbin and / usr / sbin directories contain most of the main Linux system administration commands.

The " sbin " in the name of this directory stands for s uperuser bin aries. The main Linux system administration user is called root, and this user is also referred to as the "Superusuer". This directory is prefixed with an "s" to indicate that by default, these commands can only be run by the root user.

Linux Commands Training Tips:

The Linux System Administration commands, concepts, and tasks covered here apply to ALL other Linux distributions, including: Red Hat, Fedora, Ubuntu, Kubuntu, Edubuntu, Debian, SUSE, openSUSE and Slackware.

Looking at the Linux Files in / usr / sbin with the ls Command – Example

$ ls -l / usr / sbin | less Scroll down to see the Linux atd, cron, and groupdel files – and lots of other binary programs that are used for system administration.

Press q to quit out of using less.

Now use the "pattern" of "user *" to list all the files in / usr / sbin beginning with "user".

$ ls -l / usr / sbin / user * These commands are used to add, delete and modify Linux users.

Source

Leave a Reply