100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Summary CompTIA Security+ Notes & Linux Fundamentals notes €7,49   In winkelwagen

Samenvatting

Summary CompTIA Security+ Notes & Linux Fundamentals notes

 12 keer bekeken  0 keer verkocht
  • Vak
  • Instelling

Concise summaries for each topic covered in the CompTIA Security+ exam, plus a deep dive on Linux Fundamentals

Voorbeeld 4 van de 253  pagina's

  • 10 augustus 2024
  • 253
  • 2023/2024
  • Samenvatting
avatar-seller
Session 2
Thursday 30 December 2021 05:04



Work on the Command Line Environment variables - Physical place in memory that stores a value. Value is then available for a script
or programme.
Shell can also be known as CUI (Chewy) Contains information they need programmes do not know about when they are installed

Common shells: 'env' shows current environment variables. E.g. Current user, default shell etc
- Bash (most common)
- Sh or bsh (Bourne Shell) Access contents of env variables with echo command
- Csh (C shell)
- Ksh (Korn shell) Echo $HOME shows value stored in variable
- Zsh (Z Shell)
MYVAR=123 to set variable
Exam focuses on bash
'unset MYVAR' to remove variable
$ = Regular user
# = Super user Its tradition for environment variables to be names ALL CAPS
__________________________________________________________________________________
Some commands are stored in a file,
some commands are built into the shell Shell Config

'pwd' (print working directory) shows current directory Set command sets specific options/parameters for the shell

'ls -l' shows files and extensions. Blue files are directorys To make environment variables available anywhere in your session using the export command 'export
MYDOCS'. Makes variable available to all commands in your shell
'ls -al' shows all files including hidden files. Files that begin with full stop are hidden files _____________________________________________________________________________________

'.' refers to current directory Variable Assignments
'..' refers to parent directory
'gedit .bashrc', add into bottom line.
Root is only directory with no parent
_____________________________________________________________________________________
'll' is an extra command with the same function as 'ls-al' Other useful commands
'time' command. 'time gedit' displays time information on specified program

~/.bash_history shows historical commands used. Ctrl+P for previous, Control+N for next.

Ctrl+x & ctrl+e opens command in text editor (nano, linux default)

'man' = manual pages
'man ls' = manual page for ls command
'info ls' = description and more details for ls command

'uname -a' shows system information

'echo $PATH' is a list of directories that a shell uses to find executable programmes
'which ls' shows location of ls command




Linux Fundamentals Page 1

,Streams, Pipes and Redirects
Wednesday 5 January 2022 07:58



Input Stream - Where the information comes from Stdin = standard input (keyboard usually)
Stdout = standard output (represents monitor or terminal)
Output Stream - Where the information goes to Stderr = standard error




Linux Fundamentals Page 2

,Redirection operator
Wednesday 5 January 2022 08:04



Replaces output e.g. Ls > ls.txt outputs to a txt file rather than ls in terminal




Linux Fundamentals Page 3

, Pipe Commands
Wednesday 5 January 2022 08:10



Piping - connects the standard out of one command to the standard in of another command





Linux Fundamentals Page 4

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper oisinkmcn. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €7,49. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 79751 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€7,49
  • (0)
  Kopen