Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

cat goto line number

$ cat -n file | awk '$1>=4 && $1<=8 || $1==12 || $1==42'
 4  Line 4
 5  Line 5
 6  Line 6
 7  Line 7
 8  Line 8
12  Line 12
42  Line 42
Comment

PREVIOUS NEXT
Code Example
Shell :: Basic listing in linux 
Shell :: Running shell scripts 
Shell :: update your git identity 
Shell :: git remove one commit in the middle 
Shell :: how to read an input in bash 
Shell :: How to use very_good_cli in flutter 
Shell :: command to lists available Wi-Fi access points known to NetworkManager including its speed, security, signal, and more on linux 
Shell :: ibus ubuntu 22.04 
Shell :: how to safely clean snaps folder in ubuntu 
Shell :: bash count occurrences of character in string 
Shell :: const git = ["branch", "commit", "push"] 
Shell :: gnome tool for open pdf file from terminal 
Shell :: ros galactic build from source 
Shell :: exit 0, run container in shell mode 
Shell :: copy modified git branch files to directory 
Shell :: mysql cannot change directory to /nonexistent 
Shell :: how to create a soft link in bash 
Shell :: Bulk user add with passwords bash script 
Shell :: print each filename in a newline in ls 
Shell :: truenas community unable to Download Plugins 
Shell :: shell remove pdf pages 
Shell :: pycache delete bash code 
Shell :: vs code match all css media queries search panel 
Shell :: KDE Connect Command PC turn off 
Shell :: bash enum 
Shell :: shell How to read hidden input from terminal and pipe it to another command 
Shell :: get folder size in lnux 
Shell :: 7z linux terminal show files in archive 
Shell :: linux how to cd into directory and run command without changing working directory 
Shell :: install brave browser for kali linux 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =