System Hierarchy overview By the end of this article you should be able to answer the following questions: System Hierarchy At it’s most fundamental level, Everything in Linux is a file. The top most folder in linux is called the root directory. This folder contains all the other folders and […]
Read More
To zip a single file a in linux gzip filename To unzip a single file in linux gunzip filename To compress a directory the command is tar -cf filename.tar filename filename.tar will be the new name of zipped file for filename. -cf means creat a file When compressing a directory […]
Read More
Most vagrant boxes comes without the gui desktop interface. This tutorial will show you how install and access to that gui interface.
Read More
When you build a brand new linux machine, you machine will not have a name. As a result, your router (i.e. network) will instead refer to your machine by it’s mac-address: Now you can assign a name for your hostname using the hostname command, like this: [bash] [root@localhost ~]# hostname […]
Read More
Commands: cat nano # This is a text editor. no need to learn this. vim is much better. Config files: n/a Notes: Here are some example using cat (as a text file creator rather than a file content’s outputter): example 1: $ cat <<EOF =>testfile […]
Read More
In Linux, nearly all day to day tasks are performed inside a command line terminal, aka the bash terminal. There’s a few ways to access it depending on various circumstance. First of it depends on whether you are sitting in front of your Linux machine or you want to access […]
Read More
Commands: man {command} info {command} pinfo {command} # displays man pages in a slight differently user friendly format. man -k {search term} # Searches all the search terms for the search-term, and lists all the man pages where there is […]
Read More
## How to switch users or temporarily become root ## Commands covered in this article id # Displays the username of the currently logged in user. It also displays what groups the user belongs to. su # Lets you (s)witch to another […]
Read More
## Setting up and assign sudo priveleges The Sudo utility lets you give a users custom privileges so that they can run commands that they are not normally allowed to run. For example, only the root user can run the “Shutdown” command. But if you want give another user permission […]
Read More
The way you access the linux command line terminal, depends on the scenario: Scenario 1 – Access your Linux desktop machine’s terminal Using the gnome ui, interface, simply go to: Useful Tip: you can create a desktop shortcut to save time. Scenario 2 – Access a remote linux server’s […]
Read More