Is there a way to reliably check that systemd supports –user?

I’m trying to set up some user services using Ansible and systemd. On Ubuntu and RHEL 7 I’m getting # systemctl –user status Failed to get D-Bus connection: Connection refused For Ubuntu I clarified the error, it’s because of this: https://docs.ansible.com/ansible/latest/modules/systemd_module.html run systemctl within a given service manager scope, either as the default system scope…

Details

dot (.) causing alias to break

I am trying to create an alias for the command – rsync -avh –omit-dir-times –delete –filter=’protect .sync’ /media/blueray/Data/_Work/ /media/blueray/Data/_CloudYandex/ The command I am using to create the alias is – alias by=’rsync -avh –omit-dir-times –delete –filter=’protect .sync’ /media/blueray/Data/_Work/ /media/blueray/Data/_CloudYandex/’ The error I am getting while trying to execute the alias is – $ by unexpected…

Details