You may run this line stand alone
stat -f '%A %a %N' *
and if you with to use this command regularly add a shortcut to it
alias lso="stat -f '%A %a %N' *"
Add the above line in .bash_profile
Open a terminal, enter
Then try the lso command which will provide you with octal permission display in terminal.
While downloading in progress, you can press “Ctrl-A” and “d“. You will not see anything when you press those buttons. The output will be like this:
[detached from 5561.pts-0.mint]
pungki@mint ~ $
Re-attach the screen
After you detach the screen, let say you are disconnecting your SSH session and going home. In your home, you start to SSH again to your server and you want to see the progress of your download process. To do that, you need to restore the screen. You can run this command:
pungki@mint ~ $ screen -r
edit .profile file in your home directory, it’s a hidden file.
using the Terminal,
///now add the following text to the .profile file and save
//now run this command $ source .profile
//after this you can try ‘ls’ command and view coloured terminal
alias ls=’ls -GFh’