# Some Linux commands that are useful. When my mentor initially suggested removing Windows from my machine and installing a Linux distribution—explaining that many programmers preferred Linux—I initially thought it was a joke. However, as I delved into it, I discovered the immense potential at my fingertips. To ease myself into this new environment, I focused on familiarizing myself with navigating the terminal. Once I felt comfortable, I began crafting my own scripts and commands to streamline tasks and enhance efficiency. ### Here are some of the following commands/scripts I use. A script called num.sh to know how many files are in a directory. ```bash #!/usr/bin/bash ls -1 | wc -l ``` A script for a motivational quote every time I open up a terminal. This script is in my .bashrc file as source /home/user/bin/qotd.sh ```bash #!/usr/bin/bash cowsay -f tux "Do only, what only you can do." ``` As a student I am constantly flipping through tonnes of lecture slides and to make life a little bit easier to find them I created an alias, in my .bashrc file as pdf. ```bash alias pdf='find -iname "*.pdf" | sort' ```