Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Linux System

This is a tutorial for Linux system administration.

Table of contents


Introduction

Software Installation

oh-my-zsh

different bash shells can be installed on Linux, but the most popular one is the Z shell (zsh). To install zsh and oh-my-zsh, follow the steps below:

sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

check version of zsh:

zsh --version

check shell bash or zsh:

echo $SHELL

the config file for zsh is located at ~/.zshrc.

# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"

plugins=(
    git
    zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh