Professional Documents
Culture Documents
(F2-Formative) - Linux Installation, Environment Familiarization and File Creation Commands
(F2-Formative) - Linux Installation, Environment Familiarization and File Creation Commands
(F2-Formative) - Linux Installation, Environment Familiarization and File Creation Commands
CPE0047L/CPE0047LL/CPEOPSYSLA
(OPERATING SYSTEM - LAB)
EXERCISE
2
LINUX INSTALLATION/ENVIRONMENT FAMILIARIZATION AND FILE
CREATION COMMANDS
Section:
Professor:
CentOS
CentOS (/ˈsɛntɒs/, from Community Enterprise Operating System) is a Linux distribution that provides a free,
enterprise-class, community-supported computing platform functionally compatible with its upstream source, Red
Hat Enterprise Linux (RHEL). In January 2014, CentOS announced the official joining with Red Hat while staying
independent from RHEL, under a new CentOS governing board.
VirtualBox
Offering versatile virtualization, VirtualBox can create a virtual machine with virtually any operating system (except
those intended for ARM devices). It also offers software and hard assisted virtualization, storing virtual machines as
disk images. This makes them easy to backup or migrate to other PCs or VM applications.
Directory Commands
A. To display the contents of the current working directory
Syntax:
ls
B. To change directory
Syntax:
• cd . means the current directory
• cd .. means parent directory
• cd means will take you to your home directory
• cd – will take you to your previous directory
• cd ~ username will take you to the home directory of the user
C. To make directory/directories
Syntax:
mkdir [-option] directory1 directory2 …
Examples:
To create directories dir1, dir2, dir3, on the current directory:
Syntax:
mkdir dir1 dir2 dir3
mkdir my\ folder
D. To remove directory
Syntax:
rmdir [-option] directoryname
*This command allows removing EMPTY directories.
Examples:
To remove the directory dir1
Syntax:
rmdir dir1
G. To display previously entered commands. This information is stored the ~/.bash_history file located at the home
directory of each user.
Syntax: history
3. Create a directory at your current directory. (Use your surname1_surname2 as your directory name)
Paste your captured executed command and output below.
Observation:
VII. REFERENCES:
Sobell, M., et al. (2017). A Practical Guide to Linux Commands, Editors, and Shell Programming, 4 th Ed. Addison-
Wesley Professional
Cobbaut, P. (2016). Mastering Linux- Networking
Blum, R., (2015). Linux Command Line and Shell Scripting Bible
Fox, R., (2015). Linux with operating system concepts
Sobell, M., et al. (2017). A Practical Guide to Linux Commands, Editors, and Shell Programming, 4 th Ed. Addison-
Wesley Professional
Cobbaut, P. (2016). Mastering Linux- Networking
Blum, R., (2015). Linux Command Line and Shell Scripting Bible
Fox, R., (2015). Linux with operating system concepts