operating system

Linux / Unix: Bash Find Matching All Dot Files

by Vivek Gite on September 14, 2011 · 4 comments

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?

{ 4 comments }

I‘m trying to install RHEL 6 kernel updates and patches using the yum command and getting the following error:

Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem
Error Summary
-------------
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

How do I fix this error and install RHEL kernel without increasing /boot size or reinstalling the operating system?

{ 0 comments }

Truncate: UNIX Binary Log File

by Vivek Gite on October 27, 2010 · 0 comments

How do I truncate a UNIX binary log file using command line options?

{ 0 comments }

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?

{ 1 comment }

How do I execute a script under UNIX or Linux like operating system using command prompt?

{ 0 comments }

HowTo: Save File in Vi / Vim Text Editor

by Vivek Gite on April 24, 2010 · 0 comments

I‘m new to Linux or UNIX like operating system. I just wanted to create a file called demo.txt and save & close it using vi text editor. How do I save a file using vi?

{ 0 comments }

How do I perform a simple and rather naive benchmark of the disks seek and transfer performance under FreeBSD operating system? How do I perform a simple measurement of the I/O read command overhead for my RAID-1 array under FreeBSD operating systems?

{ 0 comments }