Difference between revisions of "Linux-Ubuntu/C2/Basic-Commands/English"
| Line 84: | Line 84: | ||
This job is done by the Command Interpreter called the '''shell'''. | This job is done by the Command Interpreter called the '''shell'''. | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|| Type at the command prompt | || Type at the command prompt | ||
| Line 126: | Line 107: | ||
|- | |- | ||
|| Point to the''' type ps '''command. | || Point to the''' type ps '''command. | ||
| − | || When a command is entered, the '''shell''' searches listed directories for it. If found, the program runs; otherwise, a “command not found” error appears. | + | || When a command is entered, the '''shell''' searches listed directories for it. |
| + | |||
| + | If found, the program runs; otherwise, a “command not found” error appears. | ||
|- | |- | ||
|| Type '''echo $PATH''' | || Type '''echo $PATH''' | ||
| Line 135: | Line 118: | ||
Press Enter. | Press Enter. | ||
|- | |- | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|| Type at the prompt: '''type''' '''echo''' | || Type at the prompt: '''type''' '''echo''' | ||
| Line 183: | Line 141: | ||
|| We will learn more about commands in the upcoming tutorials. | || We will learn more about commands in the upcoming tutorials. | ||
|- | |- | ||
| − | || '''Slide | + | || '''Slide 7''' |
'''Summary''' | '''Summary''' | ||
| Line 194: | Line 152: | ||
Let us summarise. | Let us summarise. | ||
|- | |- | ||
| − | || '''Slide | + | || '''Slide 8''' |
'''Assignment''' | '''Assignment''' | ||
| Line 206: | Line 164: | ||
|| As an Assignment, please do the following. | || As an Assignment, please do the following. | ||
|- | |- | ||
| − | || '''Slide | + | || '''Slide 9''' |
'''Thank you''' | '''Thank you''' | ||
| − | + | ||
| + | This Spoken Tutorial is brought to you by EduPyramids Educational Services Private Limited, SINE, IIT Bombay. | ||
| + | || | ||
Thank you. | Thank you. | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 19:20, 10 March 2026
Title of the script: Basic Commands in Linux
Author: EduPyramids Team
Keywords: linux commands, shell, command interpreter, internal commands, external commands , bash, type, path, video tutorial.
Prerequisite Tutorial: Synaptic Package Manager
| Visual Cue | Narration |
| Slide 1
Title Slide |
Welcome to the Spoken tutorial on Basic Commands in Linux. |
| Slide 2
Learning Objectives |
In this tutorial, we will learn about:
|
| Slide 3
System Requirements |
To record this tutorial, I am using
|
| Slide 4
Pre-requisites |
To follow this tutorial,
|
| Slide 5
Code files The following code file is required to practice this tutorial. 1. bc-commands.txt This file is provided in the Code Files link of this tutorial page. |
The following code file is required to practice this tutorial.
This file is provided in the Code Files link of this tutorial page. |
| Slide 6
Linux Commands |
Now let us see what Linux commands are?
|
| Screencast:
Press Ctrl, Alt and T keys on your keyboard |
Let us open the terminal by pressing Ctrl, Alt, and T keys on the keyboard. |
| Point to the $ prompt on the terminal window. | we can see a prompt $ sign and a cursor blinking next to it.
This is where we need to type in a command. |
| Type at the command prompt:
who >> press Enter |
Type at the prompt who and press Enter.
We can see the name of the users logged in on the terminal. |
| Only Narration | Do you know which entity converts these commands into actual actions?
This job is done by the Command Interpreter called the shell. |
| Type at the command prompt
echo $SHELL |
Let us see which shell we are using?
Type echo space dollar SHELL in capitals and press Enter. |
| Point to /bin/bash | The output shows slash bin slash bash( /bin/bash)
The output shows the present shell that is being used. |
| Type at $: type ps
Highlight the output: ps is /usr/bin/ps |
Now type: type space ps and press Enter.
The output is shown as ps is /usr/bin/ps This shows that ps is a file stored in the usr/bin directory. |
| Point to the type ps command. | When a command is entered, the shell searches listed directories for it.
If found, the program runs; otherwise, a “command not found” error appears. |
| Type echo $PATH | To see the lists of the directories stored in the PATH environment variable,
type echo space dollar PATH in capital. Press Enter. |
| Type at the prompt: type echo
Press Enter. |
Type at the prompt, type space echo and press Enter. |
| Point to the output. | The output shows echo is a shell builtin.
It means echo command is an internal command. |
| Point to the output.
Type: type cd |
Type, type space cd and press Enter.
The output shows cd is a shell builtin. So cd is also an internal command. |
| We will learn more about commands in the upcoming tutorials. | |
| Slide 7
Summary In this tutorial, we have learnt about:
|
With this we come to the end of this tutorial.
Let us summarise. |
| Slide 8
Assignment As an assignment, Run the following commands and check the output
|
As an Assignment, please do the following. |
| Slide 9
Thank you This Spoken Tutorial is brought to you by EduPyramids Educational Services Private Limited, SINE, IIT Bombay. |
Thank you. |