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. …

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.


Glenn Norman

This is post 10 of 19 in the series “[ Shell Scripting ]” Any number of commands can be pipelined together. command1 | command2 The above command creates a pipe: the standard output of command1 is connected to the standard input of command2. Any command that can accept Standard Input and produce Standard Output is …