Copy a folder keeping owners and permissions intact Rumi, March 11, 2020 sudo cp -rp /home/my_home /media/backup/my_home From cp manpage: -p same as --preserve=mode,ownership,timestamps --preserve[=ATTR_LIST] preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all Related Administrations cpLinux Copy
Syslog server with Rsyslog and LogAnalyzer in Ubuntu 12 August 17, 2018 Installing Rsyslog from repository First make sure you have the latest update of Ubuntu 12.04 LTS sudo apt-get update && sudo apt-get upgrade Adding PPA repository sudo add-apt-repository ppa:adiscon/v8-devel If you get this error: “add-apt-repository: command not found” Try installing this python-software-properties package apt-get install python-software-properties Update your apt cache… Read More
How to Disable Network Manager on CentOS 7 May 2, 2022 1. To disable the Network Manager service, perform the following steps: Disable Network Manager with the following commands: CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux: service NetworkManager stop chkconfig NetworkManager off CentOS 7, CloudLinux 7, or RHEL 7: systemctl stop NetworkManager systemctl disable NetworkManager… Read More
Remove VirtualBox from Linux September 3, 2023 Step 1: Check the VirtualBox Version (Optional) First, check out the Virtualbox installed version by specifying the application package name as “vboxmange” name with the “version” flag: $ vboxmanage –version The Virtualbox installed version is “6.1.38”. Step 2: Uninstall Virtual Box Use the default package manager alongside the “–remove” and… Read More