Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep show lines above and below

grep -C 3 foo README.txt
Comment

grep find and show lines after

# Use the -A flag.
# Example: 
iptables -L | grep FORWARD -A 10
Comment

PREVIOUS NEXT
Code Example
Shell :: linux change username 
Shell :: how to show ubuntu logo in terminal 
Shell :: how to install winetricks 
Shell :: gitbash shortcut to clear the terminal 
Shell :: powershell writeline 
Shell :: Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx. 
Shell :: switch to remote branch git 
Shell :: add user to sudoer 
Shell :: how to install cassandra 
Shell :: git remote set origin 
Shell :: clone a specific branch 
Shell :: install older version of laravel 
Shell :: get disk partitions linux 
Shell :: powershell http request 
Shell :: git branch delete all local branches 
Shell :: how to stop tomcat server in macos 
Shell :: check ram in linux 
Shell :: change global user name git 
Shell :: ng command not found 
Shell :: ssh copy file from local to remote 
Shell :: windows scan for corrupt files 
Shell :: push local branch to remote 
Shell :: get size of image linux 
Shell :: linux check core count 
Shell :: see journalctl running logs 
Shell :: Grant Htaccess to all directory 
Shell :: install sam cli ubuntu 
Shell :: blackeye linux 
Shell :: parameter powershell 
Shell :: copy all files from a folder to another ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =