Skip to content

Instantly share code, notes, and snippets.

View gongbaochicken's full-sized avatar
🏠
Working from home

Zhuo Jia gongbaochicken

🏠
Working from home
View GitHub Profile
@gongbaochicken
gongbaochicken / grep commands.sh
Last active January 19, 2017 23:06
grep commands
#I use grep almost every day. Such a powerful tool should be used in a very skillfull way.
#I want to open this gist for notetaking when I meet new commands.
#search in a folder in recursive way
grep -r "task" ../src
#ignore the case
grep -r -i "TaSk" ../src
#search for a whole word
#!/usr/bin/env python
import sys
import time
from mininet.net import Mininet
from mininet.node import Host, OVSSwitch, Controller, RemoteController
from mininet.cli import CLI
from mininet.log import setLogLevel, info
from mininet.link import Link, Intf, TCLink