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 :: icon theme and widget ubuntu 
Shell :: taskkill linux 
Shell :: conda create tensorflow-gpu environment 
Shell :: docker remove dangling images 
Shell :: bat cd to directory 
Shell :: wordpress mit ssh installieren 
Shell :: git remove my local changes and pull from master 
Shell :: batch for loop 
Shell :: @material-ui/icons 
Shell :: git reset head to previous commit 
Shell :: install yup in vue 
Shell :: dotnet format install 
Shell :: cp linux command with progress bar 
Shell :: extend recording time in ubuntu 
Shell :: mac force quit 
Shell :: how to remove a package from arch linux 
Shell :: create user with home directory ubuntu 
Shell :: tree command 
Shell :: install android sdk via terminal 
Shell :: conda command not found 
Shell :: revert local merge 
Shell :: uninstall npm package 
Shell :: git check if there are staged changes 
Shell :: git add ssh 
Shell :: npm install mailchimp 
Shell :: push a branch with diffrent name 
Shell :: bash stderr null 
Shell :: applescript run from cli 
Shell :: port forward kubernetes 
Shell :: reconfigure gitlab 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =