Close

Linux – cat and nano

  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     # This lets […]

Read More

Linux – Help at the Command Line

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 a match. apropros {search term} […]

Read More

The Bash Terminal

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 it remotely (e.g. this is […]

Read More

Linux – Accessing the linux terminal

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   terminal from a windows […]

Read More

Give a user more priveleges using sudo

## 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 to run this command, then […]

Read More

Linux – Introducing “VIM”, a powerful text editor

## Howto: open and edit files in Linux In Centos, you can view files either from the command line, or using a gui text editor called emacs. But in this article, we will focus on doing this from the command line. ## View files In linux there are several commands to view a file. Here […]

Read More

Linux – Compressing files in Linux

## File compression. ## Commands covered in this article gzip      # A file compression utility bzip2      # A file compression utility tar            # A tool that can <l=>archive a whole directory<l=> and convert it into a single file. star #.secure tar. (not as important but worth […]

Read More