Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash cheat sheet

Try https://devhints.io/bash (DevHints.io - useful resource)
Comment

bash script cheat sheet

cat file.txt | while read line; do
  echo $line
done
Comment

bash shell scripting cheat sheet

set -euo pipefail
IFS=$'
	'
Comment

shell scripting cheat sheet

shopt -s nullglob    # Non-matching globs are removed  ('*.foo' => '')
shopt -s failglob    # Non-matching globs throw errors
shopt -s nocaseglob  # Case insensitive globs
shopt -s dotglob     # Wildcards match dotfiles ("*.sh" => ".foo.sh")
shopt -s globstar    # Allow ** for recursive matches ('lib/**/*.rb' => 'lib/a/b/c.rb')
Comment

bash cheat sheet

for i in /etc/rc.*; do
  echo $i
done
Comment

PREVIOUS NEXT
Code Example
Shell :: docker in linux 
Shell :: kubectl run ubuntu 
Shell :: git --init 
Shell :: what is the command to move the cursor to the start of the current line in vi 
Shell :: validate ssh key 
Shell :: git server setup 
Shell :: debian make directory 
Shell :: linux see hidden files 
Shell :: git set username and email 
Shell :: GUI for mac home dir 
Shell :: install freepbx on ubuntu 18.04 
Shell :: Color "normal" not understood 
Shell :: How to Install and Configure doctl on Ubuntu 
Shell :: instal LSB pakage in ubuntu 
Shell :: how to use verifly in hardhat 
Shell :: Revert Unstaged and Staged Changes in git command 
Shell :: git remove one commit in the middle 
Shell :: install gnome-panel for kali linux 
Shell :: az aks get kubeconfig 
Shell :: ex: push a new local repository to github 
Shell :: Change cursor style in cmd ,Powershell ,terminal ,git bash 
Shell :: How to check if your unix computer is 32-bit or 64-bit 
Shell :: chmod by group user others 
Shell :: use bash path variable in vim 
Shell :: copy linux command with all hiden files 
Shell :: fstab path 
Shell :: erc20 token openzeppelin example github 
Shell :: grep contains two strings 
Shell :: install arch.univariate import arch_model 
Shell :: windows powershell the operation requires elevation 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =