Tar , UnTar and UnZip
--------------------------------
tar -zxf 18012005.tar vikrant/
tar -zcf newtitle.tar *.php
unzip myzip.zip
Folder SIZE
----------------
du -skh * | less -- Check the folder size
du -skh *| grep M | less -- Check the folder size which has MB
SCP:
-------------
-->Upload File to Server
# scp config.php username@www.youdomain.com:/home/rootdir/filename.php
-->Download file from server on Currnet directory.
# scp username@www.youdomain.com:/home/rootdir/filename.php .
Fetch (Download files from server)
-----------------------------------------
#wget http://yuordomain.com .
List Contents of Directory
---------------------------------
ls -l | wc -- (Get Number of Files /Content)
ls -lah -- (Human redable file size)
Check ServerLoad
----------------------
w
No comments:
Post a Comment