Clear terminal
'clear'
Clear terminal & history
'history -c && clear'
Print history
'echo_info "history\n"; history'
Search history
'echo_info "history|grep\n"; history|grep'
Print 30 most used bash commands
'cut -f1 -d" " ~/.bash_history|sort|uniq -c|sort -nr|head -n 30'
List non hidden files human readable
'echo_info "ls -lFh\n"; ls -lFh'
List all files human readable
'echo_info "ls -alFh\n"; ls -alFh'
Create directory and required parent directories
'mkdir -p'
Unmout drive
'umount'
Exit terminal
'exit'
Open with sublime text (requires subl)
'subl'
Copy to clipboard with xsel (requires xsel)
'xsel --input --clipboard'
Paste from clipboard with xsel (requires xsel)
'xsel --output --clipboard'
Copy selection to clipboard with xclip (requires xclip)
'xclip -selection clipboard'
List installed ides
Open given files in ide
open-in-ide alias
'open-in-ide'
Remove unused containers, images, networks, system and volumes
docker-clean alias
'docker-clean'
Execute command inside given container (interactive)
docker-exec alias
'docker-exec'
Kill running containers
docker-kill alias
'docker-kill'
List running containers
docker-list alias
'docker-list'
Restart container (interactive)
docker-restart alias
'docker-restart'
Enter interactive shell inside container (interactive)
docker-shell alias
'docker-shell'
List images, volumes and network information
docker-status alias
'docker-status'
Stop running containers
docker-stop alias
'docker-stop'
Config bash_aliases git default settings
Stage files to git index
Pretty Git Log
'git log --pretty
mend last commit message, author and date
Show what revision and author last modified each line of a file
Check branch exists
Create, checkout, rename or delete git branch
Create, checkout, rename or delete git branch
'branch'
Restore working tree files
Clean unreachable loose objects
Clone remote git repository locally (pulling submodules if any)
Check commit exists
Write changes to local repository
reate conventional branch name
reate conventional commit message
Delete old Github workflows
Fetch remote branches
rim
ormat type
ormat ticket
ormat branch subject
ormat commit subject
Abort the rebase or pick operation
Continue the rebase or pick operation
Show changes between commits, commit and working tree, etc
Get current branch name
Get main branch name
et repository url from local config
Print changes from every commit
'echo_info "git whatchanged -p --abbrev-commit --pretty
Reset current branch to a previous commit
Print TangoMan git status
Print TangoMan git status
'gstatus'
Print / update git account identity
Initialize git repository and set remote url
Check cherry-pick is in progress
Check rebase is in progress
Lists bitbucket user public repositories, try browsing "https://bitbucket.org/repo/all
Lists GitHub user repositories
Print git log
Print origin settings
Merge git branch into current branch
Open modified/conflicting files in ide
open-commit-files-in-ide alias
'open-commit-files-in-ide'
heck branch is valid
arse branch type, eg: feat/FOO-01/foobar => fix
arse branch ticket, eg: feat/FOO-01/foobar => FOO-01
arse branch subject, eg: feat/FOO-01/foobar => foobar
et branch type
et branch ticket
et branch subject
heck commit hash is valid
arse commit type, eg: feat(foobar): FooBar (FOO-01) => feat
arse commit scope, eg: feat(foobar): FooBar (FOO-01) => foobar
arse commit subject, eg: feat(foobar): FooBar (FOO-01) => FooBar
arse commit ticket, eg: feat(foobar): FooBar (FOO-01) => FOO-01
arse commit pull request, eg: feat(foobar): FooBar (FOO-01) (#4321) => 4321
et commit type
et commit scope
et commit subject
et commit ticket
et commit pull request
et commit body
Select a branch among multiple options
Select a commit among multiple options
Select a repository among multiple options
Apply a commit from another branch
rint Jira url
Pull git history from remote repository
Update remote git repository
Reorganize local commit history
Execute git reflog
Reset current git history
Set / print local git repository server configuration
Print changes from given commit
Manage stashed files
Create, list or return latest tag
Create ".env" file into "~/.TangoMan75/bash_aliases/config" folder
print TangoMan hero
Load ".env"
Set parameter to ".env" file
Convert Markdown to html or pdf format
Print image subject names from file exif data
Optimize JPG images and remove exif
Lists picture exif modified at
Organise pictures and videos by last modified date into folders (creates undo script)
Rename pictures to date last modified (creates undo script)
Resize images
Update picture datetime from filename (creates undo script)
Play folder with vlc
Change multimedia file to correct extension
Check DNS records
Get external IP
Edit hosts with default text editor
List network adapters
Mount nfs shared ressource into local mount point
Print local ip
'echo_info "hostname -I\n"; hostname -I'
List open ports
'echo_info "lsof -i -Pn | grep LISTEN\n"; lsof -i -Pn | grep LISTEN'
Check Tor configuration
'curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org | grep -m 1 Congratulations'
Close all ssh tunnels
'sudo pkill ssh'
Find ssh processes
'ps aux | grep ssh'
List open ssh connections
'netstat -n --protocol inet | grep :22'
Print mac address
'ifconfig | grep HWaddr'
Resolve reverse hostname
'echo_info "host\n" &&; host'
list iptables rules
'echo_info "sudo iptables -S"; sudo iptables -S; echo_info "sudo iptables -L\n"; sudo iptables -L'
Start VNC server in the background
'echo_info "x11vnc -usepw -bg -forever\n"; x11vnc -usepw -bg -forever'
Start VNC server in the background
'echo_info "x11vnc -remote stop\n"; x11vnc -remote stop'
Start SSH server
'sudo systemctl start ssh'
Stop SSH server
'sudo systemctl stop ssh'
Redirect ports with iptables
Scan with nmap
Create / delete hosts in /etc/hosts
Unmount nfs share
Print available bssids, channels and ssids
Set wlan adapter to managed mode
Set wlan adapter to monitor mode
Discover available wireless networks
Start php built-in server
Set default php version
Start python built-in server
Execute python3 command
'python3'
Perform python unittest
'echo_info "python3 -m unittest -v\n" && python3 -m unittest -v'
Install requirements.txt with pip3
'pip3 install -r requirements.txt'
Spoof network adapter mac address (generates random mac if not provided)
Create a reverse shell connection
Disconnect client from wifi network
Associates with target wifi network
Dump captured packets from target adapter
Switch default ssh id
Decode string from base64 format
Encode string from base64 format
Generate random string
Trim given string
"sed -E 's/^[[:space:]]*//'|sed -E 's/[[:space:]]*$//'"
Decode string froml URL format
Encode string froml URL format
Start project debug server
Start Symfony binary server
Returns appropriate symfony console location
Clears the cache
'sf cache:clear --env
Debug router
'sf debug:router'
Update database shema
'sf doctrine:schema:update --dump-sql --force'
Debug container
'sf debug:container'
Warms up an empty cache
'sf cache:warmup --env
Synchronize destination folder with source with rsync
Create new user
List connected drives (ignore loop devices)
drives alias
'drives'
Create bootable usb flash drive from iso file or generate iso file from source
Change files mode recursively
Own files and folders
Find / list installed apt packages
Install package on multiple systems
Find / list available apt packages
Shortcut for apt-get remove -y
Find / list available apt packages
Create symlink
List enabled services
'systemctl list-unit-files | grep enabled'
Open file or folder with appropriate app
sudo alias (android)
'tsudo'
apt-get alias (android)
'pkg'
Open current location in terminal
'echo_info "gnome-terminal --working-directory
Print bash_aliases documentation
Print current system infos
Reload aliases (after update)
Update tangoman bash_aliases
Change files extensions from given folder
Print help cheat.sh in your terminal
Recursively delete junk from folders
Compress a file, a folder or each subfolders into separate archives recursively with 7z
Create a shortcut on user destop
Extract tar archive
Print help for desired command and flag
Move all files from subfolders into current folder (no overwrite)
Generate rename script
Rename files recursively
Print total size of file and folders
Search on google.com
google alias
'google'
Search on youtube.com
youtube alias
'youtube'