Contents: [slideshow]

The Command Line

Filing System, File and Directory Handling

Processes

BASH: More and Scripts

Installation

More

Practical Session




About this document

Basic Linux Stuff

Some BASH One-Liners

A few well chosen words to BASH. . .  

Many, many small utils available from BASH
    grep -i dedicated -A4 -B3  Negotiator.log
The Pipe
  • Send the output of one programme into another:
    ps auxw | grep -i vnc
        # ...who is using VNC on Man2e?
  • Who is hogging all the disk space?
    root@man2e> du -s /home/* | sort -nr 
Looping
  • BASH is a full programming language:
    for i in *.sh; do echo $i; dos2unix -n $i $i.unix; done


...previousup (conts)next...