Commands-for-KS
Administrative commands
adduser: You can add the user's name whenever you need, with the password if required. However, passwords are required to ensure security. Currently, it has an argument of
adduser <username> <password>.alias: You can manage your aliases to commands so you don't have to type long commands, using
alias <add/rem> <aliasName> <Command>.arginj: You can inject arguments into the kernel so that when you reboot, the arguments that are injected will be run. It has an argument of
arginj <arguments>.blockdbgdev: You can block an IP address of a debug device to prevent it from entering remote debug until it's unblocked. Usage:
blockdbgdev <address>cdbglog: You can clear debug log, resetting the size to 0
chhostname: You can change your hostname of your kernel to personalize things. It has an argument of
chhostname <AnyHostName>.chlang: Changes your language
chmal: You can change your message of the day after login, and it supports the same placeholders, and it has the same argument of
chmal <Anything>.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), and has an argument ofchmotd <anything>.chusrname: You can change your username, or someone else's name, using
chusrname <oldName> <newName>,although if you changed your own username to new name, you'll be signed out immediately.debuglog: You can check your debugging logs without having to go to the file explorer located at your user profile and open the text editor/viewer on "kernelDbg.log." When it was first appeared, you can only view debugging logs directly from the kernel that has debugging enabled.
disconndbgdev: Disconnects a debug device
lsdbgdev: Lists all debug devices that are connected
lset: Set listing mode (Either parse the size of the subdirectory only, or parse all the sizes in a subdirectory)
listdrives: List all parsed drives
listparts: List all partitions in a selected drive (zero-based)
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: You can manage user's permission settings. Right now, we only support disabling and enabling accounts, as well as making the specified user administrator. It has an argument of
perm <username> <Admin/Disabled> <Allow/Disallow>.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. You can remove usernames using
rmuser <Username>.rdebug: Enables or disables remote debugging functionality
reloadconfig: You can reload the configuration file to read the new changes, but the changes will be applied after you restart the kernel.
reloadsaver: You can reload your screensaver extension file from the KSMods directory. You should load your screensaver file before you can set it as default and use it. It has the usage of
loadsaver <<ScreensaverName>SS.m>.reloadmods: Reloads all the kernel modifications
rexec: Remotely executes a command in another kernel instance (other PC)
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.mto be recognized as a screensaver, not as an extension. It has the argument ofsetsaver <<ScreensaverName>SS.m/matrix/disco/disco255/colorMix/colorMix255/glitterMatrix/lines/glitterColor/aptErrorSim/hackUserFromAD>.unblockdbgdev: You can unblock an IP address so it can enter remote debug again. Usage:
unblockdbgdev <address>update: Checks for updates, and if it found one, it tells you.
Normal user commands
bsynth: Plays the beep synth file. For instructions on how to make a beep synth file, see
Beep synthschdir: You can change your working directory using
chdir <directory>chpwd: You can change your password, or someone else's password. It's been reported that the normal accounts can use this command to change anyone's password without any consent. Usage:
chpwd <username> <password> <newpassword> <newpassword>cls: To clear your screen from text.
calc: It's back! The Calculator calculates the formulas like
4 / 2.copy: Copies the source file to the destination
dismissnotif: Dismisses a specific notification.
edit: Opens the text editor shell to an existing text file using
read <textfile>.ftp: You can transfer files from/to an FTP server, and interact with the servers.
get: Downloads a file from the specified URL.
list: You can list your current working directory, or list another directory using
list [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 game
logout: You can log off your account when you're finished working.
mathbee: Starts the mathematical bee game
md: You can make your directory on the root directory, using
md <anything>.mkfile: You can create your file under any name using
mkfile <anyfile>move: Moves the source file to the destination
rd: You can remove your made directory using
rd <anything>.read: You can see what's inside a file by
read <file>,much likecat <path/to/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.
savescreen: You can show the screensaver to prevent screen burn-outs.
search: Searches for a specific string in a specific file.
setcolors: You can set the kernel colors using
setcolors <inputColor/def> <licenseColor/def> <contKernelErrorColor/def> <uncontKernelErrorColor/def> <hostNameShellColor/def> <userNameShellColor/def> <backgroundColor/def> <neutralTextColor/def> <cmdListColor/def> <cmdDefColor/def> <stageColor/def>setthemes: You can set the color set for your kernel, as known as themes, using
setthemes <theme>showmotd: You can show your changes to the Message of the Day
shownotifs: Shows the notifications.
showtd: You can show your current time and date, as well as your timezone.
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 using
showtdzone <zone>orshowtdzone allshowmal: You can show your changes to the Message of the Day After Login
shutdown: You can shut down your computer (The kernel, not the actual PC)
spellbee: Plays the spelling bee game
sshell: Opens the SSH connection. Press ESC to disconnect when in session.
sumfile: Calculates the MD5, SHA1, or SHA256 sum of a specific file.
sumfiles: Calculates the MD5, SHA1, or SHA256 sums of the files in the specified directory.
sysinfo: You can show your system information, as well as the kernel settings.
usermanual: Opens https://github.com/EoflaOE/Kernel-Simulator/wiki
Scripting commands
These commands can be used in shell and in scripting, though it works better in scripting.
beep: Makes your PC speaker beep in specified n Hz in n ms.
choice: Makes user choices
echo: Prints written strings
input: Makes user input
For more information about every command, see the right pane.
Last updated