Terminal Commands
Here’s what each of these terminal commands does:
ls: Lists the files and directories in the current directory. You can add options like-lfor a detailed list (permissions, owner, size, etc.) or-ato show hidden files.pwd: Stands for "print working directory." This command displays the path of the current directory you are in.cd Desktop: Changes the directory to "Desktop." If "Desktop" exists in your current location, you'll move into that folder. You can usecdwith other directory names to navigate your file system.uname: Displays system information. Runningunameby itself shows the OS name. Adding-a(likeuname -a) gives you detailed information, including the kernel version, machine hardware, etc.whoami: Prints the username of the current user. It shows which user is currently logged into the terminal session.id: Displays user and group information for the current user. It includes the user ID (UID), group ID (GID), and groups the user is associated with.hostname: Shows the name of the host (the computer’s network name). This is typically the name assigned to the computer when it was set up.cd -- : used to go back a directory one level