Concept Flow - First Linux commands
Open Terminal
Type Command
Press Enter
Shell Executes Command
Output Displayed
Ready for Next Command
This flow shows how you open a terminal, type a Linux command, press Enter, and see the output.
pwd ls cd /tmp pwd
| Step | Command Typed | Shell Action | Output | Current Directory |
|---|---|---|---|---|
| 1 | pwd | Print current directory | /home/user | /home/user |
| 2 | ls | List files in current directory | Documents Downloads Music | /home/user |
| 3 | cd /tmp | Change directory to /tmp | /tmp | |
| 4 | pwd | Print current directory | /tmp | /tmp |
| 5 | No more commands | /tmp |
| Variable | Start | After 1 | After 2 | After 3 | After 4 | Final |
|---|---|---|---|---|---|---|
| Current Directory | /home/user | /home/user | /home/user | /tmp | /tmp | /tmp |
First Linux commands: - Open terminal - Type commands like pwd, ls, cd - Press Enter to run - pwd shows current folder - ls lists files there - cd changes folder - Output shows results immediately