cat,known
All checks were successful
/ job (push) Successful in 6m3s

This commit is contained in:
Marc Beninca 2024-06-06 14:41:06 +02:00
parent b3b9a90375
commit e03bd54844
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -77,6 +77,12 @@ def browse(root: str):
shut(root) shut(root)
def cat(file: str):
open(file)
print(fs.read_file_text(file))
shut(file)
def install_commands(path): def install_commands(path):
step('Install commands') step('Install commands')
user = '/usr/local/bin' user = '/usr/local/bin'
@ -113,6 +119,7 @@ def set_ssh(*arguments):
if ssh_hosts: if ssh_hosts:
fs.write(known, ssh_hosts) fs.write(known, ssh_hosts)
os.chmod(known, 0o400) os.chmod(known, 0o400)
cat(known)
# #
browse(ssh) browse(ssh)