| Namespace: *local* Commands available on the local file system |
Index:
cat
NAME
cat – Print the content of a file
SYNTAX
ARGUMENTS
- file - [optional] -The file to print
cd
NAME
cd – Change the local working directory
SYNTAX
ARGUMENTS
- file - [required] - A local directory to change to
cp
NAME
cp – Copy a file or directory
SYNTAX
OPTIONS
- -r - [flag] - Recursive copy directories
ARGUMENTS
- source - [required] - The file to copy
- destination - [required] - The target file
ls
NAME
ls – List file names in a local directory
SYNTAX
ARGUMENTS
- file - [optional] -A local directory to list its content. Defaults to the working directory
mkdir
NAME
mkdir – Create a directory in local file system
SYNTAX
ARGUMENTS
- file - [required] - The directory path to create
mv
NAME
mv – Rename a file or directory
SYNTAX
ARGUMENTS
- source - [required] - The file to rename
- destination - [required] - The target file
popd
NAME
popd – Pop working directory
SYNTAX
pushd
NAME
pushd – Push a new local working directory
SYNTAX
ARGUMENTS
- file - [required] - A local directory to push
pwd
NAME
pwd – Print the local working directory
SYNTAX
OPTIONS
- -s - [flag] - Use this flag to show the working directory stack
rm
NAME
rm – Remove a file or directory
SYNTAX
OPTIONS
- -r - [flag] - Recursive remove directories
ARGUMENTS
- file - [required] - The directory path to create
touch
NAME
touch – Touch a file
SYNTAX
ARGUMENTS
- file - [required] - The file to touch