~ $: pwd > ssh

pwd is a linux command that shows you what directory you’re in, now it tells you what tag you find

How to search and find big error_log files on server

There is an easy command that can locate large error_log files on the server. This is great if your server is at a critical level and you want to free up space starting with unnecessary error_log files. You need to log in to the server via SSH connection and run the...

First steps How to secure Ubuntu Server

Here's a note on how to secure Ubuntu 22.04 and boost server and site security. For the purposes of this tutorial, I used a VPS server purchased from Time4VPS at an extremely low price for only 1.2 euros per month 🙂 Time4VPS also has the best Black Friday deal right...

How to find all files by extension in Linux

To find all files by extension in Linux can be useful for cleaning the site from harmful files and files with extensions that should not be in a certain folder. For example, if a WordPress site is infected with malware files and you know that /wp-content/uploads must...

How to delete all .htaccess files with one command

The ability to delete all .htaccess files with one command is an action that will make it easier for you to clean your site. Lately, there is malware that places a "harmful" .htaccess file in every folder of the WordPress site, and this can cause great damage, but it...

Основна подешавања за CentOS 6 на серверу

Овде су нека основна подешавања која радите након што добијете сервер са CentOS 6 Линуксом који је инсталиран. Ажурираћемо систем, променићемо root лозинку, направићемо новог корисника и додати му привилегије, променићемо SSH порт и мало рестартовати sshd. Крећемо...

Линукс директоријуми чисте CentOS 6 инсталације на серверу

Управљати сервером значи упознати се и управљати оперативним системом који се на серверу налази. Хајде да видимо како изгледа сервер након чисте инсталације CentOS оперативног система и чему служе линукс директоријуми који се ту налазе. Овде је све још увек прилично...