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 :: restart debian server from ssh 
Shell :: delete a remote branch in git 
Shell :: kibana installation 
Shell :: gitignore still tracking files 
Shell :: npm latest version 
Shell :: git ftp init slow 
Shell :: firefox nightly linux curl install fedora 
Shell :: what is nano editor in linux 
Shell :: comment installer le mkpasswd sur ubuntu 
Shell :: ansible remove part of line 
Shell :: du show only total 
Shell :: join rows in one string linux 
Shell :: create symbolic links 
Shell :: add individual file to staging area in git command 
Shell :: linux iw delete interface 
Shell :: ossec ubuntu 20 
Shell :: How to run DGraph docker image 
Shell :: what is the difference between npm uninstall and remove 
Shell :: linode attach volume to disk 
Shell :: UNIX debian ubuntu download python3912 without certificate error 
Shell :: shell owner and permission linux 
Shell :: how to run built in automated test of your project in django 
Shell :: Comparing float or integers in if using bash 
Shell :: curl download with rate limit default 
Shell :: how to search for a package on arch repositories 
Shell :: raccoon scanner error command not found 
Shell :: subtract 
Shell :: retrieve column from csv unix 
Shell :: install mysql majaro 
Shell :: case in fish 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =