9 articles General Page 2 / 3

General Tutorials
Linux / Windows

How to Add and Remove a user on CentOS

In this tutorial, we will show you how to add and remove a user in CentOS 7. Requirements : Dedicated Server root access Add a new user in command line adduser username Set a password for this user passwd username Delete a user in command line Delete user without his files located in /home directory…

How to change Crontab default editor

In this tutorials, we will show you how to change the crontab editor with nano. Requirements : Dedicated Server root access Install nano package on your server CentOS yum install nano -y Ubuntu apt-get install nano -y Change the crontab editor export EDITOR=nano Use crontab with nano crontab -e Add your cronjob, edit/save and use…

How to create a directory with mkdir in Ubuntu

In many cases, you will have to create a directory manually on your Dedicated Server. All those commands should be executed in command line. Create one directory mkdir directory ls directory Create many directories mkdir directory1 directory2 directory3 ls directory1 directory2 directory3 Create parent directory with flag -p mkdir -p directory1/sub1/sub2 tree directory1 |____sub1 |____sub2

How to create a directory with mkdir in CentOS

In many cases, you will have to create a directory manually on your Dedicated Server. All those commands should be executed in command line. Create one directory mkdir directory ls directory Create many directories mkdir directory1 directory2 directory3 ls directory1 directory2 directory3 Create parent directory with flag -p mkdir -p directory1/sub1/sub2 tree directory1 |____sub1 |____sub2