Category Archives: linux

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

Error installing apache,php on windows vista

ShareI’ve done this before, I’ve installed it several times but how come this time it’s not working with the same settings that needed to be changed… a moment of confusion, annoyance and craziness flashed on my eyes. I’ve exerted every … Continue reading

Posted in apache, linux, mysql, php | 1 Comment

linux cheat sheet

ShareClick on the image below to view the linux cheat sheet

Posted in linux | 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