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.

General commands

These commands that are mentioned below are available in all of the shells.

CommandDescription

Exits the subshell

Changes the shell preset

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

[!IMPORTANT] The user must have at least the administrative privileges before they can run the below commands.

CommandDescription

You can add the user's name whenever you need, with the password if required. However, passwords are required to ensure security.

You can manage your aliases to commands so you don't have to type long commands.

You can inject arguments into the kernel so that when you reboot, the arguments that are injected will be run.

You can block an IP address of a debug device to prevent it from entering remote debug until it's unblocked.

You can clear debug log, resetting the size to 0

You can change your hostname of your kernel to personalize things. It has an argument of chhostname <AnyHostName>.

Changes your language

You can change your message of the day after login, and it supports the same placeholders.

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).

You can change your password, or someone else's password.

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.

Disconnects a debug device

Manage languages

Lists all debug devices that are connected

Manages your mods

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.

You can manage user's permission settings.

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.

Enables or disables remote debugging functionality

You can reload the configuration file to read the new changes, but the changes will be applied after you restart the kernel.

Reloads the specified screensaver mod file

Remotely executes a command in another kernel instance (other PC)

Saves the current directory information to kernel config.

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.

Changes kernel settings.

Opens a test shell

You can unblock an IP address so it can enter remote debug again.

Checks for updates, and if it found one, it tells you.

Normal user commands

CommandDescription

Changes the attributes of a file

You can change your working directory.

To clear your screen from text.

It's back! The Calculator calculates the formulas like 4 / 2.

Simple calendar

Clears the fired events

Copies the source file to the destination

Converts the hexadecimal representation of the color to RGB numbers.

Converts the hexadecimal representation of the color to RGB numbers in KS format.

Converts the color RGB numbers to hex.

Combines the two text files or more into the output file

Converts the line endings in text files

The English Dictionary

Dismisses a specific notification.

Dismisses all notifications

Opens the text editor shell to an existing text file.

Gets file information

Finds a specified file

Lists all fired events

You can transfer files from/to an FTP server, and interact with the servers.

Name generator

Downloads a file from the specified URL.

Gets the time information for the specified time

Opens a binary file to the hex editor

The HTTP Shell

Shows hardware information

Beautifies the JSON file

Minifies the JSON file

The JSON Shell

Gets the key information

You can list your current working directory, or another directory.

You can lock your screen and show your default screensaver set by you or by the kernel. Default screensaver is Matrix.

Starts the Love/Hate comment responder game

You can log off your account when you're finished working.

Lists variables

Opens the mail shell to your mail account.

You can make your directory on the root directory.

You're a spaceship and the meteors are destroying you.

You can create your file under any name.

Makes a new theme.

Mod manual

Moves the source file to the destination

Opens a URL

Pings addresses.

Uploads a file to the URL using a file.

Opens a RAR shell to the specified rar file

You can remove a directory or file.

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.

Opens a prompt to let you file a bug report.

Retro Kernel Simulator based on 0.0.4.1

Opens an RSS shell.

You can show the screensaver to prevent screen burn-outs.

Searches for a specific string in a specific file using regular expressions.

Searches for a specific string in a specified file using text.

You can set the color set for your kernel, as known as themes.

You can transfer files from/to an SFTP server, and interact with the servers.

Shows the notifications.

You can show your current time and date, as well as your timezone.

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.

You can shut down your computer (the kernel, not the actual PC)

Starts the snake game

Starts the math solver game

Initializes the speedpress game

Plays the spelling bee game

Opens the SSH connection. Press ESC to disconnect when in session.

Opens the SSH connection to send a command.

A simple stopwatch

Calculates the MD5, SHA1, SHA256, or SHA512 sum of a specific file.

Calculates the MD5, SHA1, SHA256, or SHA512 sums of the files in the specified directory.

You can show your system information, as well as the kernel settings.

A simple timer

Unit conversion

Extracts a zip file

Opens the Kernel Simulator wiki

Verifies a file.

Gets weather information for a city.

Wraps a command

Makes a zip file

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.

CommandDescription

Makes your PC speaker beep in specified n Hz in n ms.

Prints the content of a specific file to console

Makes user choices

Prints written strings

Satisfies the condition and then executes the command

Makes user input

Sets a variable to a specified value.

Makes an array of variable with values

Makes user selection

Last updated