Tag Archives: ssh

TAR command

Sharecreate: tar -cvf mystuff.tar mystuff/ tar -czvf mystuff.tgz mystuff/ extracting: tar -xvf mystuff.tar tar -xzvf mystuff.tgz testing/viewing: tar -tvf mystuff.tar tar -tzvf mystuff.tgz Note that .tgz is the same thing as .tar.gz Tar “tars up” a bunch of files into … Continue reading

Posted in apache, linux, server, ssh | Tagged , , , | Leave a comment

linux: change ownership and permission for file or directory via ssh

Sharesources: http://webtools.live2support.com/linux/chown.php, http://www.tuxfiles.org/linuxhelp/fileowner.html I’ve tried this 2 lines in order. chown -R -v [username]  [directory/file] chmod -R -v [permission]  [username]  [directory/file] -R = recursively, including sub directories -v = verbose, you will see it in action

Posted in linux, server | Tagged , , , , , , | 1 Comment