Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commands

awesomelewis2007 edited this page Jun 10, 2021 · 5 revisions

cd

Change directory This command is used for changing the directory

If i am in a folder called folder 1 and i need to get to folder 2

You put into the shell cd folder 2

You can also do cd \ to go to your root folder

dir

This lists the directoy that your currently in like -c --colour prints files with colouring -h --help prints this help message

dir [-c,-h]

ls

List the directoy your in but with a more simpler veiw -c --colour prints files with colouring -d --directory only prints directory's -f --files only prints files -h --help prints this help message

ls [-d,-h,-f,-c]

Note files will be coloerd white and directorys will be blue

print

Prints a file onto the terminal

print <file name>

$

This command lets the shell run a command to the os

$ <command>

rm

Removes a file of the disk perminently

rm <file name>

rmdir

Removes a directory and what it conatins

rmdir <dir>

mkdir

Creates a directory

mkdir <name>

makefile

Create a file

makefile <file name>

locip

Returns the local ip address

locip

pubip

Returns the public ip address

pubip

python

runs a python script

python <file name>

js

runs a js file using js2py

js <file name>

history

reads the history and prints it on the screen

the argument -c clears the history the argument -on turn on history logging the argument -c turn off history logging

history [-c,-on,-off]

tree

prints out all the items of your current directory and sub directorys the argument --colour-off prints without colouring

tree[--colour-off]

fc

lets you force clear something e.g clear history or temp folder

fc [-t]

Xshell Wiki

Welcome to the Xshell Wiki


General

Installing Xshell

Commands List

How to Close Xshell

Error Codes

Addon Support

Clone this wiki locally