Linux
Last updated
Was this helpful?
Last updated
Was this helpful?
The mirror link : is faster than the official download url
URL Encode the values requested via curl
Wget multiple files with bash expansions
Chmod multiple files
Avoid multiple patterns in a file
Grep Multiple Contents
Keep the grep highlighted color when piping the output
Exclude specific directories from the find command
Find files with multiple extensions
Install fzf
Make fzf to interpret the colors
Know the files location of the services without installing the application
Change the default repository for higher speed
Know the version of the application installed from apt with apt-cache policy <packageName>
Add the following function in the .bashrc file
Source the file and install new contents with install <packageName>
(install xclip)
All the installed commands will be available in the ~/install.txt
Add the following in the .bashrc file
Execute commands with a <command>
(a whoami)
Only the commands with the successful status code will be logged in the ~/successcommands.txt file
Date format with full date and time: date +%F:%T
(Mostly used with somecommand | tee $(date +%F:%T).log
)
Add Kali Linuxreleases in ubuntu ( Might be slow when installing stuff and also unaware the stability)