Skip to content

Latest commit

 

History

History

Dot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

dotfiles

  • use this as a template
# 

bash aliases

alias ls='ls --size --human-readable --group-directories-first --color -1 --sort=extension'

## MISC
alias CD_TMP='cd /tmp/'
alias CHTREE_sep='printf "\n\n=====\n\n"'
alias DATE_simple='$(echo date +"%Y-%m-%d")'
alias PY3_HTTP_1234='python3 -m http.server 1234'




# ========================================================================================== #
## GREPS
alias GREP_IPS_1='grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"'
alias GREP_IPS_2='grep -Eio "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"'
alias GREP_URL_1='grep -Eio "(http|https):https://[a-zA-Z0-9./?=_%:-]*"'
alias GREP_URL_2='grep -Eio "https?:\/\/([\w\.-]+)([\/\w \.-]*)"'
#alias GREP_URL_3='grep -Eio "REGEXP HERE"'
#alias GREP_URL_4='grep -Eio "REGEXP HERE"'
#alias GREP_URL_5='grep -Eio "REGEXP HERE"'
# ========================================================================================== #





## I/O
alias TR='tr --squeeze-repeats " \t\n\v"'
alias ls='ls --color=auto'

bashrc

# 
#