Home » admin


I have been working with Linux based systems since 2002. I hope the article published on this site will be useful to those new to server administration.

DOS-to-UNIX file conversion

Using Perl: # WARNING! For UNIX only! Do not use with ActivePerl in MSYS shell on Windows! # (Returns error message and file is deleted.) perl -pi -e 's/\r\n/\n/g' filename Using sh or bash: Works fine even in MSYS shell on Windows. #tr -d '\r' < original_filename > new_filename (Note that the “<” and “>” must be typed for this command to work). …

Read More »

Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )

biosdecode is a command line utility to parses the BIOS memory and prints information about all structures (or entry points) it knows of. You can find out more information about your hardware such as: => IPMI Device => Type of memory and speed => Chassis Information => Temperature Probe => Cooling Device => Electrical Current Probe => Processor and Memory Information …

Read More »

Linux: Restart Nginx WebServer

How do I restart nginx web server under Linux? To restart nginx web server use any one of the following command as a root user: # /etc/init.d/nginx restart However, recommed way is as follows which should work with any Linux distribution : # nginx -s reload OR # /usr/local/nginx/sbin/nginx -s reload Originally posted 2016-03-10 02:57:42.

Read More »

Install Imagemagik on Cpanel and Cloudlinux

Imagemagik installation on a cpanel server is quite easy. Imagemagik is an addon for your cPanel server that allows for image manipulation. ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PNG, Postscript, SVG, and TIFF. …

Read More »

How to delete a file

How do I delete a file under Linux  operating system? To remove a file or directory in Linux use the rm command. rm command syntax rm (short for remove) is a Unix / Linux command which is used to delete files from a filesystem. Usually, on most filesystems, deleting a file requires write permission on the parent directory (and execute …

Read More »