How do I determine whether a variable called spath="/srv/www/cyberciti.biz/https" contains a substring called "cyberciti.biz"?
Read the full FAQ →
{ 3 comments }
How do I determine whether a variable called spath="/srv/www/cyberciti.biz/https" contains a substring called "cyberciti.biz"?
Read the full FAQ →
{ 3 comments }
How do I send or set arbitrary HTTP headers using nginx web server?
Read the full FAQ →
{ 0 comments }
How do I configure UNIX or Linux system to act as TCP port forwarder without using firewall? How do I install socat ( SOcket CAT ) multipurpose relay for bidirectional data transfer under Linux?
Read the full FAQ →
{ 2 comments }
How do I read a file field-by-field under UNIX / Linux / BSD Bash shell? My sample input data file is as follows:
device1,deviceType,major,minor,permissions
device2,deviceType,major,minor,permissions
...
....
.
deviceN,deviceTypeN,major,minor,permissions
For each line I need to construct and execute a shell command as follows:
/path/to/deviceMaker --context=$1 -m $permissions $device2 $deviceType $major $minor
Read the full FAQ →
{ 5 comments }
I got new server and installed phpMyAdmin. But whenever I visit the phpmyadmin url it says:
Cannot load mysql extension. Please check your PHP configuration
How do I fix this problem under CentOS / RHEL / Fedora Linux Apache web server?
Read the full FAQ →
{ 0 comments }