-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
The getuser
command returns the username of the current user
The reset
command resets SnakeOS, clearing all files, configuration, and your user account. This command can not be undone.
If you can't login, try running this from the boot menu
The shutdown
command shuts down SnakeOS
The updates version
command will display the currently installed version (i.e. 1.0)
The updates check
command will check if a new version of SnakeOS is available.
The updates install
command overwrites SnakeOS with the latest version from the server. Your data should not be harmed
Warning: If you have made changes to the files part of your local copy of SnakeOS, this command will undo those changes
The changepassword
command changes the password on the current user account. You may need to reboot for this to take effect
The reboot
command reboots SnakeOS. This may be required after a password change or update.
To be more technical, this starts python again with the same file and arguments, and then terminates its self.
Note that until Issue 2 is fixed, this may cause performance and stability issues when done repeatedly.
The checkdns
command uses socket to preform a DNS lookup and return the ip of domain. This - however - does not check if that domain is online
The requesturl
utility will send a network request to url and display the response.
The time
command (when run with no arguments) returns the current time.
Arguments:
time -timezone _timezone_
: Returns the current time for that time zone
time -day
: Returns the current day
time -hour
: Returns the current hour
time -utc
: Returns the current time for UTC
Display the time it took to boot
Installs software from the SnakeOS software repository. Possible options are available here.
Removes software
Updates all installed software to the latest version
Executes software name. This command only works for installed software. Installed software may be found under software, name, however, modifying installed software will cause an integrity warning.
Various tools designed to provide an interface to various cryptographic functions
Hashtools commands:
hashtools md5 [string]
: Returns the MD5 digest of [string]
hashtools sha1 [string]
: Returns the SHA1 digest of [string]
hashtools sha224 [string]
: Returns the SHA224 digest of [string]
hashtools sha256 [string]
: Returns the SHA256 digest of [string]
hashtools sha384 [string]
: Returns the SHA384 digest of [string]
hashtools sha512 [string]
: Returns the SHA512 digest of [string]
hashtools help
: Lists all hashtools
commands
Sets name to value in the system configuration. Does require being run via runelevated.
Runs command with elevated permissions. Needed for installing and uninstalling software and modifying system configuration