Advertiment about this articles

SSH Basic Command

Artikel command Artikel Linux Artikel ssh

Basic The Article

I have had people asking me about commands, and the basic commands, to at least get them going.

The list below is not meant to be a complete guide, but more so a list of some of the basic commands and what they do, as well as the proper formatting for the .

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 software, if not, I’ll list a few of my favorites.

: cd
Format: cd /directory/you/want/to/go/to
This is the most basic, and widely used.  The cd is used to move to the directory you specify.

: cp
Format: cp /directory/you/want/to/copy /directory/where/you/want/to/copy/to
The cp will copy the file or folder you specify in the first portion, to the location you specify in the second portion.

: mkdir
Format: mkdir /directory/you/want/to/create
mkdir creates the directory or folder you specify

: rmdir
Format: rmdir /directory/you/want/to/delete
The rmdir deletes the directory or folder you specify.

: mv
Format: mv /directory/you/want/to/rename/or/move /new/directory/name/or/location
The mv will rename or move the file stated in the first portion to the name or location stated in the second portion.

: rm
Format: rm filename.pl
The rm will move the file specified.

: tar cvf
Format: tar cvf filename.tar.gz /directory/you/wish/to/archive
This will tar zip the files in the directory specified in the second portion into a tar file specified in the first portion.

: tar -xvf
Format: tar -xvf filename.tar.gz
The tar -xvf will extract all files from the tarball specified into the directory you are currently in.

: zip
Format: zip yourfile.zip /file/or/folder/you/want/to/zip
This will create a zip file, with the name specified in the first portion from the file or directory listed in the second portion.

: unzip
Format: unzip yourfile.zip
This will unzip or un pack the named zip file, into the directory you’re currently in.

: Ls
Format: Ls /directory/you/wish/to/list/files/
The Ls lists files, and folders within the directory you specify

: Ls -f
Format: Ls -f /directory/you/wish/to/list/files/
This will add a forward slash to the directory names within the directory you specify

: Ls -a
Format: Ls -a /directory/you/wish/to/list/files/
This will show “hidden” files in the directory you specify

: Ls -l
Format: Ls -l /directory/you/wish/to/list/files/
This shows detailed info about each file in the directory you specify.

Some suggested software
As I stated earlier, I will give a few of my favorite clients, and where you can obtain them.

taken from : http://www.hostpapers.com/article/118

thanks

my site : http://www.rizkyonline.com

Tags: , ,

Artikel Sejenis sesuai TAGs


Artikel lain yang mungkin berguna

Kata Kunci yang berhubungan dengan artikel ini

5 Basic Linux SSH Client Commands, SSH and Basic Commands, SSH, Common SSH Commands - Linux Shell Commands - Hosting Tutorials, Ssh Command, Using SSH and Unix commands -eginners tutorial, NetSSHPerl - Perl client Interface to SSH, SSHCmds.com SSH and Linux Commands, Common SSH Commands, Basic Linux Commands The ssh Command,

Hasil Pencarian yang mengarah pada artikel ini

Leave a Reply

You must be logged in to post a comment.