chmod command

I‘m CentOS Linux version 5.x user and I’d like to restrict execution of /usr/sbin/userhelper to console users only in xusers group?

{ 0 comments }

I’ve couple of remote servers and I’d like to access few admin only application running on port 10000 and 3001. My firewall only allows port 80, 443, 25, 22 and 110 for public access. Do I need to open port 10000 and 3001 for everyone using firewall? How do I access my admin only apps without opening port 10000 and 3001?

{ 8 comments }

I’ve downloaded a software for Linux from the Internet. There is a file called install.sh. How do I run an .sh file to install the software?

{ 43 comments }

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?

{ 15 comments }

Can you provide more information about chmod command octal mode number notation?

{ 7 comments }

Q. How do I write protect a file under Linux? I’m using CentOS 5 server Linux operating system. I need prevent accidental changes to my files. A. There are two ways to write protect a file under Linux. Method #1: You can make file readonly by removing users’ write permission for a file. Under Linux […]

{ 3 comments }

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?

{ 18 comments }