Close

sher

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 […]

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 […]

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 […]

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 […]

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. […]

Read More