diff --git a/README.md b/README.md new file mode 100644 index 0000000..67322b3 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ +# Linux Commands — Quick Cheatsheet + +A simple README showing how to clone this repository and start using the cheatsheet files. + +--- + +## Clone the repository + +To get a local copy of this repo, run the following command in your terminal: + +```bash +# Clone the repository to the current directory +git clone https://app.gitpasha.com/Mahmoud-Walid/Linux-Commands.git + +# Change into the repository folder +cd Linux-Commands +``` + +Note: If you prefer SSH and have your SSH key added to your Git account, use the SSH clone URL instead (if available). + +--- + +## What to do next + +* Open the folder with your preferred editor (e.g., VS Code): + +```bash +code . +``` + +* View the cheatsheet file(s) with `cat`, `less`, or open them in an editor: + +```bash +less commands.txt +cat README.md +``` + +--- + +## Tips + +* If `git clone` fails because of network or certificate issues, try using: + +```bash +git clone --depth 1 https://app.gitpasha.com/Mahmoud-Walid/Linux-Commands.git +``` + +* To keep your local copy up to date with upstream changes: + +```bash +git pull origin main +``` + +(Replace `main` with the default branch name if it's different.) + +--- + +## Author + +Made by Mahmoud Waled.