Skip to content
The Unix Tips
cat /vishal/brain > theunixtips.com
  • About
  • Contact Me

Category: Unix Admin

Bash/Shell Scripts/Unix Admin

bash : grep for pattern from certain location in the file

Posted on August 21, 2011 by Vishal Jain

Using dd, the file can be sliced and then grep can be applied for the pattern on that slice.

Debugging Tools/Network Tools/Open Source Tools/Unix Admin

snmp : find network information of a system centrally

Posted on August 6, 2011 by Vishal Jain

Using snmpwalk on interface table (1.3.6.1.2.1.4.20.1.1 and 1.3.6.1.2.1.4.20.1.3) one can retrieve network information of a system centrally.

php/Unix Admin

php : find if IP address is in Network range

Posted on June 11, 2011 by Vishal Jain

Using pear Net_IPv4 one can find if a given IP address is in provided Network range or on the subnet.

Perl/Unix Admin

perl : find if IP address is in Network range

Posted on June 10, 2011 by Vishal Jain

Using NetAddr::IP one can find if a given IP address is in provided Network range or on the subnet.

Bash/Shell Scripts/Unix Admin

bash : search multiple file patterns using single find command

Posted on June 9, 2011 by Vishal Jain

Using a combination of patterns with "-o" and/or -"a" (which OR the pattern or AND the pattern) in find command, one can search for various patterns or combine ...

Unix Admin/Virtualization

VirtualBox : Use Raw Disk to load Windows under Linux

Posted on April 23, 2011 by Vishal Jain

Using VBoxManage and install-mbr commands, one can use raw disk with a virtual machine under VirtualBox. Here I discuss how to load a partition that has Windows...

Bash/OS Interoperability/Shell Scripts/Unix Admin

Howto rollover a file when size exceeds using unix find

Posted on March 27, 2011 by Vishal Jain

Using -size and -exec flags of find command, one can easily find when the logfile has grown above the threshold and move it to another name in one shot.

Apache/Open Source Tools/php/Unix Admin

ubuntu : How to Install LAMP (Linux, Apache, MySQL, PHP suite)

Posted on October 1, 2010 by Vishal Jain

tasksel install lamp-server is one liner to install the full suite of applications on already running debian based Linux system.

Bash/Debugging Tools/Unix Admin

bash : Self redirect of Script’s output to a file

Posted on September 4, 2010 by Vishal Jain

Using shell builtin exec, ouput and error output streams of a script can be redirected just like ">" or ">>" operators.

Unix Admin

cron : List users who have cron jobs scheduled

Posted on August 29, 2010 by Vishal Jain

For each user who has cron jobs scheduled on a system, one file exists in /var/spool/cron directory. So a simple listing of this directory will provide who has ...

Posts navigation

« Previous 1 2 3 4 Next »

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Top Posts

  • xming : Client 4 rejected from IP
  • bash : Self redirect of Script's output to a file
  • Create Post Excerpt Intelligently in Jekyll
  • bash : Count number of recurrence of lines
  • VirtualBox : Use Raw Disk to load Windows under Linux
  • perl : find if IP address is in Network range
  • mimikatz : Export non-exporteable Private certificate from Symantec PKI
  • HP Spectre x360 convertible and Linux
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • perl : Extract filename from full path

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Follow Me

  • LinkedIn
  • GitHub
© 2021 The Unix Tips
Powered by WordPress | Theme: Graphy by Themegraphy