-
-
Notifications
You must be signed in to change notification settings - Fork 1
Command List
Leithen edited this page Oct 29, 2022
·
4 revisions
Command | Command Abbrv. | Flags | Description |
---|---|---|---|
help | h | -h, --help | print a list of all commands |
info | i | -h, --help | print information about the shell including the version number and creation date |
clear | c | -h, --help | clear the terminal screen of input |
exit | e | -h, --help | quit the shell |
dir | -h, --help | print the current working directory path | |
ls | -h, --help | list all of the files and folders in the current directory | |
tree | tr | -h, --help, -f, --flat | print a tree of all files, folders, sub-files and sub-folders in the current directory |
cd | -h, --help | change directories | |
read | r | -h, --help | read the contents of a file |
write | w | -h, --help, -a, --append, -o, --overwrite | write content to a file |
move | mv | -h, --help | move a file from one location to another |
vim | v | -h, --help | open a file in the vim text editor |
copy | cp | -h, --help, -a, --append, -o, --overwrite | copy a file from one location to another |
mk | -h, --help | create a file | |
mkdir | -h, --help | create a directory | |
rmf | -h, --help | remove a file | |
rmdir | -h, --help | remove an empty directory | |
fetch | f | -h, --help | perform an HTTP GET request |
Command | Flags | Description |
---|---|---|
git init | -h, --help | initialize a new repository |
git clone | -h, --help | clone a repository via HTTPS |
git status | -h, --help | print the status of the current working directory |
git log | -h, --help | print the contents of the git log |
git branch | -h, --help, -n, --new, -d, --delete | print branches of current repository, create a branch, delete a branch |
git checkout | -h, --help, -b | switch the currently checked out branch |
git add | -h, --help, -a, --all | add files to the staging area |
git restore | -h, --help | remove files from the staging area |
git commit | -h, --help, -m, --message | create a commit with files in the staging area |
git remote | -h, --help, -v, --verbose | list remotes connected to current repository, add a remote, remove a remote |
git push | -h, --help | push new commits to a remote |
git pull | -h, --help | fetch a remote and merge the changes into HEAD |
If you have any questions about the project you can reach out to @Thenlie via email or GitHub with the information below.
Email: [email protected]
GitHub: Thenlie