Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

awk or

awk '{
	if ( $2 == "abc" || $2 == "def") {
    	print "blah"
    }
}'
Comment

awk AND OR

AND &&
OR ||
e.g.
margin=180
cat Eenrgy.dat | awk -v marg="$margin" '{if($1>marg || $1<60) print $0}' > youfile.dat
					^assing envirimntal varible to awk   
Comment

PREVIOUS NEXT
Code Example
Shell :: github push to repository 
Shell :: debian make directory 
Shell :: delete a remote branch in git 
Shell :: how to install odoo 15 on ubuntu 20.04 
Shell :: check ip in terminal 
Shell :: bash scripting tutorial 
Shell :: How to get Tab-Completions with microsoft vcpkg 
Shell :: what is force checkout in git 
Shell :: Specify R version 
Shell :: How to build android cts? And how to add and run your test case? 
Shell :: rollup emotion 
Shell :: how to teamviewer host debian 11 
Shell :: poetry install zsh 
Shell :: macos run application from terminal to work on files parse files in open for mac apps specify file or folder for opening from the command line 
Shell :: install pihole skip os check 
Shell :: bash show function definition 
Shell :: linux ubuntu "jetson Nano" disable ufw firewalld 
Shell :: dnf install specific version 
Shell :: logitech m525 linux driver ubuntu 
Shell :: Create Git respository 
Shell :: The following software packages from the apt repositories are required to get Cuckoo to install and run properly: 
Shell :: vagrant snapshot commands 
Shell :: list all the created users ids only 
Shell :: upgrade appwrite 
Shell :: mv rename folder 
Shell :: erc20 token openzeppelin example github 
Shell :: Restore postgres script file 
Shell :: How To create the SHA1 sum hash digest and save it to a file 
Shell :: pip install imread 
Shell :: insert csv to hive table 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =