Skip to content

Instantly share code, notes, and snippets.

@AmaranthLIS
Created August 22, 2017 07:36
Show Gist options
  • Save AmaranthLIS/91d5c7bcf4b76e000c5eef523de0939f to your computer and use it in GitHub Desktop.
Save AmaranthLIS/91d5c7bcf4b76e000c5eef523de0939f to your computer and use it in GitHub Desktop.
trick console
#scheduler; list
$ atq
#add
echo wget https://sample.com | at 3:00 PM
$ cp /home/sample.txt{,-old}
$ ls
text_comes_here_1.txt
text_comes_here_2.txt
text_comes_here_3.txt
text_comes_here_4.txt
$ rename 's/comes_here_/goes_there/' *.txt
$ ls
text_goes_there_1.txt
text_goes_there_2.txt
text_goes_there_3.txt
#zip + break + encrypt
$ zip -re test.zip AdbeRdr11010_en_US.exe run.sh Smart_Switch_pc_setup.exe
Enter password:
Verify password:
adding: AdbeRdr11010_en_US.exe (deflated 0%)
adding: run.sh (stored 0%)
adding: Smart_Switch_pc_setup.exe (deflated 2%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment