≡ Menu


HowTo: Use pwd Command In Linux / UNIX

How do I use the pwd command in Linux or Unix like operating systems? How can I use pwd command in UNIX or Linux shell scripts for automation purpose?
[click to continue…]

HowTo: Firefox Disable Default PDF Viewer / Plugin

I recently updated my Mozilla Firefox. Firefox now includes a built-in PDF viewer that allows me to see PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default. However, I found that this pdf viewer is not working properly with various web-sites, and it works slowly. How do disable the built-in PDF viewer so that I can use the Adobe PDF viewer or other PDF viewer that is shipped with my operating systems?
[click to continue…]

Vi / Vim: Save And Quit The Editor Command

I am a new vi (vim) text editor user. How do I quit the vi editor and save my changes under Linux or Unix like operating systems?
[click to continue…]

Linux/Unix: Cat Command Display Line Numbers

How do I use the cat command to display the line numbers for a file called myapp.c under Linux or Unix like operating systems?
[click to continue…]

Vi / Vim: Quit Without Saving Command

I am a new vi / vim text editor user. How can I quit the vi / vim text editor without saving my changes to a file under Linux / Unix like operating systems?
[click to continue…]

What Is SELinux?

What is SELinux? Why should I use SELInux on my CentOS or Red Hat Enterprise Linux server running on IBM hardware?
[click to continue…]

gnome-terminal: There Was An Error Creating The Child Process For This Terminal

I am using CentOS 5 on my laptop. If I open gnome-terminal by right clicking the desktop, I am getting an error that read as follows:

There was an error creating the child process for this terminal

How do I fix this problem and open a terminal by right clicking the Debian / Ubuntu / CentOS / Fedora / RHEL / Red hat Enterprise Linux 5.x desktop system?
[click to continue…]

Linux / Unix: Unicode and HTML Characters Lookup By Name or Number

I need to replace special characters with equivalent hexadecimal unicode under Linux or Unix like operating system. How do I list or find out unicodes for given characters?
[click to continue…]

Linux / Unix Command To Optimize and Compress PNG Files In Bulk

I have lots of images in png format (over 250k+ png). Properly formatting and compressing png images can save many bytes of data. How do I compress and optimize png images on my amazon cloud account so that I can save bandwidth on cloudfront cdn account? How do I use an image compressor to create lossless compression on PNG files, with no effect on image quality in bulk using Red Hat Enterprise Linux bash shell?
[click to continue…]

Linux / Unix: Find Out DNS Server IP Address / Names

How do I find out my DNS server IP address assiged my my ISP under Unix or Linux operating system using command prompt? How do I find preferred dns server under Debian / Ubuntu / Fedora Linux desktop system?
[click to continue…]