These should be typed into the terminal window in a Linux Development Environment
The examples provided utilize the "current working directory" but can be used with an "absolute path". https://www.redhat.com/sysadmin/linux-path-absolute-relative
Action | Command | Description | Example |
Change Directory | cd |
change from your current directory into the one specified |
|
List Directory Contents | ls |
show all the files and directories in the specified directory |
|
Remove (delete) | rm |
delete specified file or directory use the |
|
Create a file | touch |
create a file with the specified name |
|
Create a folder | mkdir |
create a folder (aka directory) with the specified name |
|
Display file contents | cat |
display the contents of a file within the terminal window |
|