Linux bash shell-scripting best practise and basic commands

Linux bash shell-scripting best practise and basic commands Sharing some notes from my studies! http://www.davidpashley.com/articles/writing-robust-shell-scripts/ http://www.tecmint.com/basic-shell-programming-part-ii/ Ubuntu - https://help.ubuntu.com/community/Repositories/CommandLine dns duck duck - https://www.duckdns.org/why.jsp https://blog.malwarebytes.com/threat-analysis/2017/01/new-mac-backdoor-using-antiquated-code/ http://unix.stackexchange.com/questions/227070/why-does-a-z-match-lowercase-letters-in-bash https://www.linuxtrainingacademy.com/linux-commands-cheat-sheet/ 1 – SYSTEM INFORMATION # Display Linux system information uname -a # Display kernel release information uname -r # Show which version of redhat installed cat /etc/redhat-release # Show how… Continue reading Linux bash shell-scripting best practise and basic commands

Make it fun to learn and you will be surprised how much you will learn

Make it fun to learn and you will be surprise how much you will learn!

Challenge yourself and learn how to use the commands below! for grep sed cowsay (there is also the command cowthink) Success is no accident. It is hard work, perseverance, learning, studying, sacrifice and most of all, love of what you are doing or learning to do. Pele     My "cowsay" command for i in… Continue reading Make it fun to learn and you will be surprised how much you will learn

Vim tip cheat sheet commands

Vim Cheat Sheet source https://www.linuxtrainingacademy.com/vim-cheat-sheet/ Contents Global Cursor Movements Insert Mode Editing Marking Text (Visual Mode) Visual Commands Registers Marks Macros Cut and Paste Exiting Search and Replace Search in Multiple Files Working With Multiple Files Tabs Global :help keyword – open help for keyword 😮 file – open file :saveas file – save file… Continue reading Vim tip cheat sheet commands

Hurry up! Free RedHat course RH024

Red Hat Enterprise Linux Technical Overview promotion code promo-rh024  https://www.redhat.com/rhtapps/promo-rh024 It is a basic and for beginners course with only 7 to 10 minutes pear videos, although if you already have good knowledge is still good for a"refresh" knowledge, check my notes below for example. I liked in particular the booting process explanation and the System… Continue reading Hurry up! Free RedHat course RH024

MacOS hardware stress test for CPU

Free MacOS CPU hardware stress test, with one line of command only! And it does not required sudo permissions to run for i in {1..8}; do `yes $i > /dev/null & `; done ; sleep 300 && killall yes && echo "CPU stress test completed" & sleep 300 -- is the controls for how long you want… Continue reading MacOS hardware stress test for CPU

openssl how to protect your .pem key file with a passphrase

Situation/Task: When creating a virtual machine on AWS EC2, you can create and download a new SSH key for this instance.  These keys do not come with passphrase protection.  This means if someone "finds" your key they can use it without restriction. Action: Good news, we can add a layer of protection by adding a passphrase password… Continue reading openssl how to protect your .pem key file with a passphrase