-
Notifications
You must be signed in to change notification settings - Fork 1
Docs
Miquel Comas edited this page Jan 10, 2016
·
18 revisions
#Documentation of the UsefulShell.
##Getting it The prerequisite is having Python 3.5. To install it, type:
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
tar -xvzf Python-3.5.1.tgz
cd Python-3.5.1
./configure
make
sudo make install
After installing python, clone the UsefulShell project:
git clone https://github.com/Worldev/UsefulShell
Or directly download the .tar.gz file or the .zip file.
##Running the UsefulShell Make sure you are in the UsefulShell directory
Open your terminal and type: python3 shell.py
##Commands
-
print
/show
/echo
/mostra
/ensenya
: Prints to screen -
stop
/exit
/finish
/end
/final
/fi
/acabar
/bye
/quit
: Exits the shell -
docs
: opens this page -
ftp
: connects to an ftp server. Syntax:ftp host port user password
<-- Visible but not saved in the log. -
feina
/work
: Asks you for an url, then you can save it and opens the webpage every time you execute the command -
mirar correu
/check mail
: Same as work command, but for e-mail checking -
ajuda
/help
: displays help. You can specify an object (e.g. help commands) to display info about that command -
+-*/
: Operations -
clear
: clears the screen -
lang
/idioma
/language
: checks which language are you using -
canviar llengua
/canviar idioma
/change language
: switches to the other language. -
zen python
: displays the Zen of Python by Tim Peters -
ping
: Pings a website to see if it's up or down -
http server
: opens a port in your localhost -
history
/historial
: shows the log file -
encrypt
/encripta
/encode
: encodes a message in base64 -
decrypt
/desencripta
/decode
: decodes a message in base64 -
delete history
/esborrar historial
/clear history
: deletes the content of the log file -
registrar classe
/register class
: registers a "group" into a text file -
registrar classes
/register classes
: registers indefinitely groups in text files -
search
/busca
/cerca
: searches a query using Google -
usefulshell logo
: displays the UsefulShell logo -
web
/browser
/browse
/navega
: opens the website you want - And all the other commands of the OS terminal (Linux: e.g. apt-get, ssh, etc. || Windows: tree, etc.)
UsefulShell Docs