affiliate marketing

SSH Basic Command

Share on :



The list below is not Meant to be a complete SSH guide, but more so a list of some of the basic commands and what They do, as well as the proper formatting for the command.
I'll start with what I think is the most basic, and work my way up.
In this guide, I'll assume you at least have some SSH software, if not, I'll list A Few of my favorites.
Command: cd Format: cd / directory / you / want / to / go / to This command is the most basic, and widely used.The cd command is used to move to the directory you specify.
Command: cp Format: cp / directory / you / want / to / copy / directory / where / you / want / to / copy / to Will The cp command copies the file or folder you specify in the first portion, to the location you specify in the second portion.
Command: mkdir Format: mkdir / directory / you / want / to / create mkdir creates the directory or folder you specify
Command: rmdir Format: rmdir / directory / you / want / to / delete The rmdir command deletes the directory or folder you specify.
Command: mv Format: mv / directory / you / want / to / renamed / or / move / new / directory / name / or / location The mv command will from rename or move the file Stated in the first portion to the name or location Stated in the second portion.
Command: rm Format: rm filename.pl The rm command Will move the file specified.
Command: tar cvf Format: tar cvf filename.tar.gz / directory / you / wish / to / archive This command will from tar zip the files in the directory specified in the second portion into a tar file specified in the first portion.
Command: tar-xvf Format: tar-xvf filename.tar.gz The tar-xvf Will extract all files from the specified tarball into the directory you are currently in.
Command: zip Format: zip yourfile.zip / file / or / folder / you / want / to / zip Will this create a zip file, with the name specified in the first portion from the file or directory listed in the second portion.
Command: unzip Format: unzip yourfile.zip Will this command to unzip or un pack the named zip file, into the directory you're currently in.
Command: Ls Format: ls / directory / you / wish / to / lists / files / The ls command lists files, and folders within the directory you specify Command: ls-f Format: ls-f / directory / you / wish / to / lists / files / Will this add a forward slash to the directory names within the directory you specify
Command: ls-a Format: ls-a / directory / you / wish / to / lists / files / Will this show "hidden" files in the directory you specify
Command: ls-l Format: ls-l / directory / you / wish / to / lists / files / This command shows detailed info about each file in the directory you specify.


0 comments on SSH Basic Command :

Post a Comment and Don't Spam!

Do Follow Blog.. Leave a Comment..
Don't Spam..

Related Posts Plugin for WordPress, Blogger...