OK, so this one is pretty easy. You can use the hostname command to return back the name of your computer. There’s also a nifty little s flag to remove any domain naming from the return string.
-
-
Directory Listing with Permissions
To list the files in a directory with the permissions for files, use the following command (assuming you’re in the working directory you would like to list files for: ls -al