Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash or

if [ "$1" = "a.txt" ] || [ "$2" = "c.txt" ]; then
	# do smt...
fi
Comment

and OR bash

[[ ! EXPR ]]	Not
[[ X && Y ]]	And
[[ X || Y ]]	Or
Comment

PREVIOUS NEXT
Code Example
Shell :: bash scripting string comparison 
Shell :: git pull from another user 
Shell :: sh: 1: nodemon: not found 
Shell :: connect to wifi via Terminal 
Shell :: install xampp on Linux 
Shell :: create a zip file in linux 
Shell :: install java 16 ubuntu 
Shell :: ffmpeg from frames to video 
Shell :: install poetry 
Shell :: github commit author name 
Shell :: _csv.Error: line contains NULL byte 
Shell :: chmod +777 to all files in folder and subfolder 
Shell :: copy ssh key directly window 
Shell :: commit to a new branch 
Shell :: make mp4 smaller using ffmpeg 
Shell :: remove space at end of line file 
Shell :: start ssh macos 
Shell :: How to remove a snap package on Ubuntu 
Shell :: zsh: command not found: protoc mac 
Shell :: save output of command to variable bash 
Shell :: change default kube editor 
Shell :: powershell append file to another file 
Shell :: auto generate requirements.txt python 
Shell :: java path ubuntu 20.04 
Shell :: conda install opencv 
Shell :: upgrade capacitor 
Shell :: remove permission denied file folder linux 
Shell :: check which users are part of a group linux 
Shell :: conda install packages from requirements.txt 
Shell :: linux tar command 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =