Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Create a new account
      Forgot your password?

Side Menu

  • Overview
  • Activity
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leafModalität
        • Expanded. Click to collapseCollapsed. Click to showThemen
          • Hierarchy leaf00) Installation GNU/Linux in Virtualbox
          • Hierarchy leaf01) GNU/Linux Basics & Bash commandos
          • Hierarchy leaf02) Schulinternes APT Repository
          • Hierarchy leaf03) Fernwartung über SSH
          • Hierarchy leaf04) Prozesse und Systemd
          • Hierarchy leaf05) UFW
          • Hierarchy leaf06) MySQL
          • Hierarchy leaf07) Abfragen an die Mondial Datenbank
          • Hierarchy leaf08) PostgreSQL
          • Hierarchy leaf10) Crontab
          • Hierarchy leaf11) Wordpress
          • Expanded. Click to collapseCollapsed. Click to show12) Docker
            • Hierarchy leaf00) MySQL - Volumes - Ports ...
            • Hierarchy leaf01) PostgreSQL
            • Hierarchy leaf02) Docker-Compose
You are here:
  • Wiki
  • Themen
  • 01) GNU/Linux Basics & Bash commandos

Content

01) GNU/Linux Basics & Bash commandos

  • More
    • Print
    • Table of contents

Ordner

  • /
    • Root
  • /home/[user]
    • Privates Verzeichnis des Benutzers
  • /etc
    • Konfigurations
  • /var/log
    • Logdateien
  • /tmp
    • Ordner für temporäre Dateien
    • Guter Ordner, wenn Dateien nur temporär benötigt werden
    • Löscht sich beim Neustart

Kommandos

  • ls
  • cat
  • wc
  • more/less
  • head/tail
  • cp
  • grep
  • mv
  • rm
  • history
  • ip addr
  • man
  • [command] --help / [command] -h / [command] -help / ...
  • chmod
    • Berechtigungsbits
      • rwx rwx rwx - Besitzer - Gruppe - Alle
  • chown
  • su
    • Auf Superuser wechseln
  • sudo
    • Einen Befehl als Superuser ausführen

Umleitungen

  • | Pipe
    • Ausgabe eines Programmes in ein anderes umleiten
    • cat /var/log/kern.log | wc -l
  • > Dateiumleitung
    • Ausgabe eines Programmes in Datei umleiten

Bash spezifisches

  • Kopieren
    • Ctrl + Shift + c
  • Einfügen
    • Ctrl + Shift + v
  • Pfeil ↑ und ↓
    • um in der History zu navigieren
  • Ctrl + r [eingabe]
    • Reverse search, sucht in der History nach eingabe

Editoren

VIM (Vi IMproved)

sudo apt-get install vim
#Datei editieren
vim [Dateiname]

Nano

sudo apt-get installnano
#Datei editieren
nano [Dateiname]
Loading...