How to copy files via terminal?

1) By using -i for interactive you will be asked if you would like to replace the file: cp -i /home/levan/kdenlive/untitelds.mpg /media/sda3/SkyDrive/ or you can use -b to create a backup of your file: cp -b /home/levan/kdenlive/untitelds.mpg /media/sda3/SkyDrive   2) Same as the above: cp (-i or -b) /media/sda3/SkyDrive/untitelds.mpg /home/levan/kdenlive   3) Use -R for recursive and -i for interactive: cp -Ri ~/MyFolder /sda3/ ...

View More
  Dibaca 142 kali

How to restart Webmin

  Here is a little helper if your Webmin does not respond. Just run this command from the command line and it will bring the webmin service up again fresh. # /etc/init.d/webmin restart Following messages will appear after running that command. # Stopping Webmin server in /usr/share/webmin # Starting Webmin server in /usr/share/webmin After a fresh restart the  Webmin server should be running again. ...

View More
  Dibaca 155 kali

How to change URL phpmyadmin OR change phpMyAdmin port ?

change URL phpmyadmin : Edit /etc/phpmyadmin/apache.conf and comment (#) the first Alias directive like thath: Alias /phpmyadmin /usr/share/phpmyadmin to /change this /usr/share/phpmyadmin change phpMyAdmin port : Just to be clear, this is not a setting of PhpMyAdmin, it is a setting of the configuration of Apache2, and we need to create new VirtualHost for this purpose. 1. Understanding of the default configuration of PhpMyAdmin. By default (within Ubuntu 16.04) PhpMy ...

View More
  Dibaca 176 kali

sending email postfix with smpt gmail

Postfix is a Mail Transfer Agent (MTA) that can act as an SMTP server or client to send or receive email. There are many reasons why you would want to configure Postfix to send email using Google Apps and Gmail. One reason is to avoid getting your mail flagged as spam if your current server’s IP has been added to a blacklist. In this guide, you will learn how to install and configure a Postfix server on Debian or Ubuntu to send email through Gmail and Google Apps. For information on config ...

View More
  Dibaca 178 kali