access permissions

Q. How do I list or display the permission of a file using ssh? I don’t have GUI installed on a remote Linux computer. A.You need to use ls command with -l option. File access permissions are displayed in the first column of the output, after the character for file type. ls command List information […]


I‘ve nicely written PHP script that I’d like to run as a cron job. I’m using CentOS 4.5 as server with Apache web server. How do I setup a PHP script as a cron job?


How do I recursively change files with 777 permissions to 755 in /home/user/demo directory? I have a number of files in this directory and I need to change permission from 0777 to only if that file has 777 permissions. Is there an easy way out to achieve this?