have setup a shell variable called dest=”/nas100/backups/servers/z/zebra/mysql.tgz”. How do I find out filename (mysql.tgz) and extension (.tgz) in bash program running under Linux or Unix operating systems?
ow do I split string based on delimiter into array under Bash shell?
have a line as follows in squid.conf file. My sever is hosted in a cloud:
acl verizonfios src 22.214.171.124
My ISP will force an IP address change every week or two. I would like to replace them with a new IP
acl verizonfios src 126.96.36.199
How do I replace the line starting with “acl verizonfios” with new IP address using sed and ssh?
ow can I find out the path of the directory in which my bash shell script is located and store that path in _base variable?
HTTP protocol allows a client to specify a time condition for the document it requests. It is If-Modified-Since
. How do I use curl Unix/Linux command line option to test a server with If-Modified-Since
condition and validate Last-Modified
y shell script depends upon user input. How do I find out if a variable called $_JAIL path is empty under Linux / Apple OS X / Unix like operating systems?
am using a bash shell under Ubuntu Linux operating system. Sometime I need to restrict my own Internet bandwidth for all my shell applications such as ftp, sftp, wget, curl and friends. How do I limit the network speed under bash without setting up a complicated firewall and tc rules as described here