To disable or remove all NFS services on Debian/Ubuntu Linux, you can use the following steps:
- Stop the NFS server service:
sudo service nfs-kernel-server stop
- Disable the NFS server service from starting automatically during boot:
sudo update-rc.d nfs-kernel-server disable
- Uninstall the NFS server packages:
sudo apt-get remove nfs-kernel-server
- Repeat the above steps for any other NFS-related packages or services you have installed, such as nfs-common or rpcbind.
Note: These steps may vary depending on the version of Debian/Ubuntu you are using.