Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash -s flag

#use -s flag with ln command to create symbolic links in linux
sudo ln -s "path/to/actual/file" my_sym_link.txt
Comment

bash "-z" flag

# -z flag returns true if NULL or uninitialized variable

if [ -z "$NULLVAR" ]; then
	echo "Not initialized"
else
	echo "Exists"
fi
# Not initialized
Comment

PREVIOUS NEXT
Code Example
Shell :: why showing different +++++++++------ count git diff command 
Shell :: restart docker cmd 
Shell :: cht.sh install 
Shell :: pushing things to git 
Shell :: change drive in linux terminal windows subsystem 
Shell :: secure shell (ssh) 
Shell :: tcpdump ubuntu 
Shell :: swap memory in ubuntu 
Shell :: how to install perl 
Shell :: create git 
Shell :: how to remove a repository 
Shell :: git set username and email 
Shell :: pyinstaller version file 
Shell :: how to install "adguard home" using snap store cli 
Shell :: debian logrotate mail.log monatly 
Shell :: npm nix 
Shell :: git: Download specific commit from git repository : remote 
Shell :: http://archive.linux.duke.edu/ubuntu bionic/universe i386 libsndio6.1 i386 1.1.0-3 
Shell :: gitexplorer 
Shell :: linux .filename meaning 
Shell :: npm install only works globally eacces 
Shell :: come installare brew su mac 
Shell :: git mv directory case sensitive 
Shell :: grep in a laravel project 
Shell :: sftp client online linux remote 
Shell :: Bulk user add with passwords bash script 
Shell :: refname master is ambiguous 
Shell :: wsl posh themes not loaded 
Shell :: git init create new version-controlled projects 
Shell :: ec2 print instance id powershell script 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =