Fedora – Page 58 – POFTUT

Category: Fedora

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...

0

How To Install OwnCloud On CentOS Linux?

I need some application that will provide online file sharing and synchronization. It should be free. Open Source solution is preferred. It seems that we will install OwnCloud which is is an open source, self-hosted file sync and share app platform. There are a lot of things like calendar sync, active feed notifications etc. but for now we will just install ownCloud. Get Repository Keys and Add Repository We need to...

0

How Convert Files Between Ascii and Utf-8

I have a java code and I want to convert it into Utf-8. How can I do it in console. By the way I have multiple files so it need to be do multiple conversion. Getting Info About Character Set We start by getting information about character set. We need to be sure files character set to convert accordingly.

file is very useful tool to get information about files like...

Enjoy this blog? Please spread the word :)