January 2019 – POFTUT

Monthly Archive: January 2019


How To Reset Git Head?

Git version control tool provides reset functionality in order to clear all uncommitted changes and revert to the last commit. This action is called as “reset head”. In this tutorial, we will learn how to Git reset head with different features and examples. List Changes From The Last Commit Before resetting to the head we will list current changes in our active branch. We will use git status command which will...


Powershell Array Tutorial with Examples

Powershell arrays are used to store a collection of elements in a single variable. These elements do not to be the same type and declared in different ways. Create Array We will start with a simple example where we will create an array by providing the items. Items will be delimited with the comma. The array definition will start with a dollar sign $.

We can see that different...


How To Install and Config Polipo Caching Web Proxy On Linux?

Polipo was the best HTTP proxy when it emerged. Since then web behavior has a lot changed and HTTPS became popular. HTTPS prevents intermediates to read traffic and cache them. Polipo is not maintained currently but useful for different cases. Install For Ubuntu, Debian, Mint, Kali We can install polipo for Ubuntu, Debian, Mint, Kali with the apt-get command like below.

Install For Ubuntu, Debian, Mint, Kali We can also install...


How To Clone Git Branch Command Tutorial with Examples?

git clone command is used to clone branches and git repositories. In this tutorial, we will learn how to clone a git branch in different ways. We will learn clone single branch, clone to a specific folder, clone specific tag etc in this tutorial. List Branches We will start by listing branches. In order to copy branch, we need to list the branches. We will just use branch command which will...


What Is mtime In Linux and Find Command?

Linux operating system and related technologies and tools provide modification time of the files, folders, executables etc. mtime is an attribute used by files, directories and different type of files like text, binary etc. In this tutorial, we will learn how to use mtime attribute with Linux find and related commands. Modification Time (mtime) Files and folders are modified in different time during the usage of Linux system. This modification...


Powershell Copy-Item Command Tutorial with Examples

Powershell provides Copy-Item cmdlet to copy an item from one location to another location. This item can be a file, folder or directory. Copy-Item cmdlet provides different features and options like overwrite, filter, exclude, verbose, progress etc. In this tutorial, we will learn these features by examples. Copy File To Specified Directory We will start with a simple example where we will copy given file to the specified directory. We...


How To Use PSCP Command On Windows?

pscp command is an SCP protocol implementation where we can transfer and copy files and folders securely over a network with the SSH connection. In this tutorial, we will learn how to install and use pscp tool on Windows operating system. Download Pscp pscp command can be downloaded from the following link. There are different installation types. pscp can be installed in standalone or with the putty installer package. I prefer...


How To Use Sendmail Command On Linux Tutorial with Examples?

sendmail is a mail transfer agent (MTA) used to send emails between computer systems by using simple mail transfer protocol (SMTP) . Sendmail project can be accessed from <a href=”http://www.sendmail.org”>www.sendmail.org</a> <h1>Install On Ubuntu, Debian, Mint, Kali</h1>sendmail  tool is provided by different packages on Ubuntu, Debian,Mint, Kali ordebbased distributions. In this case, we will install the package namedpostfix. <pre class=””>$ sudo apt install postfix</pre> <h1>Install On Fedora, CentOS, RedHat</h1> Inrpmbased distributions likeFedora, CentOS, RedHat...


Linux lspci Command Tutorial with Examples

Linux provides lspci command in order to list PCI bus and devices information. This command will provide brief or detailed information about currently connected PCI devices like GPU, USB Card etc. Install For Ubuntu, Debian, Kali, Mint We can install lspci tool with the following command to the deb based distributions.

Install For Fedora, CentOS, Fedora In yum or dnf based distributions we can use the following command which...


Git Status – Show The Working Tree Status

The git status command is used to display the state of the current working directory and staging area. git status command will list staged changes, current changes. It will not list any history related information. List Tracked and Untracked Files We will start with a simple git status usage. We do not provide any option. This will list tracked and untracked files in a git repository.

Show In Short...

Enjoy this blog? Please spread the word :)