oneliner.sh is a currated collection of the best oneliner commands for linux. Be a CLI samurai.
- 100% CLI-based + extremely fast
- upvote your favorite commands
- share commands from your toolbox
curl oneliner.sh/command+name
curl oneliner.sh/kubectl
curl oneliner.sh/docker-compose/install
- login
curl oneliner.sh/login
copy the link, paste it into a browser & authorize oneliner.sh with your github account.
once authorized, then you can copy the text in the box and paste it back into your terminal.
you will be logged in.
- to add a new command
for example, let's say you wanted to add a command for finding and replacing a string of text within multiple files.
you could type:
cat <<EOF | curl -b ~/.oneliner.sh.cookie.txt --data-binary @- oneliner.sh/linux/find+files+search+replace/add
find ./ -type f -print0 | xargs -0 sed -i 's/1.2.3.4/1.2.3.5/g'
EOF
linux/find+files+search+replace added to the queue by benperove
