Skip to main content

Posts

Showing posts from March, 2021

Lab OS 3

__________________________________________________ ** Before we start the lab, please Install and Launch Linux. ** __________________________________________________  The .bashrc file There are many environment variables we can look at and change. There is a special file, named .bashrc, which is used to store your settings. It is located in the user's home directory. 1. This is a .bashrc file from one of my system :  -Symbol # is used to comment a line. -Command "alias" is used to create an alias. -Control statements used using "if" clause. -If you modified your .bashrc file, do remember to source it using the dot operator.     - For example,  ". .bashrc" __________________________________________________ Dealing with blanks and special characters in filenames The shell treats each item after a blank as another file or parameter. A solution is to use quotes, the backslash, or the Tab key. -I created 3 files with bad names inside folder "bad_names...

Lab OS 1

__________________________________________________ ** Before we start the lab, please Install and Launch Linux. ** __________________________________________________ Question : What is Windows, Mac OS x and Linux? Windows : Microsoft Windows is a graphical operating system developed and published by Microsoft.  It provides a way to store files, run software, play games, watch videos, and connect to the   Internet. Most of the PC is currently running on the Windows operating system only.   Windows is expensive. Mac OS x : Mac is an operating system that is developed and marketed by Apple Inc. It can only be   used on Mac devices. Mac OS is more expensive than Windows and the user is forced to buy a MAC system built by Apple. Linux  :  Linux is an open-source operating system based on UNIX, created in 1991. Linux operating    system also comes with a graphical user interface (GUI) with some necessary software that are ...

LAB OS 2

__________________________________________________ ** Before we start the lab, please Install and Launch Linux. ** __________________________________________________ Command retrieval and line editing 1. Type in all the commands below and press "Enter". a) route     - "route" is used for showing or update the IP/kernel routing table. b) uptime     - "uptime" is used to find out how long the system is active (running). c) ls     - "ls" is used to list files or directions in Linux and other Unix-based Operating Systems. d) date     - "date" is used to display the system date and time.      Output of all the commands above : 2. By pressing up arrow, the previous command will be shown.     Pressed up arrow 1 time :     Pressed up arrow 2 times :          Pressed up arrow 3 times :          Output after pressed up arrow 3 times : __________________________________...