-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
potato-pack edited this page Oct 6, 2023
·
1 revision
This command is to change the current directory,
also, come on! You know what cd
does!
This command lists all the files and folders in the current directory
Typing this in, stops the shell and quits it
This command creates a new file/folder. This one is more complicated because if you don't have an extension at the end it creates a directory, but if you do have an extension at the end it creates a file with that extension;
e.g.
<your-username>@<your-current-dir>$ new foo.py
This creates file foo.py
at <your-current-dir>
,
but if you ran this...
<your-username>@<your-current-dir>$ new foo
This creates the foo
directory at <your-current-dir>