DailyBash
Daily Bash Task
Introduction
- ~ - it help you understand where you are. Symbol ~ describe you - you in home directory.
- / - you in root system directory
- command pwd - need for view full path to current position
List
command ls need for get all files and folder in current position
For detailed information, you can use:
bash ls -l
Output:
bash -rw-r--r-- 1 USER_NAME staff 1237 Jun 2 22:46 index.js
those colums are:
- permission for you, your group and other users
- number of links
- owner user
- owner group
- file size
- last modified datetime
- file name
If you'll need to see hidden files, just use: -a flag
And you can combine all flags, for example:
bash ls -la