Commands-for-KS
Commands for KS
The below commands for Kernel Simulator can be used in the normal UESH shell, the one that is started after you log in to your account. Some have arguments, and some don't.
Administrative commands
adduser <username> <password>: You can add the user's name whenever you need, with the password if required. However, passwords are required to ensure security.alias <add/rem> <aliastype> <alias> <command>: You can manage your aliases to commands so you don't have to type long commands.arginj <arguments>: You can inject arguments into the kernel so that when you reboot, the arguments that are injected will be run.blockdbgdev <address>: You can block an IP address of a debug device to prevent it from entering remote debug until it's unblocked.cdbglog: You can clear debug log, resetting the size to 0chhostname <Hostname>: You can change your hostname of your kernel to personalize things. It has an argument ofchhostname <AnyHostName>.chlang <language>: Changes your languagechmal [anything]: You can change your message of the day after login, and it supports the same placeholders.chmotd [anything]: You can change your message of the day, and you can include your own placeholders, including<user>which stands for username,<shortdate>for the short date in "MM/DD/YYYY" format,<longdate>for the long date that looks like "Saturday, December 1, 2018",<shorttime>for the short time in "HH:MM" format,<longtime>for the long time in "HH:MM:SS AM/PM" format,<timezone>for the standard time zone (eg. Egypt Standard Time),<summertimezone>for the daylight time zone name (eg. Syria Daylight Time).chpwd <username> <password> <newpassword> <newpassword>: You can change your password, or someone else's password.chusrname <oldname> <newname>: You can change your username, or someone else's name, although if you changed your own username to new name, you'll be signed out immediately.disconndbgdev <address>: Disconnects a debug devicelsdbgdev: Lists all debug devices that are connectednetinfo: You can check your network status and network interface information, including WiFi support. You can also use this for troubleshooting problems with the network, and you can look at the packets that has an error.perm <username> <permtype> <1=Allow/2=Disallow>: You can manage user's permission settings. Right now, we only support disabling and enabling accounts, as well as making the specified user administrator.rmuser <username>: You can remove usernames, but you can't remove yours, if the specified user doesn't want to use the computer, or is uninvited, or is redundant.rdebug: Enables or disables remote debugging functionalityreloadconfig: You can reload the configuration file to read the new changes, but the changes will be applied after you restart the kernel.reloadmods: Reloads all the kernel modificationsreloadsaver <modName.ss.vb/modName.ss.cs>: Reloads the specified screensaver mod filerexec <address> <command>: Remotely executes a command in another kernel instance (other PC)savecurrdir: Saves the current directory information to kernel config.setsaver <saver/modName.ss.vb/modName.ss.cs>: You can set your screensaver of your choice or your customized one as the default one, and if you plan to use customized screensavers, you should name your extension as<ScreensaverName>SS.mto be recognized as a screensaver, not as an extension.settings: Changes kernel settings.unblockdbgdev <address>: You can unblock an IP address so it can enter remote debug again.update: Checks for updates, and if it found one, it tells you.
Normal user commands
chattr <file> +/-<attrib>: Changes the attributes of a filechdir <directory>: You can change your working directory.cls: To clear your screen from text.calc <expression>: It's back! The Calculator calculates the formulas like4 / 2.copy <source> <target>: Copies the source file to the destinationdirinfo <directory>: Gets directory informationdismissnotif <notifnum>: Dismisses a specific notification.edit <textfile>: Opens the text editor shell to an existing text file.fileinfo <file>: Gets file informationfiredevents: Lists all fired eventsftp [address]: You can transfer files from/to an FTP server, and interact with the servers.get <URL> [username]: Downloads a file from the specified URL.gettimeinfo <date>: Gets the time information for the specified timehwinfo: Shows hardware informationlist [directory]: You can list your current working directory, or another directory.lockscreen: You can lock your screen and show your default screensaver set by you or by the kernel. Default screensaver is Matrix.loteresp: Starts the Love/Hate comment responder gamelogout: You can log off your account when you're finished working.lsmail [mailaddress]: Opens the mail shell to your mail account.mathbee: Starts the mathematical bee gamemd <directory>: You can make your directory on the root directory.mkfile <file>: You can create your file under any name.mktheme <theme>: Makes a new theme.modinfo <mod>: Gets mod information for specified modmove <source> <target>: Moves the source file to the destinationping <address1> <address2> ...: Pings addresses.put <file> <URL> [username]: Uploads a file to the URL using a file.rm <directory/file>: You can remove a directory or file.reboot: You can restart your kernel if you have made manual or tool configuration changes for them to be reflected, or if you want to see the boot sequence again.reportbug: Opens a prompt to let you file a bug report.rss [feedlink]: Opens an RSS shell.savescreen: You can show the screensaver to prevent screen burn-outs.search <regex> <file>: Searches for a specific string in a specific file using regular expressions.searchword <word> <file>: Searches for a specific string in a specified file using text.setthemes <theme>: You can set the color set for your kernel, as known as themes.sftp [address]: You can transfer files from/to an SFTP server, and interact with the servers.shownotifs: Shows the notifications.showtd: You can show your current time and date, as well as your timezone.showtdzone <timezone/all>: You can show the time and date of the timezone, or you can show all of the dates and times of the timezones in the current time and date.shutdown: You can shut down your computer (The kernel, not the actual PC)speedpress: Initializes the speedpress gamespellbee: Plays the spelling bee gamesshell <address>: Opens the SSH connection. Press ESC to disconnect when in session.sumfile <algorithm> <file>: Calculates the MD5, SHA1, SHA256, or SHA512 sum of a specific file.sumfiles <algorithm> <directory> [output]: Calculates the MD5, SHA1, SHA256, or SHA512 sums of the files in the specified directory.sysinfo: You can show your system information, as well as the kernel settings.unzip <zipfile> [path] [-createdir]: Extracts a zip fileusermanual: Opens the Kernel Simulator wikiverify <algorithm> <calculatedhash> <hashfile/expectedhash> <file>: Verifies a file.weather <cityID>: Gets weather information for a city.wrap <command>: Wraps a commandzip <zipfile> <path> [-fast/-nocomp] [-nobasedir]: Makes a zip filezipshell <zipfile>: Opens a ZIP shell to the specified zip file
Scripting commands
These commands can be used in shell and in scripting, though it works better in scripting.
beep <37-32767 Hz> <milliseconds>: Makes your PC speaker beep in specified n Hz in n ms.cat <file>: Prints the content of a specific file to consolechoice <$variable> <answers> <input>: Makes user choicesecho <string>: Prints written stringsinput <$variable> <question>: Makes user inputset <$variable> <value>: Sets a variable to a specified value.
For more information about every command, see the right pane.
Last updated