Connect to AWS class instance using your own userid DNS: ec2-35-175-21-197.compu
ID: 3755878 • Letter: C
Question
Connect to AWS class instance using your own userid DNS: ec2-35-175-21-197.compute-1. amazonaws.com Configure putty to save your session logs to a file you will need to upload to blackboard PuTTY Reconfiguration Category E- Session Options controlling session logging - Logging E- Terminal Session logging O None Printable output O SSH packets SSH packets and raw data Log file name: my-user-name(dpedro) Window Browse (Log fle name can contain &Y. 8M, 8D for date, &Tfor time, arnd &H for host name) What to do if the log file already exists O Always overwrte Translation Colours Q Always append to the end of t a SSH O Ask the user every time Flush log file frequently Options specific to SSH packet logging Omit known password fields Dmt session dataExplanation / Answer
A command line interface(CLI) is used to acess the AWS resources using command line. This is a very useful feature that CLI has .The command 'echo"complete -C aws_completer aws" >> ~/.bash_profile' is used for command completion.
Suppose while typing the code you suddenly forgot what's next so if you use this command then you just need to double tap the TAB key it will do the job for you.
Let me give you an example : if you just want to work with amazon ec2 then you will have to type aws ec2 and just assume that you have forgotten what's rest so now you will have to go to the documentation section and check out all of them and then finally you will be able to get it,but this auto complete feature allow you to just double tap the TAB key, so when you press the tab key it give you the all the possibilities that you can add with ec2. You can try various commands and this makes it easier to code.
now explaning the command in detail : " complete -c aws_completer aws" is written into the bash_profile. '>>' this symbol is used to write to a particular location. The source command evaluates the ~/.bash_profile command.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.