Lab 1

In this lab we learn the functions of various commands using a linux terminal. The commands are listed below with a description and screenshot of its behaviour.

Command df: Shows the disk filesystem and the used/free space.

df

Command cal: Shows the current months calender and highlights the day.

cal

Command free: Shows the available ram in the computer.

free

Command cd: allows “travel” through the file directories.

Capture

Command pwd: shows your current location with the full file path in the system

pwd

Command ls: shows a list of files/directories in your current location.

ls

Command file: shows the type of file.

file

Command less: opens up a file to be viewed. less is better than more.

lessfile shown

Leave a Reply

Your email address will not be published. Required fields are marked *