Skip to content

Latest commit

 

History

History
91 lines (62 loc) · 1.29 KB

01-RecapLinux1.md

File metadata and controls

91 lines (62 loc) · 1.29 KB
title author date lang
Recap of Linux 1
CSC Training
2019-12
en

Let's install our virtual appliance

  • Open your machine in Windows
  • Find the application VirtualBox and launch it
  • In Main menu, find Import
  • Find the OVA file under \\dogmi\common
  • Click on it
  • IMPORTANT: check for new MAC-address

Let's open the machine and recall the most important commands

  • Listing of files/directories?
  • Changing a directory?
  • Absolute/relative path?
  • Where am I in the filesystem?
  • Creating an empty new directory?
  • Removing it?
  • Renaming a file/directory?
  • Moving a file/directory?

Let's open the machine and recall the most important commands

  • Listing of files/directories?
$ ls -l
  • Changing a directory?
$ cd /etc
  • Absolute/relative path?
$ cd ../usr
$ cd /usr

Let's open the machine and recall the most important commands

  • Where am I in the filesystem?
$ pwd
  • Creating an empty new directory?
$ mkdir -p mydir/mysubdir
  • Removing it?
$ rmdir mydir/mysubdir

Let's open the machine and recall the most important commands

  • Renaming a file/directory?
$ mv mydir mynewdir
  • Moving a file/directory?
$ touch myfile
$ mv myfile mynewdir
$ ls -l mynewdir/*