Operating System - Linux
1830161 Members
2399 Online
109999 Solutions
New Discussion

check file chmod from shell

 
'chris'
Super Advisor

check file chmod from shell

hi

is it possible to check file chmod from
shell (Konsole)?

Normally I don't know if the file is chmoded
to 444 or 555.

Using WinSCP program is not a problem,
but how it works from command line (shell) ?

kind regards
chris
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: check file chmod from shell

Just installed winscp to see what you mean.

the command:
ls -l
gives you the same details.
'chris'
Super Advisor

Re: check file chmod from shell

I mean to see numbers like 444 or 555
HGN
Honored Contributor

Re: check file chmod from shell

Hi

You cannot see the numbers on the files
444 will look like
-r--r--r--
555 will look like
-r-xr-xr-x

You can do a man on chmod

Rgds

HGn