Kali – Page 55 – POFTUT

Category: Kali

0

How To Shutdown Linux System?

I am new to Linux and I have installed some Linux distributions. I try to learn bash commands. I can shutdown my computer from Desktop manager easily. But How can I shutdown system from bash without a GUI. There are different ways to shutdown Linux system. Following commands will work most of the distributions like Ubuntu, Debian, Mint, Kali, CentOS, RedHat, Fedora. Poweroff Command We can shutdown a Linux system...

0

Install Dnsmasq As Cache Dns Server

We have a lot of computer in our network. Our network speed is not too much. Sometimes especially in mornings our internet connection slows down. How can solve this with some dns related tricks? Dns is one of the mostly used network protocol. It can effect the internet speed. Making some optimizations will develop your internet experience. Caching is to hold resolved dns queries in our dns server. There are...

0

Bash Infinite Loop Shell Linux

How can write infinite shell that will run forever? May be I need a 5 second sleep between steps. Recently I have a issue with my routing table and I need to remove some route automatically every 5 minutes. I came up with a solution that runs every 4 minutes and clears unwanted routes. While Infinite Loop There are a lot of different ways do express our solution one of...

0

How To Start, Stop, Restart Networking On Linux?

I have changed my network configuration and want to restart to make changes effective. Or there are some problems with my network and I think restarting it will solve my problems. Here we will look how to restart networking service in various network distributions like Ubuntu, Debian, Fedora,CentOS. Get Status Of Network Service We will get status of network with the following command. Debian, Ubuntu, Kali For deb based distributions...

1

Linux Cp or Copy Command

Linux popular command cp is used to copy files and folders. In this tutorial we will look different usage types of cp command. Syntax Syntax of cp command is like below.

Copy We will just copy our source file to the destination file.

0

How To Specify Ssh Keys When Running Shell Command Like Git,Rsync

I have a remote repository which is Git. I want to connect to Git over ssh because there are problems with the firewall rules in our work environment. How can use ssh to connect remotely to Git with specifying ssh keys for this Git operations. Using  ssh-agent ssh-agent will create and temprorary environment where tkey is added with ssh-add command into the shell. After environment is completed git operations can be done where...

0

How To Run Shell Script or Command On Remote With SSH

I want to run my commands securely. Are there anyway for this? Yes there are a lot of options. But the most simple and secure way is running scripts or commands over ssh. Run Command On Remote System SSH is very powerful tool which can invoke provided commands on remote system or server. We will provide the command and options in a double quote. This command will run current users...

Ubuntu, Debian, Kali Ssh Installation 0

Ubuntu, Debian, Kali Ssh Installation

I want to connect my Linux server securely. Security is important nowadays. OpenSSH is a secure shell for remote connections. OpenSSH is very popular and have very life saver features. Installation Installation of ssh is like below. ssh full package name is Openssh-server which provides daemon, client and auxiliary tools for ssh. Ubuntu, Debian, Mint, Kali:

CentOS, Fedora, RedHat:

Start Ssh Service After installation if service is not...

1

Apache Log Files

Apache or with real name httpd provides logs. These logs are very helpful while detecting errors, attacks. There is two type of Apache logs by default. Log resides in following directories. Log Path Apache logs are stored in different paths because of name difference for different distributions. DEB or apt family uses the name apache2 and stores logs as apache2 but  the RPM yum family uses the name httpd and...

0

How To Start, Stop and Get Status of Linux Service With Systemd?

Services are all over the Linux world. Enterprise Linux world turn over services. There are different tools to manage Linux services like Sys-V, upstart, systemd etc. Systemd is gaining popularity in recent times. Fedora, CentOs, RedHat uses systemd for a long time. Ubuntu started to use systemd too. Here we will look into basics of the service management with systemd. List Installed Services Linux operating systems like Ubuntu, CentOS, Debian...

Enjoy this blog? Please spread the word :)