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 :: kubernetes get persistent volume claims 
Shell :: uncommit the last commit 
Shell :: what to do with the git config 
Shell :: github start 
Shell :: apache airflow install 
Shell :: how to unrar multiple files at once linux 
Shell :: powershell make directory 
Shell :: how to shutdown system immediately with shutdown command 
Shell :: git clone https://github.com/git/git 
Shell :: letsencrypt error 
Shell :: how to execute script and pass a parameterin linux 
Shell :: cors github 
Shell :: git commit exluding one file 
Shell :: GIT: List all currently configured remotes 
Shell :: rails db:rollback 
Shell :: gitgraken pre-receive hook declined 
Shell :: mv command in linux 
Shell :: bash find and replace all files with specifc name with another file 
Shell :: ubuntu terminal search command 
Shell :: apache airflow docker 
Shell :: free image upload server 
Shell :: install erlang 20 mac brew 
Shell :: mountebank docker quick start 
Shell :: exception in linux 
Shell :: create vite app 
Shell :: powershell download file from api url 
Shell :: vim repeat last command vim vi 
Shell :: prepare ansible playbook to setting up production grade server in kubernetes 
Shell :: flag yes gcloud 
Shell :: check quantity of files in a folder 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =