When you work in Linux Terminal, It involves using keyboard shortcuts to perform common tasks. Here are some useful shortcuts: History Shortcuts: Up Arrow / Down Arrow: Navigate through command history. Ctrl + R: Reverse search in command history. !!: Repeat the last command. !n: Repeat the nth command in history. Navigation Shortcuts: Ctrl + […]
Docker inspect command is very useful to provide detailed information about any container. It provides all information related to image, volume etc. without login into container.You can find out each details you needed. # docker inspect container (Put container’s actual name or ID of the container you want to inspect) # docker inspect ubuntu:latest (To […]
To install packages in Linux using python, you need to use “subprocess” module. Below is a script to install multiple packages. import subprocess def rpm_install(package_list): for package in package_list: try: subprocess.run([‘sudo’, ‘yum’, ‘install’, ‘-y’, package], check=True) # For DNF, use the following line instead: # subprocess.run([‘sudo’, ‘dnf’, ‘install’, ‘-y’, package], check=True) print(f"Package {package} installed successfully.") […]
YAML stands for “YAML Ain’t Markup Language” or sometimes “YAML Ain’t a Markup Language”. It is simple, text-based and human readable format. It is very easy to understand.It is a data serialization language. It is vastly used in DevOps. It also works in promgramming language like python, Go, etc. If you see DevOps tools, it […]
Recent Blog