| Command |
Description |
|
# gpg -c file1 |
encrypt a file with GNU Privacy Guard [man] |
|
# gpg file1.gpg |
decrypt a file with GNU Privacy Guard [man] |
|
# grep Aug /var/log/messages |
look up words "Aug" on file '/var/log/messages' [man] |
|
# grep ^Aug /var/log/messages |
look up words that begin with "Aug" on file '/var/log/messages' [man] |
|
# grep [0-9] /var/log/messages |
select from file '/var/log/messages' all lines that contain numbers [man] |
|
# grep Aug -R /var/log/* |
search string "Aug" at directory '/var/log' and below [man] |
|
# groupadd [group] |
create a new group [man] |
|
# groupdel [group] |
delete a group [man] |
|
# groupmod -n moon sun |
rename a group from moon to sun [man] |
|
# grpck |
check correct syntax and file format of '/etc/group' and groups existence [man] |
|
# gunzip file1.gz |
decompress a file called 'file1.gz' [man] |
|
# gzip file1 |
compress a file called 'file1' [man] |
|
# gzip -9 file1 |
compress with maximum compression [man] |