Bash cheat sheet I
Here are the bash scripts you frequently use to accomplish your tasks.
Here are the bash scripts you frequently use to accomplish your tasks.
Here we present the continuation of Bash cheat sheet I, providing more advanced Bash commands.
A container is a lightweight package of an operating system that allows users to install software and its dependencies in isolated environments (called ‘containers’), making it a single, portable, shareable, and reproducible package, like Apptainer/Singularity or Docker. Unlike virtual machines, containers are lightweight, fast, and typically run on a Linux-based system. They are often best suited for running one or two applications.
If you want to remove or keep specific columsn, you can cut command.
awkSometimes lines are duplicated in your text file. You can easily remove these duplicates using awk
awkSometimes columns are duplicated in your text file. You can easily remove these duplicates using awk
We often use SSH (Secure Shell) to remotely connect to servers via the terminal. If you’re tired of entering a password every time you log in, follow the steps below to enable passwordless login.
screen sessionThe screen session is a powerful command enables you to push running terminal applications to the background and bring them back to the foreground as needed. When using the screen command, processes can be detached from the session and reattached later. While the session is detached, the original process continues to run, managed by screen. When reattached, the session resumes with terminals intact, just as they were left. Additionally, screen supports split-screen displays and functions seamlessly over SSH connections, even after disconnection and reconnection.
If you want to create a simple static website on GitHub, you can explore the following options: