2025-11-17
Max. 100 points
Name:
| Task | Max. | Achieved |
|---|---|---|
| 1 | 40 | |
| 2 | 15 | |
| 3 | 20 | |
| 4 | 25 | |
| Sum | 100 |
user:
password:
ssh ${provided_user}@ls515-00.local
old_data
containing old files. Delete the directory including all files and
subdirectories.
rm -r ~/old_data
repositories.
Rename it to repos.
mv ~/repositories ~/repos
└── school
├── dbi
├── pos
└── syp
mkdir -p ~/school/dbi ~/school/pos ~/school/syp
mkdir ~/public_html
chmod o+rx ~/public_html
index.html file inside this directory.
touch ~/public_html/index.html
~/shortcuts. On the first line of that
file write the keys a user has to press to clear the terminal.
echo "Ctrl+l" > ~/shortcuts
administration.
On the first line of that file, enter the command that allows you
to execute a command with elevated priveleges
("run the rest of this line as administrator").
echo sudo >> ~/administration
echo "sudo apt update" >> ~/administration
echo "sudo apt upgrade" >> ~/administration
wget package.
echo "sudo apt install wget" >> ~/administration
mkdir -p ~/bin
assignment.py~). Delete that file.
rm ~/assignment.py~
touch ~/bin/test.py
chmod u+x ~/bin/test.py
ipython regularly. Create a persistant
shortcut that allows you to type i to launch
ipython.
echo "alias i=ipython3" >> ~/.profile
ssh-keygen
ssh-ed25519 AAAA...jxT6 gerald@pcecho "ssh-ed25519 AAAA...jxT6 gerald@pc" > .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
testuser to sandbox.bulme.at by simply
typing ssh sandbox.
Host sandbox
User testuser
Hostname sandbox.bulme.at