Bash

5 posts

2021

Copying files using the cp command - Bash

How to use the cp command in bash to copy files and directories.

Listing files and directories with ls - Bash

How to use the ls command in bash to list files and directories, with useful flags explained.

Changing directory with cd - Bash

How to use the cd command in bash to navigate directories, with shortcuts and tips.

Git - Remove unreachable objects using git prune

How to use git prune to remove unreachable objects from your repository, with git fetch --prune and git gc.

Creating a new directory using mkdir - Bash

How to use the mkdir command in bash to create directories, including nested folders with -p.