Posted over 3 years ago. Visible to the public.

Linux basics

Resources

Exercises

Experiment and do something useful with the following commands. You might need to study the commands' man pages and add parameters.

  • man
  • top
  • dpkg -l
  • apt-get update
  • apt-get dist-upgrade
  • apt-get install <package-name>
  • sudo <command>
  • sudo su
  • ssh
  • ps
  • free
  • df
  • du
  • netstat
  • scp
  • ln -s
  • touch
  • telnet
  • curl
  • wget
  • kill
  • kill -9
  • pkill -f <partial-name>
  • env
  • dig

Understand what you can do with the following configuration files:

  • ~/.bashrc
  • ~/.ssh/config
  • ~/.gitconfig

Understand what the following shortcuts do in a terminal:

  • Up-arrow
  • Tab
  • CTRL+R
  • CTRL+Z / jobs / fg / bg

Understand access rights and ownership of files:

  • What does "ownership" mean for files?
  • Each file has 9 flags, 3 read, 3 write, and 3 executable flags. What do they mean?
  • Write a simple bash script that prints a message. How can you execute it?
  • Write the same script in ruby. What do you have to do to just call it from the command line? Learn about the "shebang".

Understand why some makandra engineers use Xfce and why others use Awesome.

Owner of this card:

Avatar
Henning Koch
Last edit:
5 months ago
by Florian Leinsinger
Posted by Henning Koch to makandra Curriculum
This website uses cookies to improve usability and analyze traffic.
Accept or learn more