- or download this
$ scp 2.begin.pl fred@164.90.158.33:/opt/scripts/dev
scp: /opt/scripts/dev/2.begin.pl: Permission denied
$ scp 2.begin.pl root@164.90.158.33:/opt/scripts/dev
2.begin.pl 100% 1011 12.7KB/s
+00:00
$
- or download this
$ ssh root@206.189.67.44
root@206.189.67.44's password:
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-45-generic x86_64)
- or download this
fred@fourth:~$ sudo groupadd mygroup
[sudo] password for fred:
fred@fourth:~$ sudo usermod -a -G mygroup fred
...
drwxr-xr-x 4 systemd-coredump root 4096 Sep 26 2020 digitalocean/
drwxrwx--- 5 root mygroup 4096 Dec 30 04:13 scripts/
fred@fourth:/opt$
- or download this
fred@fourth:/opt/scripts/dev$ crontab -e
no crontab for fred - using an empty one
crontab: installing new crontab
...
...snip
# m h dom mon dow command
0 6 * * * /opt/scripts/dev/2.begin.pl