Time
8 hours 33 minutes
Difficulty
Beginner
CEU/CPE
9

Video Transcription

00:05
in Lennox. The command line interface or see alive for short is used to interact with the system by entering executed ble commands to complete tasks.
00:14
These commands air used open folders, run applications, search for files,
00:19
manage users and more,
00:22
knowing basic Lennox commands and when to use. Which command is an important skill for standard Lennox users and those in a technical role.
00:29
Pseudo and sue are two different commands used to gain route or super user privileges.
00:35
The pseudo command allows a standard user to execute commands with root privileges.
00:40
The Sioux Command is used to switch from a user account to a root account
00:44
with either command. A root password is required
00:47
when running as the route user. The dollar symbols, which is to a pound symbol entering exit, will switch the account back to the original user account.
00:55
The CD command is used to navigate the systems file directory,
00:59
CD plus location, such as Ford slash Home Ford Slash sent us will navigate to the home Directory of the user sent us
01:07
to move a directory level up, use seedy space dot dot
01:12
entering seedy space. Tilda is a quick way to get back to the user Home Directory toe list. The file and directory names in the present directory level used that l s command files or directories that are hidden will not show unless the dash a option is added.
01:29
L s space dash l displaces file details such as permissions, ownership size and dates.
01:36
To confirm the current directory location, the PWD Command, which stands for President Working Directory, can be used.
01:42
The command will return the full path starting from the root of the file system.
01:46
This command can be confused with the past W D or password command, which is used to change the user's password.
01:53
The N V command is used for moving files. For example, to move the file family pets dot jpeg from the present directory into the destination directory named Family Inter M V Space family pets dot jpeg space family.
02:09
The M V Command can also be used to rename files jury name, family pets dot jpeg to simply pitstop J peg Injured envy space family pets dot jpeg space pets Dodge A pick
02:22
the text pets dot jpeg will be the files. New name
02:25
used the l s command to confirm the name change
02:29
when copying a file or directory either within the current directory or to another directory, use the CP Command along with the file to be copied and the new name for the file.
02:38
Enter CP Space Pets. R J Peg Space, My bed Stop taping
02:43
Confirmed the copy was successful with the L s command
02:46
Did the lead The file that was just copied used the remove command injuring are in space my pets such a pig and confirming the deletion
02:55
To change the permissions For a filer directory, use the change mode Ch Mod Command
03:00
start with L s Space bash L to view the list of files and their current permissions.
03:07
The syntax for the command is ch mod space permissions Space file name
03:12
using numbers to represent the permissions. Zero for none one for execute two for right and four. Farid.
03:20
There are three different roles. Permissions are assigned to displayed an order, user group and others.
03:27
For example, if the central issues er is the only user who should have read and write permissions for the finance dot text file, the command would be ch mod space 600 Space finance dot text
03:39
six is adding four and two for read and write permissions for user, while group and others are assigned. Zero No permissions for the file. Confirm this change with L s Space dash L
03:52
to give all permissions to all roles for the one file execute the command CH Mod Space 777 Space finance dot text
04:02
adding four to end one. Read, write and execute This seven assigned to each role
04:10
listing the file details. Elle est a stash l now shows, read, write and execute for all roles For the finance dot text file.
04:17
The change Owner Command is used to change the user or group ownership of a file
04:23
Onley route can change the ownership of a file.
04:25
Operating is a user. The syntax would be pseudo space ch own space New owner Space file name to change the ownership of the family directory to the Santo s user, enter pseudo space ch own space Santo s space family
04:43
at less space dash l shows The new ownership for the family directory in the third column has been switched from root to Cinderella's
04:50
to search files Forgiven text. The grip command can be used.
04:55
The sin Texas grab search text inserts location
04:59
to search for the exact word. D, H, c, P and the interfaces file. Enter grip Space Single Quote D H cp Single quote space forward slash e TC Ford slash network four slash interfaces.
05:15
The results returned is the line of text from within the file where the search term was found
05:19
To ignore word case, Use the flag dash I after grip troubleshooting network connections could be done with conflict commands.
05:28
Wireless connections used to command i w config
05:31
and all network connections. Use I've Convict
05:36
V. I is one of the text editors and Lennox
05:40
to open a file for editing. The sin text is V I space file name.
05:46
Within the same directory is the file to be edited. Enter V. I Space interfaces.
05:51
When the file opens, press the ikey to begin editing
05:57
to save the changes. Press escape and colon w Q. Which will write the changes and quit the V I editor to exit the file without editing type colon Que exclamation point
06:10
reviewing current running processes used the P S command.
06:14
This command is helpful when trying to identify malfunctioning processes
06:18
determinate a specific process. Enter the command kill. Plus, it's p I. D. Number in the first column
06:27
installing new soccer packages. And Lennox is done using the AP T Dash Get command
06:31
if the user is not route than pseudo plus a B T dash kit is used
06:36
common used for this command. History. Treat updates Using pseudo space a p T. Dash kit Space Update.
06:44
This command finds it installs any new updates for the current Lennox distribution.
06:49
A B T Dash kit is also used for installing, performing diagnostics and removing packages.
06:57
The shutdown command is an easy and quick way to shut down Lennox system.
07:00
They shut down could be scheduled using the syntax shut down space Dash H for Holt and the number of minutes until shut down for two minutes into shutdown space. Dash H space, too.
07:14
After two minutes, the system will power itself off. There are many commands for the Lenox operating system,
07:18
knowing some of the basic commands can help users with basic navigation or troubleshooting

Up Next