All information on this site pertains to CentOS

Changing permissions:
1.  ]# chmod -R 777 /the/directory (before updates)
2.  ]# chmod -R 775 /the/directory (after updates)


ziping a directory:

1. Make sure zip is installed ( #] yum install zip )
2. ]# zip -r directory.zip directory

Porting cron Shell Script output to text file:
0 * * * root /home/script.sh >> /home/script.log 2>&1

Extracting tar.gz file:
]# tar xvzf file.tar.gz

Moving a file from one directory to another:
]# mv /the/directory/file /to/the/directory/file

Hits: 279