Using the Linux Command Line

Glenn Norman

This is post 1 of 11 in the series “The Linux Command Line” Objectives Understanding Linux file systems, users and groups, and permissions. Becoming familiar with basic navigational commands, built-in and binary executables, and advanced functions available at the bash command line. Learning how to use special permissions on executables and directories to manage availability …

Group Information

Where group information is stored Group information is stored in /etc/group. This file should be changed with the usermod, groupadd and groupmod commands. The format of each line is: Group name Group password (hardly ever used) Group ID User names (separated by commas) Each field is separated by a colon.

Linux User Default Files

Hacker Girl

This is post 7 of 11 in the series “The Linux Command Line” When a new user is created, the default files and directories that are created are stored in /etc/skel. This directory can be modified to fit your needs. Modifications will only affect new users; they do not change anything for existing users.

sudo and su –

Hacker Girl

This is post 9 of 11 in the series “The Linux Command Line” Both sudo and su are highly dangerous. The sudo command is used to run a following command as the super-user. Think “super-user do.” It lets regular users do rootly thing, like: sudo cat /etc/shadow You’ll be prompted for a password: Your Password. …