linux/bash commands damian gordon. ls list all the visible files in the current folder
TRANSCRIPT
![Page 1: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/1.jpg)
Linux/Bash Commands
Damian Gordon
![Page 2: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/2.jpg)
ls
• List all the visible files in the current folder.
![Page 3: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/3.jpg)
ls -a
• List all the visible and hidden files in the current folder.
e.g.
.bashrc
.login
![Page 4: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/4.jpg)
ls -l
• List all the visible files in the current folder, and give details of who created it, when, the file size, priorities.
![Page 5: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/5.jpg)
ls -la
• List all the visible and hidden files in the current folder, and give details of who created it, when, the file size, priorities.
![Page 6: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/6.jpg)
pwd
• Print working directory• Tell me my current location
![Page 7: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/7.jpg)
cd .
• cd = change directory• . = current directory
• So this command moves from you form the current directory back to the current directory.
![Page 8: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/8.jpg)
cd ..
• cd = change directory• .. = previous directory
• So this command moves from you form the current directory back one step to the previous directory.
![Page 9: Linux/Bash Commands Damian Gordon. ls List all the visible files in the current folder](https://reader035.vdocuments.us/reader035/viewer/2022071806/56649db65503460f94aa88fa/html5/thumbnails/9.jpg)
man man
• ‘man’ is the help command, it gives you the MANual page about a specific topic, in this case it is giving you the manual page about the ‘man’ command.