Showing all posts tagged linux:

How to Write an Awesome GitHub README

How to Write an Awesome GitHub README I read through the earliest README I could find. Written in 1975 by William J. Earl at the CS department of UIC. The text is a little dry but also surprisingly re...

Impress your colleagues with these NPM tricks

Impress your colleagues with these NPM tricks May 13 ・4 min readJust like anyone else, developers enjoy knowing some little tricks to show to their colleagues or friends. Today, I have decided to write about some of these keyboard magic that you can u...

Check bash shell script user & usage

Check bash shell script user & usage Saturday, September 26, 20158:52 AMBash script display usage and check userSometimes it is needed to check what user is executing the bash script and whether the user supplied all required arguments:#!/bin/bash di...

Tar Folder

Tar Folder Friday, September 11, 20159:36 PMTar -cvf -C ./ . 9/11/2015 9:36 PM - Screen Clipping Created with Microsoft OneNote 2013.

Usage of tcpdump » Linux by Examples

Usage of tcpdump » Linux by Examples Usage of tcpdump » Linux by Examples Wednesday, August 12, 201512:23 PM This post will only covers the fundamental of tcpdump usage, bare in mind tcpdump can do much much more than what I illustrate here.Lets start...

Port is open or closed on UNIX? - Stack Overflow

Port is open or closed on UNIX? - Stack Overflow Port is open or closed on UNIX? - Stack Overflow Wednesday, August 05, 20152:23 PM Try (maybe as root)lsof -i -Pand grep the output for the port you are looking for.For example to check for port 80 dolso...

How to add a character on every line in vi editor

How to add a character on every line in vi editor How to add a character on every line in vi editor Saturday, August 01, 20153:22 AM 05-15-2008, 05:08 AM #2ilikejamSenior MemberContributing Member Registered: Aug 2003Location: GlasgowDistribution: Fed...