rsync options source destination
For copy between remote and local here is a example:
rsync -avzu firstname.lastname@example.org:/var/lib/rpm /root/temp
- recursing while preserving time stamp, file permissions and symbolic links. Very useful option
v = verbose
z = use compression to save time and bandwidth
u = don't overwrite files in destination that is different from that in source. If file is absent in dest. then only it is copied. very useful if you have made some configuration changes in the destination and don't want to loose the changes while sync'ing for other files.
or better still
rsync -avzu -e ssh email@example.com:/var/lib/rpm /root/temp
Same as above expect that synchronization is done over ssh so that no one will be able to snip the network packet and understand what is being transfered
other usefull option to pass along with the usefull avz we have seen above are:
-d = synchronize only directories not files
--progress = show progress when syncing
--delete = make the dest a exact copy of source. it deletes the files in dest. that is not there in source.
File system Quota
Checks the filesys for quota information.
a= Check all quota-enabled filesystem
u= check user based quota
g= check group based quota
edquota command opens the quota settings for the specific user in a editor. In that first soft and hard limit is for filesys and seconf is hard and soft limit for number of inodes.
Hard limit is a limit after which does not permit file creation after that limit is reached.
Soft limit is a limit after which user is warned about crossing the limit.
repquota report the disk quota usage for the users and groups.
* dmidecode gives us hardware information. Not just as currently used but the max capacity and current state of hardware.
* dmesg shows hardware information as detected by kernel
* The timezone of the system is defined by the contents of /etc/localtime.