Tag Archives: linux

linux cheat sheet

Share Click on the image below to view the linux cheat sheet

Posted in linux | Tagged , | Leave a comment

linux command lines

ShareSome command lines I’ve learned from friends. du -bsx * | sort -n =  will list folders/files along with it’s sizes and sorted asc ls -lst = will list files/folder with dates, modes or in details pwd = will show … Continue reading

Posted in anything under the moonlight, server | 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

Linux / Unix rmdir command

ShareAbout rmdirDeletes a directory. Syntax rmdir [OPTION]… DIRECTORY… –ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty. -p, –parents Remove DIRECTORY and its ancestors. E.g., `rmdir -p a/b/c’ is similar to `rmdir a/b/c a/b a’. -v, –verbose … Continue reading

Posted in linux, server | Tagged | 2 Comments

scp server to server

ShareSOURCE: http://forums.serverbeach.com/archive/index.php/t-2202.html I’ve been looking for this reference and finally found it. Thanks for them who posted it on the link above. I’ll be trying this out Let’s begin and assume the following information: Server A is our host where … Continue reading

Posted in server | Tagged , , | 6 Comments