≡ Menu

symbolic link

Bash Script: Find Out In What Directory Script Is Stored Under Unix Or Linux

How can I find out the path of the directory in which my bash shell script is located and store that path in _base variable?
[click to continue…]

Sysadmin because even developers need heroes!!!

Apple OS X: Remove a Symbolic Link (Symlink) Command

How do I remove a symlink under Apple Mac OS X using bash command line option?
[click to continue…]

Bash Shell: Check File Exists or Not

How do I test existence of a text file in bash running under Unix like operating systems?
[click to continue…]

Verify: SSL Certificate Under OpenSSL

All UNIX / Linux applications linked against the OpenSSL libraries can verify certificates signed by a recognized certificate authority (CA). How do I verify SSL certificates using OpenSSL command line toolkit itself under UNIX like operating systems without using third party websites?
[click to continue…]

HowTo: Find Symlink under UNIX / Linux

How do I find symlink(s) under UNIX and Linux operating systems?
[click to continue…]

HowTo: Make a Symbolic Link To /bin Directory

How to make a symbolic link to /bin in /nas/users/foo directory?
[click to continue…]

nginx: Send HTTP User Agent Requests To Specific Backend Server

I‘ve tons of images, css and javascript hosted at backend server IP 192.168.1.5 and 192.168.1.6. How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from “Mozilla” to server 192.168.1.5 and MSIE to server 192.168.1.6 only?
[click to continue…]

UNIX / Linux: Explain The Nine Permissions Bits On Files

Can you completely explain the nine permissions bits on UNIX or Linux files?
[click to continue…]

Linux realpath: Find Absolute Pathname For Given Command or File

How do I find out the canonicalised absolute pathname for a given command or file under Linux operating systems?
[click to continue…]

UNIX Shell: Find Out Real Path Of File or Directory

My programs and scripts needs a real path and not a a symbolic link. How to I determine a real path of any directory under Linux / UNIX like operating systems? How do I remove references to /./, /../ and extra ‘/’ character in path?
[click to continue…]