Useful tips for everyday
For which reason can a GRE tunnel have an up down status? The GRE tunnel status alternates between up and down if the outbound interface…
Can I delete proc folder? You can not delete them since they are not files. /proc is mounted using the procFS, which is not a…
How do I copy the path to the clipboard? Instructions. Just click with the right mouse button on any file or folder and select “Copy…
Can a shell script accept command line arguments? Shell scripts also accept command line arguments similar to nix commands. Command line arguments are useful for…
How does MySQL work in terminal? Launch the MySQL Command-Line Client. To launch the client, enter the following command in a Command Prompt window: mysql…
How do you check if a port is blocked using telnet? A basic way to test whether your firewall is interrupting your Telnet is to…
Can you cd in a bash script? Trying to use cd inside the shell script does not work because the shell script runs in the…
What is docker0 network interface? docker0 is a virtual bridge interface created by Docker. It randomly chooses an address and subnet from a private defined…
How do you list a child process process? Yes, using the -P option of pgrep , i.e pgrep -P 1234 will get you a list…
How do you iterate through 1 in Python? Use a for-loop and range() to iterate over a number Use the for-loop syntax for num in…