Comand line to remove duplicate in sources.list

[crayon-67a5b537ddd6e296053065/]  

7 years ago

Edit a file using comand line

press Alt+F2 and type gnome-terminal if you're using GUI Then type [crayon-67a5b537de09b865012499/] (To understand better: in the directory /etc you can find (nearly) all…

7 years ago

How to fix “W: Duplicate sources.list entry”?

Use the Ubuntu Sources List Generator. Run sudo -H nautilus in terminal Find /etc/apt/sources.list Right click and open the file with a text editor…

7 years ago

Remove all files from a directory?

To remove the folder with all its contents(including all interior folders): [crayon-67a5b537de14f546696209/] To remove all the contents of the folder(including all interior folders)…

7 years ago

Zip/unzip all files in a directory

[crayon-67a5b537de1fd404849807/] [crayon-67a5b537de200920266496/] Unix zip directory but excluded specific subdirectories (and everything within them) [crayon-67a5b537de201282100154/] or [crayon-67a5b537de202409485792/]  

7 years ago

How to make Apache run as current user

[crayon-67a5b537de2b8903370684/] or Edit the following file as root: /etc/apache2/envvars using the command: [crayon-67a5b537de2bb720970828/] change the user and group to yourself…

7 years ago

How To Set Up mod_rewrite for Apache on Ubuntu 18.04

Prerequisites:- Make user Apache 2 installed on your server - How To Install Linux, Apache, MySQL, PHP (LAMP) stack on…

7 years ago

Permissions

The /var/www folder needs to be readable by the www-data system account. Try this : [crayon-67a5b537de4d8619020244/] (1) Allow Apache access…

7 years ago

List all folder with permission details

[crayon-67a5b537de5a2506187533/]  

7 years ago

INSTALL Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04

[crayon-67a5b537de62b622848852/] sudo apache2ctl configtest sudo ufw app list sudo nano /etc/apache2/apache2.conf Inside, at the bottom of the file, add a…

7 years ago