Grooming Classroomnotes 31/Mar/2023

Command line way of working

  • Refer the cheatsheets
  • understand basic commandline
<command/executable> <arguments>
ping google.com
    command => ping
    google.com => argument
ping directdevops.blog

ping -n 10 directdevops.blog
    command => ping
    arguments => -n 10 directdevops.blog
  • Any application has two types of arguments
    • positional arguments
    • keyword arguments

position arguments

  • Example
cp <src> <dest>


* In the above case passing arguments was necessary & along with that maintaining position was also criticial
* Generally position arguments are passed directly

Keyword arguments

  • Example:
ping -n 1 google.com
  • Here -n stands for number of echo requests and 1 represents value
-n => name of the argument
1 => value of the argument
  • Generally in most of linux commands. Named arguments will be in the following form
-<singlecharacter>
--<word>

cp --recursive
cp -r
  • To learn any command
    • linux comes with inbuild manual man cp or cp --help
    • Windows Powershell commands Get-Help <command> Get-Help <command> -Online

Install some softwares

  • Windows:
    • 10: Terminal
  • Git:
    • Install manually in windows
    • Mac: brew install git
  • Visual Studio Code:
    • Windows: choco install vscode -y
    • Mac: brew install --cask visual-studio-code

Exercise: Watch the video to install softwares on your laptop

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%