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

Cisco VIRL to study for CCNP Routing, Switch and Troubleshoot certification

VIRL Virtual Internet Routing Lab

Cisco VIRL to study for CCNP Routing, Switch and Troubleshoot certification This post is my notes for my installation.  Official installation and other options can be found here http://virl-dev-innovate.cisco.com/ Start Here - Welcome to VIRL VIRL is Cisco's easy-to-use, powerful, and extensible network modeling and simulation environment that enables users to: Build highly-accurate models of existing… Continue reading Cisco VIRL to study for CCNP Routing, Switch and Troubleshoot certification

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

Cisco ASA Firewall troubleshooting show conn and the meaning of flags

Reminder of Cisco ASA Firewall troubleshooting "show conn" and the meaning of "flags", hands on work! If you are looking at the connections on the firewall, understanding the connection's flags is important to understand the status of the connections, specially if you are troubleshooting or want to confirm a connection. Cisco ASA firewall command "show… Continue reading Cisco ASA Firewall troubleshooting show conn and the meaning of flags

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

How many CPUs or Logical CPUs are on my MacOS ?

Antonio Feijao, FeijaoUK, Antonio Cloud, Antonio AWS, Cisco, Linux, Networking, Security

Check below to find the answer macOS:~$ sysctl hw.ncpu hw.ncpu: 4 Note that the number here might not match the number of cores with the command below macOS:~$ system_profiler SPHardwareDataType Hardware:     Hardware Overview:       Model Name: MacBook Pro       Model Identifier: MacBookPro12,1       Processor Name: Intel Core… Continue reading How many CPUs or Logical CPUs are on my MacOS ?

Albert Einstein and Charlie Chaplin quote

When Albert Einstein met Charlie Chaplin, Einstein said: “What I most admire about your art, is your universality. You don’t say a word, yet the world understands you!”. Chaplin replies : “True, but your fame is even greater: the world admires you, when nobody understands what you say." more quotes http://www.motivateamazebegreat.com/2013/12/einstein-visual-quotes-that-will.html

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

MacOS Reset the System Management Controller (SMC) and NVRAM

MacOS Reset the System Management Controller (SMC) and NVRAM Check the sources pages for more details and how to do in other versions of MACs source reset SMC https://support.apple.com/en-ie/HT201295 source reset NVRAM https://support.apple.com/en-ie/HT204063   Reset the SMC on Mac notebook computers First, determine whether the battery is removable. Mac notebook computers that have a nonremovable battery include MacBook… Continue reading MacOS Reset the System Management Controller (SMC) and NVRAM