7 FAQ tagged "chmod command"
Viewing 1-7 of 7 FAQ -- Access Any Remote Server Port Without Modifying Firewall Settings
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?
- How to run the .sh file in shell script in Linux / UNIX
Q. I’ve downloaded a software for Linux from net. There is a file called install.sh. How do I run .sh file to install the software?
A. .sh file is nothing but a shell script. The easiest way to run .sh shell script in Linux is as follows:
sh file.sh
bash file.sh
Another option is set executable permission using [...] - Linux / UNIX Setup and run php script as a cron job
Q. 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?
A. You need to setup execute permission on a php script. You need to use chmod command to change file [...] - Howto: Linux Write protect a file
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 and [...] - Command to run (execute) bin files in Linux
Q. I have downloaded a file from internet that ends with .bin extension. Documentation says just run bin file. What command I need to type in order to run bin files in Linux.
A. .bin files are Linux self extracting binary files. For example Java or Flash are two examples of these types of file. Just [...] - How Linux file permissions work
Linux (and almost all other Unixish systems) have three user classes as follows:
User (u): The owner of file
Group (g): Other user who are in group (to access files)
Other (o): Everyone elseYou can setup following mode on each files. In a Linux and UNIX set of permissions is called as mode:
Read (r) [...]
- How To Use SSH in Unix or Linux shell script
Q. How do I use ssh client program in a shell script under UNIX or Linux operating system?
Viewing 1-7 of 7 FAQ - ( see all popular tags )


Recent Comments
Yesterday ~ 88 Comments
Yesterday ~ 6 Comments
Yesterday ~ 7 Comments
11/07/2008 11:19 am (4 weeks ago) ~ 7 Comments
Yesterday ~ 5 Comments