Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 10, 2022 03:25 am GMT

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 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.


Original Link: https://dev.to/kalokli8/what-is-drwx-when-using-ls-la-4jmf

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To