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 do I create file links under UNIX / Linux / BSD operating systems?
Q. I’m using CentOS Linux server and how do I clear bash history in UNIX / Linux / BSD operating systems?
A. Type the following command to clear your bash history:
>~/.bash_history
Another option is link ~/.bash_history to /dev/null:
ln -sf /dev/null ~/.bash_history
Q. Both Linux / UNIX allows the data of a file to have more than one name in separate places in the same file system. Such a file with more than one name for the same data is called a hard-linked file. How do I create a hard link in Linux / UNIX?
A. A hard [...]
Q. How do I create a soft link (symbolic link) under UNIX or Linux operating system?
A. To make links between files you need to use ln command. A symbolic link (also known as a soft link or symlink) consists of a special type of file that serves as a reference to another file or directory. [...]
How do I delete softlink or symbolic link in Linux operating system using a command prompt?