Uninstalling & Reinstalling Apache2 On Ubuntu 22.04

To uninstall Apache2 on Ubuntu 22.04 Reinstall Apache2 on Ubuntu 22.04 Make sure that Apache2 has been correctly installed and is working

LS Command ::: How to list files and directories with directories first

Got GNU? The gnu version of ls has –group-directories-first. And cp has -t. No GNU? On systems that don’t have gnu’s ls, your best bet is two successive calls to find with -maxdepth n/-mindepth n and -type t with the appropriate options. For copying files, with the target first, you would have to write a Read the full article…

How Do I Update Linux Software On Ubuntu From Command Line?

Use this: Documentation about each apt option can be found in the the manpages for apt. These are also available by running man apt in your terminal. Use of both upgrade and full-upgrade together is usually not needed, but it may help in some cases: see Debian documentation about Upgrades from Debian 9. Source

SSH ::: Viewing Connected Sessions On Ubuntu

1. The who Command 2. The w Command 3. The last Command 4. The netstat Command 5. The ss Command 6. The ps Command

Ways To Find Ip Address on Linux

In your preferred terminal emulator, or command line, type: ip addr

nmap on Ubuntu

Installing nmap on Ubuntu In order to install nmap on Ubuntu, we will be using these commands at terminal: Simple Scanning With nmap on Ubuntu In terminal of your choosing, type(you should use your own ip address or ip address of network you wish to scan): Whatever ip address you have must be followed by Read the full article…

How to Compress PDF on Linux With Ghostscript [Terminal]

You can use Ghostscript command line tool for compressing a PDF file. Most Linux distributions include the open source version of Ghostscript already. However, you can still try to install it just to make sure. On Debian/Ubuntu based distributions, use the following command to install Ghostscript: Now that you have made sure that Ghostscript is Read the full article…

How To Refresh Linux Font Cache

To refresh your Linux machine’s font cache, type: where -f means forced (we want to refresh everything) and -v means verbose, in order to print some useful information on installed fonts and newly discovered ones. Source

Where Linux Stores Fonts

While fonts on your Linux box can be located in many different directories, there are some standard installation destinations. /usr/share/fonts  /usr/local/share/fonts  ~/.fonts Any of these folders will work for you. REMEMBER ::: fonts in ~/.fonts directory will be available only for your presently active user. Source

List Installed Packages in Ubuntu Using dpkg Command