Tag Archives: solaris

How to use Ansible to autoremove unwanted package dependency with apt

How to use Ansible to autoremove unwanted package dependency with apt

I am trying to use ansible apt autoremove option but it is not working. I wanted to remove all unused Linux kernel and unwanted package dependency with the apt command/apt-get command. How can I run sudo apt-get autoremove on remote Ubuntu/Debian Linux servers with ansible?
Halal Vitamins

Powered by WPeMatico

How to supercharge string search through a directory hierarchy on a Linux/Unix

How to supercharge string search through a directory hierarchy on a Linux/Unix
Usually, I use the [nixcmd name=”grep”] for code searching on my box. Recently, I come across another cool tool called ag. It is an attempt to make something better than ack, which itself is better than grep command. Let us see how to install and use the ag tool on Unix-like operating systems.
Halal Vitamins

Powered by WPeMatico

How To Remove Unwanted/Unused Dependencies in FreeBSD pkg Command

How To Remove Unwanted/Unused Dependencies in FreeBSD pkg Command

I deleted a package using the ‘pkg remove foo‘ command. However, it left over 30+ dependencies. Theses dependencies not needed by any other package on a FreeBSD Unix system and just taking space on my hard drive. How do I remove unwanted or unused dependencies in FreeBSD 11.x server?
Halal Vitamins

Powered by WPeMatico

How to import a OpenVPN .ovpn file with Network Manager or Command Line in Linux

How to import a OpenVPN .ovpn file with Network Manager or Command Line in Linux

I have installed an OpenVPN server on a Debian Linux server. I have a client.ovpn file for my VPN server. How do I use it with Network Manager GUI? Is it possible to install or import client.ovpn file using the command line with Network Manager on a Ubuntu Linux or CentOS Linux desktop?
Halal Vitamins

Powered by WPeMatico

How to install curl command on a Ubuntu Linux

How to install curl command on a Ubuntu Linux

I am a new Ubuntu Linux user. I switched from Apple MacOS/Macbook and I trying to run the curl command from a shell script but getting the following error:
bash: curl: command not found
How do I fix this on a Ubuntu Linux version 17.10/16.04 LTS?
Halal Vitamins

Powered by WPeMatico