100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary LPIC 1 $3.25   Add to cart

Summary

Summary LPIC 1

2 reviews
 683 views  27 purchases
  • Course
  • Institution
  • Book

Summary study book LPIC-1 Linux Professional Institute Certification Study Guide of Christine Bresnahan  & Richard Blum - ISBN: 9781119021186, Edition: 4, Year of publication: 2015 (Summary LPIC book)

Preview 2 out of 88  pages

  • Yes
  • January 22, 2016
  • 88
  • 2014/2015
  • Summary

2  reviews

review-writer-avatar

By: hservaas • 6 year ago

Translated by Google

As far as I could look at and compare, clear layout, written short and concise. For me a solution to download this because it takes a lot of time to summarize especially if you work fulltime!

review-writer-avatar

By: mgreven • 6 year ago

avatar-seller
Hoofdstuk 1:

Exploring your Linux Shell Options

 Bash: Bourne again Shell
 BSH: Bourne Shell
 Tcsh: based on csh
 Csh: cshell
 Ksh: korn shell
 Zsh: Z shell

GUI use xterm or konsole to launch an x term program that will run a shell.

Using Internal and External Commands:

Change directory:
 Cd /home/sally
 Cd ~ : goes to your home directory
Display the working directory
 PWD
Display a line of tekst
 Echo
Execute a program
 Exec myprog (it replaces the shell)
Time an operation
 Time pwd (tells you how long the system takes to execute a command)
Set options

Terminate the shell
 Exit or logout

./myprog you can run it in current directory
/home/arthur/thisprog you run it in the directory

Roots path should never include the current directory

Performing some shell command tricks
Press tab key for automaticly fill in the command

History with the up or down key or ctrl+p or ctrl+n. Ctrl+r is reverserd search, ctrl+s searches
forward, ctrl+g terminate the search

Move within the line: press ctl+a or ctrl+e to move the cursor to the start or end of the line
Delete text: Ctrl + D delete character und the cursor, ctrl k deletes al text from the cursor till the end.
Ctrl X + k deletes all text from cursor to beginning.

Transport text: ctrl + t
Change Case esc + u converts text from the cursor to the end of the word to uppercase. Esc + L
converts text to the end of the word to lowercase. Esc +c converts the letter to uppercase.

Invoke an editor: Ctrl+ x  ctrl +e
History -c (clears) stored in the .bash_history in home directory

, Exploring Shell configuration


~/.bashrc and ~/.profile files are the main user configuration files for bash and /etc/bash.bashrc and
/etc/profile are the main global configuration files.

Using environment Variables

Are like variables in programming languages, they hold data to be referred to by the variable name.

$ export NNTPSERVER=news.abigisp.com
$ echo $NNTPSERVER

Exploring types of Streams

Three are most important:
 Standard input: programs accept keyboard input via standard input or stdin. Most cases
from keyboard.
 Standard output: Text mode programs, displayed on the screen, full screen text mode
session or in a GUI windows such as xterm, aka stdout.
 Standard Error: This output stream is intended to carry high priority information such as
error messages.

Redirecting input and output
$echo $NNTP > nntpserver.txt

Redirection
Operator Effect
> Creates a new file containing standard output. If the specified file exists, it’s overwritten.
>> Appends standard output to the existing file. If the specified file doesn’texist, it’s created.
2> Creates a new file containing standard error. If the specified file exists, it’soverwritten.
2>> Appends standard error to the existing file. If the specified file doesn’t exist,it’s created.
&> Creates a new file containing both standard output and standard error. If the specified file exists, it’s
overwritten.
< Sends the contents of the specified file to be used as standard input.
<< Accepts text on the following lines as standard input.
<> Causes the specified file to be used for both standard input and standardoutput.


Someprog << EOF = causes someprog to accept input until it sees a line that contains only the string
EOF.

Tee: This command splits standard input so that it’s displayed on standard output and on as many
files as you specify.

$ someprog | tee output.txt

Piping data between programs

Programs can frequently operate on other programs outputs.

$first | second | third | fourth | fifth […]

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller kevintjeuh. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.25. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

64438 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.25  27x  sold
  • (2)
  Add to cart