214 lines
4.7 KiB
Plaintext
214 lines
4.7 KiB
Plaintext
__PUBLISH__
|
|
|
|
RELEARN SERVER HOOKS EXPLAINED
|
|
|
|
Additional or modified commands available on this server.
|
|
Not all of these are finished or even useful, but they can be altered (carefully) from the hooks etherpad.
|
|
Keep in mind this is loaded for every user using the terminal! The hooks etherpad also has some example commands commented at the top of the file.
|
|
If you make any new commands, please add them to the guide here!
|
|
http://relearn.local:9001/p/hooks
|
|
|
|
|
|
$reroaming
|
|
---------------------------------
|
|
|
|
Our very own reroaming command! Can be used to access a variety of documents to help newcomers to the server.
|
|
|
|
Example usage:
|
|
|
|
reroaming howto
|
|
reroaming guide
|
|
reroaming why
|
|
|
|
---------------------------------
|
|
|
|
|
|
$tellme
|
|
---------------------------------
|
|
|
|
Use tellme in a folder that has a tellme.txt to ask questions regarding it's content.
|
|
The tellme command taks up some slack: "Tellme what this is about" or "tellme the author of this folder" will also work, as most other questions.
|
|
|
|
Example usage:
|
|
|
|
tellme name
|
|
tellme what
|
|
tellme who
|
|
tellme why
|
|
tellme how
|
|
tellme when
|
|
|
|
Which will then answer your query.
|
|
|
|
---------------------------------
|
|
|
|
|
|
$explainthis
|
|
---------------------------------
|
|
|
|
If you'd like to document your work, use the command "explainthis" in the folder you've stored your work.
|
|
This command will trigger a prompt that will ask you some questions about your work: How it was made, why, when, etcetera.
|
|
This is then stored as a tellme.txt inside the folder for either manual reading or the tellme command.
|
|
|
|
Example usage:
|
|
|
|
explainthis
|
|
|
|
---------------------------------
|
|
|
|
|
|
$tour
|
|
---------------------------------
|
|
|
|
Why not take a small tour of the server? Use the tour command to hop onto the server-train and visit some places!
|
|
|
|
Example usage:
|
|
|
|
tour
|
|
|
|
---------------------------------
|
|
|
|
|
|
$adduser
|
|
---------------------------------
|
|
|
|
The classic adduser command has been modified to ask for the user's pronoun when registering. This is saved as a pronoun.txt in the new user's home folder.
|
|
|
|
Example usage:
|
|
|
|
sudo adduser NEWUSER
|
|
|
|
---------------------------------
|
|
|
|
|
|
$heyfriends
|
|
---------------------------------
|
|
|
|
Shows all your friends! Lists the users currently logged into the server.
|
|
|
|
Example usage:
|
|
|
|
heyfriends
|
|
|
|
---------------------------------
|
|
|
|
|
|
$lottery
|
|
---------------------------------
|
|
|
|
There is a bash lottery running on the relearn server.
|
|
Everytime you enter any command in the terminal, you have a one in 100,000 chance of winning the lottery.
|
|
|
|
---------------------------------
|
|
|
|
|
|
$hello
|
|
---------------------------------
|
|
|
|
Have a little chat with your server! Why not start by saying hello?
|
|
|
|
Example usage:
|
|
|
|
hello server!
|
|
|
|
---------------------------------
|
|
|
|
|
|
$time
|
|
---------------------------------
|
|
|
|
When using the time command, it will not only reply with it's normal follow-up but also let you know what it's time 'for'.
|
|
|
|
Example usage:
|
|
|
|
time
|
|
|
|
---------------------------------
|
|
|
|
|
|
$touch
|
|
---------------------------------
|
|
|
|
When trying to touch something, you can't touch this.
|
|
|
|
Example usage:
|
|
|
|
touch something
|
|
|
|
---------------------------------
|
|
|
|
|
|
$apt-get
|
|
---------------------------------
|
|
|
|
When installing or updating the server, you are dearly thanked for you!
|
|
|
|
Example usage:
|
|
|
|
apt-get update
|
|
|
|
---------------------------------
|
|
|
|
|
|
$guide
|
|
---------------------------------
|
|
|
|
Why use the sexist man command when you have the guide command? It'll open guides made for relearn stored in /opt/guides
|
|
|
|
Example usage:
|
|
|
|
guide howto
|
|
|
|
---------------------------------
|
|
|
|
|
|
$ssh
|
|
---------------------------------
|
|
|
|
When trying to ssh while already logged into the relearn server, there's a small chance the server is not up for your sshing.
|
|
|
|
Example usage:
|
|
|
|
ssh something@something.com
|
|
|
|
---------------------------------
|
|
|
|
|
|
$stone_castle_room
|
|
---------------------------------
|
|
|
|
A secret stone_castle_room in the home folder holds some special content. Why not LS to see what's there? Don't take the key please!
|
|
|
|
Example usage:
|
|
|
|
cd /home/stone_castle_room
|
|
ls
|
|
|
|
---------------------------------
|
|
|
|
|
|
$exit
|
|
---------------------------------
|
|
|
|
Exit tricks you into thinking you're stuck, but instead it simply forces you to use logout instead.
|
|
A multitude of ways are possible to do the same things on servers, by blocking a commonly used one we can promote the use of others.
|
|
|
|
Example usage:
|
|
|
|
exit
|
|
|
|
---------------------------------
|
|
|
|
|
|
$whereami
|
|
---------------------------------
|
|
|
|
The whereami reminds you of you current presence and not to get lost!
|
|
|
|
Example usage:
|
|
|
|
whereami
|
|
|
|
---------------------------------
|
|
|