[root@alanstudio]# chmod 755 file1

Change permission mode of files

[root@alanstudio]# chown apache.apache file1

Change owner of file: user.group

[root@alanstudio]# cp -p file1 /backup/file2

Copy file with same permission

[root@alanstudio]# mkdir /backup/folder

make directory

[root@alanstudio]# rm -fr /temp

Force remove entity /temp folder without prompt
Caution: No any method to restore after deletion

[root@alanstudio]# rsync -av /home/alan /backup

Rsync entity folder 'alan' to destination '/backup'

[root@alanstudio]# rsync -av -e ssh /home/alan root@abc.com:/backup

Rsync via ssh to other server



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.