Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Display lines containing the pattern “root” and 3 lines after them in the file /etc/passwd.

root@Linux-world:~# grep -B 4 "games" /etc/passwd
Comment

PREVIOUS NEXT
Code Example
Shell :: how to get the files using the most storage ubuntu 
Shell :: symfony unit test 
Shell :: how to add a directory to path in linux 
Shell :: ubuntu no internet connection 
Shell :: npm not found in zsh 
Shell :: bash compare two files 
Shell :: create scheduled task via powershell scheduled reboot 
Shell :: iis restart cfrom command promt windows 
Shell :: download docker desktop ubuntu 
Shell :: crontab error log 
Shell :: bashrc for powershell 
Shell :: install solana anchor 
Shell :: docker remove image 
Shell :: find linux 
Shell :: install conan 
Shell :: xrandr 1366 
Shell :: pip install pytorch==1.4.0 
Shell :: shell one line for loop 
Shell :: download post man in linux 
Shell :: git bash posh git 
Shell :: web 3 react npm 
Shell :: pip not installing packages 
Shell :: create permanent git credentials windows 
Shell :: bash path ubuntu 
Shell :: how to install wireshark on fedora 
Shell :: git get commit info 
Shell :: how to uninstall react-slick 
Shell :: git fatal bad revision cherry-pick 
Shell :: list of installed packages and version 
Shell :: git how to roll back to a commit 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =