Commands-for-KS
Commands for KS
The commands in the entirety of the kernel are programs that allow you to do what they're supposed to do. They can be either implemented internally (which is what we call the normal commands), implemented as an alias (an alias to normal commands or mods), or created by mods.
All the shells (either normal or custom) share a common command input parser, such as arguments, switches, and so on. Some commands have arguments (either required, for which you should provide to make the command work, or optional, for which you can omit), and some don't provide any.
The switches are special arguments that have the dash in front of them. They change how the commands work, but must be implemented before they actually work.
UESH shell commands
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.
For more information about every command, click the command.
Administrative commands
[[adduser|KS Command adduser]]
You can add the user's name whenever you need, with the password if required. However, passwords are required to ensure security.
[[alias|KS Command alias]]
You can manage your aliases to commands so you don't have to type long commands.
[[arginj|KS Command arginj]]
You can inject arguments into the kernel so that when you reboot, the arguments that are injected will be run.
[[blockdbgdev|KS Command blockdbgdev]]
You can block an IP address of a debug device to prevent it from entering remote debug until it's unblocked.
[[cdbglog|KS Command cdbglog]]
You can clear debug log, resetting the size to 0
[[chhostname|KS Command chhostname]]
You can change your hostname of your kernel to personalize things. It has an argument of chhostname <AnyHostName>.
[[chlang|KS Command chlang]]
Changes your language
[[chmal|KS Command chmal]]
You can change your message of the day after login, and it supports the same placeholders.
[[chmotd|KS Command chmotd]]
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|KS Command chpwd]]
You can change your password, or someone else's password.
[[chusrname|KS Command chusrname]]
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|KS Command disconndbgdev]]
Disconnects a debug device
[[langman|KS Command langman]]
Manage languages TODO
[[lsdbgdev|KS Command lsdbgdev]]
Lists all debug devices that are connected
[[modman|KS Command modman]]
Manages your mods
[[netinfo|KS Command netinfo]]
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|KS Command perm]]
You can manage user's permission settings.
[[rmuser|KS Command rmuser]]
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|KS Command rdebug]]
Enables or disables remote debugging functionality
[[reloadconfig|KS Command reloadconfig]]
You can reload the configuration file to read the new changes, but the changes will be applied after you restart the kernel.
[[reloadsaver|KS Command reloadsaver]]
Reloads the specified screensaver mod file
[[rexec|KS Command rexec]]
Remotely executes a command in another kernel instance (other PC)
[[savecurrdir|KS Command savecurrdir]]
Saves the current directory information to kernel config.
[[setsaver|KS Command setsaver]]
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.m to be recognized as a screensaver, not as an extension.
[[settings|KS Command settings]]
Changes kernel settings.
[[testshell|KS Command testshell]]
Opens a test shell TODO
[[unblockdbgdev|KS Command unblockdbgdev]]
You can unblock an IP address so it can enter remote debug again.
[[update|KS Command update]]
Checks for updates, and if it found one, it tells you.
Normal user commands
[[chattr|KS Command chattr]]
Changes the attributes of a file
[[chdir|KS Command chdir]]
You can change your working directory.
[[cls|KS Command cls]]
To clear your screen from text.
[[calc|KS Command calc]]
It's back! The Calculator calculates the formulas like 4 / 2.
[[calendar|KS Command calendar]]
Simple calendar TODO
[[clearfiredevents|KS Command clearfiredevents]]
Clears the fired events TODO
[[copy|KS Command copy]]
Copies the source file to the destination
[[combine|KS Command combine]]
Combines the two text files or more into the output file TODO
[[convertlineendings|KS Command convertlineendings]]
Converts the line endings in text files TODO
[[dismissnotif|KS Command dismissnotif]]
Dismisses a specific notification.
[[dismissnotifs|KS Command dismissnotifs]]
Dismisses all notifications TODO
[[edit|KS Command edit]]
Opens the text editor shell to an existing text file.
[[exit|KS Command exit]]
Exits the subshell
[[fileinfo|KS Command fileinfo]]
Gets file information
[[find|KS Command find]]
Finds a specified file TODO
[[firedevents|KS Command firedevents]]
Lists all fired events
[[ftp|KS Command ftp]]
You can transfer files from/to an FTP server, and interact with the servers.
[[get|KS Command get]]
Downloads a file from the specified URL.
[[gettimeinfo|KS Command gettimeinfo]]
Gets the time information for the specified time
[[http|KS Command http]]
The HTTP Shell TODO
[[hwinfo|KS Command hwinfo]]
Shows hardware information
[[jsonbeautify|KS Command jsonbeautify]]
Beautifies the JSON file
[[jsonminify|KS Command jsonminify]]
Minifies the JSON file
[[jsonshell|KS Command jsonshell]]
The JSON Shell TODO
[[list|KS Command list]]
You can list your current working directory, or another directory.
[[lockscreen|KS Command lockscreen]]
You can lock your screen and show your default screensaver set by you or by the kernel. Default screensaver is Matrix.
[[lovehate|KS Command lovehate]]
Starts the Love/Hate comment responder game
[[logout|KS Command logout]]
You can log off your account when you're finished working.
[[mail|KS Command mail]]
Opens the mail shell to your mail account.
[[mathbee|KS Command mathbee]]
Starts the mathematical bee game
[[md|KS Command md]]
You can make your directory on the root directory.
[[mkfile|KS Command mkfile]]
You can create your file under any name.
[[mktheme|KS Command mktheme]]
Makes a new theme.
[[modmanual|KS Command modmanual]]
Mod manual TODO
[[move|KS Command move]]
Moves the source file to the destination
[[open|KS Command open]]
Opens a URL TODO
[[ping|KS Command ping]]
Pings addresses.
[[put|KS Command put]]
Uploads a file to the URL using a file.
[[rm|KS Command rm]]
You can remove a directory or file.
[[reboot|KS Command 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|KS Command reportbug]]
Opens a prompt to let you file a bug report.
[[rss|KS Command rss]]
Opens an RSS shell.
[[savescreen|KS Command savescreen]]
You can show the screensaver to prevent screen burn-outs.
[[search|KS Command search]]
Searches for a specific string in a specific file using regular expressions.
[[searchword|KS Command searchword]]
Searches for a specific string in a specified file using text.
[[setthemes|KS Command setthemes]]
You can set the color set for your kernel, as known as themes.
[[sftp|KS Command sftp]]
You can transfer files from/to an SFTP server, and interact with the servers.
[[shownotifs|KS Command shownotifs]]
Shows the notifications.
[[showtd|KS Command showtd]]
You can show your current time and date, as well as your timezone.
[[showtdzone|KS Command showtdzone]]
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|KS Command shutdown]]
You can shut down your computer (The kernel, not the actual PC)
[[speedpress|KS Command speedpress]]
Initializes the speedpress game
[[spellbee|KS Command spellbee]]
Plays the spelling bee game
[[sshell|KS Command sshell]]
Opens the SSH connection. Press ESC to disconnect when in session.
[[sshcmd|KS Command sshcmd]]
Opens the SSH connection to send a command. TODO
[[stopwatch|KS Command stopwatch]]
A simple stopwatch TODO
[[sumfile|KS Command sumfile]]
Calculates the MD5, SHA1, SHA256, or SHA512 sum of a specific file.
[[sumfiles|KS Command sumfiles]]
Calculates the MD5, SHA1, SHA256, or SHA512 sums of the files in the specified directory.
[[sysinfo|KS Command sysinfo]]
You can show your system information, as well as the kernel settings.
[[timer|KS Command timer]]
A simple timer TODO
[[unzip|KS Command unzip]]
Extracts a zip file
[[usermanual|KS Command usermanual]]
Opens the Kernel Simulator wiki
[[verify|KS Command verify]]
Verifies a file.
[[weather|KS Command weather]]
Gets weather information for a city.
[[wrap|KS Command wrap]]
Wraps a command
[[zip|KS Command zip]]
Makes a zip file
[[zipshell|KS Command zipshell]]
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|KS Command beep]]
Makes your PC speaker beep in specified n Hz in n ms.
[[cat|KS Command cat]]
Prints the content of a specific file to console
[[choice|KS Command choice]]
Makes user choices
[[echo|KS Command echo]]
Prints written strings
[[if|KS Command if]]
Satisfies the condition and then executes the command
[[input|KS Command input]]
Makes user input
[[set|KS Command set]]
Sets a variable to a specified value.
[[setrange|KS Command setrange]]
Makes an array of variable with values TODO
[[select|KS Command select]]
Makes user selection TODO
Last updated