Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 2 The Linux Terminal 1 . Introduction The aim of this lab is to get you familiar with the Linux command line interface (

Lab 2 The Linux Terminal
1. Introduction
The aim of this lab is to get you familiar with the Linux command line interface (CLI). Before
proceeding, you must install a Linux environment on your machine via the method described in "Linux
running in windows". This document can be found in the OPS Week 1 module on Full Sail Online (FSO).
Once you have Linux running on your machine, you may proceed with the steps below. You will
want to keep the two appendices handy as you go through these steps.
2. Directory Management And File Manipulation
1 Open a Linux terminal session (your choice of method)
2 Use the man or help command to look at usage and options for cd, pwd, and ls.
For example: man ls and help cd.
3 Use the commands cd and ls to explore the directories and their content on your system. Use a
variety of relative and absolute paths.
4 Common directories to look at:
/dev All devices the operating system can see.
/etc Configuration files for the system and user programs.
/var/log Stores log files for various system programs.
/bin Application program files.
/lib Library files.
/usr/bin Application program files associated with a specific user.
/usr/lib Library files associated with a specific user.
/boot Linux kernel files and/or boot loader files.
5 Use Tab Completion to make your life easier. When you start typing a path in terminal, you can hit
the Tab key to auto complete the path. If you dont get an option that means you have more than one
option. Hitting Tab again brings up all matching options. Continue typing to narrow the option and
hit Tab again and it should auto-complete the path.
6 Use the file command to examine some of your files and directories.
7 Use man to look at the syntax for the ls command.
8 Use ls to list the files in some of your directories. Now do it so it shows hidden files and directories.
9 Use man -k to search the manual for some of the commands listed in the Common Unix/Linux
Commands reference document posted along with this lab in FSO.
10 Look up mkdir in the manual.
11 Use cd to go to your home directory. From there, do the following:
Makeadirectory called OPS. (Remember use pwd and LS to see the results.)
Makeadirectory inside OPS called "files" using the mkdir options.
Move to the "files" directory and make an empty file using touch called "empty".
Use cp to makeacopy of "empty" in your home directory.
Move back to your home director

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions

Question

deep learning

Answered: 1 week ago

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago