Linux - Ubuntu Lecture One
Linux - Ubuntu Lecture One
LECTURE ONE
:Objective
Provide a simple definition of Linux operating system.
Clarification of online Linux emulator JS/UIX .
Provide description of the Command-Line Editor of Linux operating system.
Enable students to understand the practical side of Linux operating system.
Understand and implement the following commands:
cd command.
pwd command.
ls command.
Cp command.
mkdir command.
Definitions
Linux operating system:computer operating system (OS)
assembled under the model of free and open-source
.software development and distribution
JS/UIX: online Linux emulator programmed in Javascript
.and runs perfectly on different types of web browsers
The Command-Line Editor
Before looking at the command-line instructions, I’d like to explore the
various ways you can enter and edit text on the command line, because
numerous options are available to make your life a lot easier.
For example, once you have entered one or more commands, you can
scroll back and forth through the command history to reselect or edit
previous commands by using the Up and Down cursor keys, or Ctrl-N for
Next and Ctrl-P for Previous.
The cd, PWD, and ls Commands
Now let’s look at some commands, starting with the cd command,
which is used to change directory (or folder). In its simplest form, you
:just enter something like the following
cd /home -)1
Ubuntu should report that you are now in the home folder
PWD -)2
Display the full path of the current working folder.
The cd, PWD, and ls Commands
You can try navigating back up a level to the / directory by entering this:
3)- cd ..
Create a File in JS/UIX online Linux emulator
touch filename.extension
Create a File in JS/UIX online Linux emulator
The cd, PWD, and ls Commands
4)- ls
• List all files and folders in the current folder (except hidden ones).
5)- ls -l
• Display all files and folders one line at a time with extended information (long form).
6)- ls -a
• Display all files and folders (including hidden ones).
7)- ls -la
• Display all files and folders (including hidden ones) in long form.
The cp and mkdir Commands
8)- CP
• The cp command takes two arguments: an existing file to copy and a
destination. So, for example, if you have the file accounts.txt and would like to
make a backup file, you can issue this command:
o cp accounts.txt accounts.bak
Also copy a text file to directory
• Copyfile named CS340.TXT to directory of
manal .
The cp and mkdir Commands
9)- mkdir
• Create folder .
:Conclusion
Learn Linux operating system used to implement command line editor.
Understand and implement the cd, ls, cp, mkdir commands.