What is drwx when using ls -la

Display the content of a folder including hidden files and additional information using this command:

ls -la ~/.ssh

Note: l stands for long, it will display additional information about the files and directories
Note: a stands for all, it will dis…


This content originally appeared on DEV Community and was authored by kalokli8

Display the content of a folder including hidden files and additional information using this command:

ls -la ~/.ssh

  • Note: l stands for long, it will display additional information about the files and directories
  • Note: a stands for all, it will display hidden files as well

~/.ssh: find .ssh folder in root directory

The terminal shows:
drwx--xr-x 1 user staff 3389 10 Apr 11:11 id_rsa

It is about file permissions on unix/linux/whatever on the net.
The first character tells you if it is a directory (marked as ‚d‘), then you continue in groups of three for read (‚r‘), write (‚w’) and execute (‚x’) permissions for the owning user, group and everyone else.


This content originally appeared on DEV Community and was authored by kalokli8


Print Share Comment Cite Upload Translate Updates
APA

kalokli8 | Sciencx (2022-04-10T03:25:23+00:00) What is drwx when using ls -la. Retrieved from https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/

MLA
" » What is drwx when using ls -la." kalokli8 | Sciencx - Sunday April 10, 2022, https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/
HARVARD
kalokli8 | Sciencx Sunday April 10, 2022 » What is drwx when using ls -la., viewed ,<https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/>
VANCOUVER
kalokli8 | Sciencx - » What is drwx when using ls -la. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/
CHICAGO
" » What is drwx when using ls -la." kalokli8 | Sciencx - Accessed . https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/
IEEE
" » What is drwx when using ls -la." kalokli8 | Sciencx [Online]. Available: https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/. [Accessed: ]
rf:citation
» What is drwx when using ls -la | kalokli8 | Sciencx | https://www.scien.cx/2022/04/10/what-is-drwx-when-using-ls-la/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.