You are on page 1of 1

Useful commands when using Secure CRT:

cd Change directory. Follow this command with the name of the directory or by ..
which indicates the directory one level up in the hierarchy, or just . which is the
current directory.

ls -al Use this command to list all the contents in the current directory (the extra -al
will list all the information about all the files and directories)

rm Remove. Will delete the file that follows this command.

mkdir Make directory. Follow this command with the name of the new directory. This
will be created within the current directory.

rmdir Remove directory. Follow this command with the name of an existing directory
you would like to delete. If there are files within the directory to be deleted this
command will not work. The files need to be deleted first.

exit Will log you out of your SecureCRT Session. You will have to manually close the
SecureCRT window.

more Follow this command with the name of a file and it will display it. If it is longer
than one screen can display you can see further pages by pressing the space bar.

Useful commands when using Emacs:

Type emacs at the SecureCRT command prompt to get a temporary file that has no
name, or type emacs filename to either open the file filename if it exists or create a new
file by that name if it doesnt exist.

Ctrl-x Ctrl-c Exit emacs


Ctrl-x Ctrl-s Save file
Ctrl-x Ctrl-f Open file
Ctrl-k Deletes the entire line the cursor is on

You might also like