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

Tag: unix

Internet/Network Tools/Open Source Tools

Quick Premier on migration to Curl for a socket programmer

Posted on August 3, 2017 by Vishal Jain

libcurl is quite powerful and allows many widely used protocols. In this post I discuss how a simple socket programmer could find his way using libcurl.

Debugging Tools/Internet/Network Tools/Unix Admin

Net-SNMP configuration for non-root AgentX application

Posted on January 9, 2017 by Vishal Jain

By using a TCP Socket one can allow a non-root AgentX application/agent to connect to Net-SNMP masteragent. But this should be used for development purpose only...

c c++/Unix Admin

DST does not influence UnixTime or Seconds since Epoch

Posted on August 24, 2016 by Vishal Jain

Seconds since Epoc or Unixtime is ever increasing value and it remains stable (except for leap second). Daylight Savings changes does not affect it.

Network Tools/Unix Admin

Capture local network traffic for multi-homed host

Posted on August 21, 2016 by Vishal Jain

If both end-points of a socket are on local system, network traffic will be seen on loopback interface even if applications are using non-loopback interface (e....

Hardware/Internet/Network Tools

Rename network interface on ubuntu

Posted on May 27, 2012 by Vishal Jain

/etc/udev/rules.d/70-persistent-net.rules defines the name for network interfaces.

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.

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.

Bash/Debugging Tools/OS Interoperability/Shell Scripts

Unix : find affected by current working directory

Posted on February 5, 2011 by Vishal Jain

Many Unix variants (including latest Solaris 11 Express) use a version of find that first looks for current working directory. And if that current working direc...

Posts navigation

1 2 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
  • HP Spectre x360 convertible and Linux
  • perl : Extract filename from full path
  • bash : Count number of recurrence of lines
  • VirtualBox : Use Raw Disk to load Windows under Linux
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • vpn : Split Tunnel Concept
  • bash : Signal Handling
  • bash : Self redirect of Script's output to a file
  • perl : Remove empty lines from an array

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