Month: September 2018

How To Check Windows Service Status With Get-Service Command In Powershell

Service are one of the most important part of the operating systems. There are different tools and commands to list these services. Powershell provides Get-Service commandlet in order to list these services and filter them acording to the provided filter. List All Services We will start with a simple use case where we will list all services without providing an options

Continue reading

How To Change Linux Hostname In Ubuntu, Debian, Mint, Kali, CentOS, RedHat?

Hostname is used to name the systems. Normally the computer networks work with IP addresses in order to identify and communicate. But hostname provides human friendly way to name, identify, communicate with other systems. Example Hostname Hostname is just a meaningful word for the system administrators to name a system. For example we can use db1 for first database server or

Continue reading

How To Install and Use ClamAV Antivirus Software In Linux, Ubuntu, Debian, Mint, Kali, Fedora, CentOS, RHEL

Linux distributions like Ubuntu, Debian, Mint, Kali, Fedora, CentOs, RHEL are considered as virus free and advertised by open source advocates. This is a bit false but generally true assumption. Linux environment have very little viruses against Windows and MacOS. But Linux environment is not fully secure against. In this tutorial we will examine how to install ClamAV and use

Continue reading

mmap Tutorial with Examples In C and C++ Programming Languages

As programmers we generally use malloc() , free() and similar functions in order to allocate memory. They are provided by glibc() library. The actual work is done by mmap() and munmap()which is a Linux systemcall. What Does mmap() Function? mmap() function or system call will create a mapping in the virtual meory of the current process.The address space consist of multiple pages and each page

Continue reading

How To Use Putty As SSH Client?

PuTTY is a open source and free ssh and telnet client used to connect remote SSH and Telnet services. SSH provides secure access to the remote systems like Linux, Ubuntu, CentOS, Debian, Kali, Mint, RedHat, Cisco, Huawei and similar network gears. Download PuTTY PuTTY is mainly designed for Windows operating systems. PuTTY software is provided as 32, 64 bit and

Continue reading

C Programming Gets() Function Tutorial with Examples

C and C++ programming language provide the functiongets() in order to read input from standard input which is generally a terminal. gets is the short form of the get string where string shortens as s . In this tutorial, we will learn functiongets() usage with different examples and compare with functionscanf(). Declaration The functiongets() has the following syntax which only accepts string parameter.

Continue reading

Yum Repository Configuration For RedHat, CentOS and Fedora

yum is a tools used to management rpm packages in distributions like RedHat, CentOS, Fedora etc. Most know feature of yum is using repositories in order to manage packages download and resolve dependencies. In this tutorial we will examine the yum repository configuration. List Yum Repository Configurations yum repositories are stored as files with related configuration. This configuration files are stored in /etc/yum.repos.d/ . We can

Continue reading

Using Grep Case Insensitive

grep is very useful too to  match and find phrases, words and characters in test. One of the most used situation is using grep case sensitive or case insensitive. In this tutorial we will examine different examples. We have all ready examined grep in the following tutorial. Linux grep Command Tutorial with Examples Case Sensitive We will start with the default behavior of

Continue reading

How To Scan Top Ports with Masscan?

masscan is an alternative tool to the popular nmap . Actually masscan provides very less of the nmap but provides some huge adventages. masscan is designed to be fast and performative. nmap have popular feautre named top ports which option is –top-ports to scan specified number of most popular ports. masscan also provides this options too. Nmap Top Ports We will start with scanning top

Continue reading
Open

Enjoy this blog? Please spread the word :)