Intro to Linux || Cisco Lab 5 || Command Line Skills

Опубликовано: 08 Октябрь 2024
на канале: Computer Engineering life
3,610
45

00:00 - 5.1 Introduction

00:20 - 5.2 Files and Directories
|| Command Line interface, format: command [options] [arguments], ls
|| ls -l
|| Arguments added to a command
|| whoami, displays the current user name of the current user
|| uname, uname -n, unanme --nodename

02:52 - 5.3 Command History
|| Arrow keys
|| History, date, and clear commands
|| Printing a specific point in history
|| !9

04:47 - 5.4 Shell Variables
|| Printing using echo
|| using the $HISTSIZE command
|| using the $PATH command
|| which command to determine if there is an executable file

07:03 - 5.5 Command Types
|| type command which determines what type of command a certain command is
|| example of the type command
|| alias command to determine what aliases are in the current shell
|| example of the type command

09:39 - 5.6 Quoting
|| Single quotes ('ex'), Double quotes ("ex"), Back quotes (`ex`), Backslash character (`ex`)
|| Backslash example
|| $(ex) command example
|| Printing out quotes in a string, example
|| Backslash command example
|| Double quotes example
|| Different double quotes example

14:35 - 5.7 Control Statement
|| Semicolon, and, and or statements
|| Semicolon example, printing multiple commands in one line
|| Even if one command fails, others can still execute
|| And statement example
|| Or statement example


Notes: https://docs.google.com/document/d/1G...