Aptivi - Deprecated Manuals
ProjectsWebsiteBlog
Nitrocid KS v0.0.24 - Manual
Nitrocid KS v0.0.24 - Manual
  • History of KS
  • Kernel Simulator
  • Introduction to the Kernel
  • toc
  • arguments
    • Command line arguments for KS
    • Kernel arguments for KS
    • Preboot Command line arguments for KS
  • commands
    • Commands for (S)FTP client for KS
    • Commands-for-KS
    • Brief overview of HTTP shell
    • Brief overview of hex editor shell
    • Brief overview of JSON shell
    • Brief overview of mail shell
    • Brief overview of RSS shell
    • Test shell commands
    • Brief overview of text editor shell
    • Brief overview of ZIP shell
    • hex
      • addbyte hex editor shell command
      • addbytes hex editor shell command
      • clear hex editor shell command
      • delbyte hex editor shell command
      • delbytes hex editor shell command
      • exit hex editor shell command
      • exitnosave hex editor shell command
      • print hex editor shell command
      • querybyte hex editor shell command
      • replace hex editor shell command
      • save hex editor shell command
    • http
      • delete HTTP command
      • get HTTP command
      • getstring HTTP command
      • setsite HTTP command
    • json
      • addproperty JSON shell command
      • clear JSON shell command
      • delproperty JSON shell command
      • exit JSON shell command
      • exitnosave JSON shell command
      • print JSON shell command
      • save JSON shell command
    • mail
      • cd mail command
      • exit mail command
      • list mail command
      • lsdirs mail command
      • mkdir mail command
      • mv mail command
      • mvall mail command
      • read mail command
      • readenc mail command
      • ren mail command
      • rm mail command
      • rmall mail command
      • rmdir mail command
      • send mail command
      • sendenc mail command
    • rss
      • articleinfo RSS command
      • bookmark RSS command
      • chfeed RSS command
      • feedinfo RSS command
      • list RSS command
      • listbookmark RSS command
      • read RSS command
      • unbookmark RSS command
    • sftp
      • cdl (S)FTP command
      • cdr (S)FTP command
      • connect (S)FTP command
      • del (S)FTP command
      • disconnect (S)FTP command
      • get (S)FTP command
      • lsl (S)FTP command
      • lsr (S)FTP command
      • put (S)FTP command
      • pwdl (S)FTP command
      • pwdr (S)FTP command
      • quickconnect (S)FTP command
      • ftponly
        • cp FTP command
        • getfolder FTP command
        • mv FTP command
        • perm FTP command
        • putfolder (S)FTP command
        • type FTP command
    • text
      • addline text editor shell command
      • addlines text editor shell command
      • clear text editor shell command
      • delcharnum text editor shell command
      • delline text editor shell command
      • delword text editor shell command
      • editline text editor shell command
      • exit text editor shell command
      • exitnosave text editor shell command
      • print text editor shell command
      • querychar text editor shell command
      • queryword text editor shell command
      • querywordregex text editor shell command
      • replace text editor shell command
      • replaceinline text editor shell command
      • replaceinlineregex text editor shell command
      • replaceregex text editor shell command
      • save text editor shell command
    • uesh
      • adduser command
      • alias command
      • arginj command
      • beep command
      • blockdbgdev command
      • calc command
      • calendar command
      • cat command
      • cdbglog command
      • chattr command
      • chdir command
      • chhostname command
      • chlang command
      • chmal command
      • chmotd command
      • choice command
      • chpwd command
      • chusrname command
      • clearfiredevents command
      • cls command
      • colorhextorgb command
      • colorhextorgbks command
      • colorrgbtohex command
      • combine command
      • convertlineendings command
      • copy command
      • dict command
      • dirinfo command
      • disconndbgdev command
      • dismissnotif command
      • dismissnotifs command
      • echo command
      • edit command
      • exit command
      • fileinfo command
      • find command
      • firedevents command
      • ftp command
      • genname command
      • get command
      • gettimeinfo command
      • hexedit command
      • http command
      • hwinfo command
      • if command
      • input command
      • jsonbeautify command
      • jsonminify command
      • jsonshell command
      • keyinfo command
      • langman command
      • list command
      • lockscreen command
      • logout command
      • lovehate command
      • lsdbgdev command
      • lsvars command
      • mail command
      • md command
      • meteor command
      • mkfile command
      • mktheme command
      • modman command
      • modmanual command
      • move command
      • netinfo command
      • opem command
      • perm command
      • ping command
      • put command
      • rarshell command
      • rdebug command
      • reboot command
      • reloadconfig command
      • reloadsaver command
      • reportbug command
      • retroks command
      • rexec command
      • rm command
      • rmuser command
      • rss command
      • savecurrdir command
      • savescreen command
      • search command
      • searchword command
      • select command
      • set command
      • setrange command
      • setsaver command
      • setthemes command
      • settings command
      • sftp command
      • shownotifs command
      • showtd command
      • showtdzone command
      • shutdown command
      • snaker command
      • solver command
      • speedpress command
      • spellbee command
      • sshcmd command
      • sshell command
      • stopwatch command
      • sumfile command
      • sumfiles command
      • sysinfo command
      • testshell command
      • timer command
      • unblockdbgdev command
      • unitconv command
      • unzip command
      • update command
      • usermanual command
      • verify command
      • weather command
      • wrap command
      • zip command
      • zipshell command
    • unified
      • exit command
      • presets command
    • zip
      • cdir Zip command
      • chadir Zip command
      • chdir Zip command
      • get Zip command
      • list Zip command
      • pack Zip command
  • config
    • Configuration for KS
    • Screensaver settings for KS
    • Splash settings for KS
  • development
    • Custom splash guide
    • Events for Mod Developers
    • Mod Dependencies
    • Mod manual page
    • Modding guide
    • Screensaver modding guide
  • diagnostics
    • Kernel testing
    • Remote debugging guide
  • misc
    • Output redirection
    • Placeholders
    • Splashes
    • Studying Payslip virus
  • releases
    • Compatibility notes for first-gen KS
    • Compatibility notes for second-gen KS
    • Release-Notes-for-First-Generation-KS
    • Release-Notes-for-Second-Generation-KS
  • ueshdevelopment
    • Shell-scripting
    • UESH conditions
  • utilities
    • KSConverter
    • KSJsonifyLocales
Powered by GitBook
On this page
  • Commands for KS
  • General commands
  • UESH shell commands
Edit on GitHub
  1. commands

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.

Command
Description

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.

Command
Description

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

Command
Description

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.

Command
Description

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 6 months ago

exit
presets
adduser
alias
arginj
blockdbgdev
cdbglog
chhostname
chlang
chmal
chmotd
chpwd
chusrname
disconndbgdev
langman
lsdbgdev
modman
netinfo
perm
rmuser
rdebug
reloadconfig
reloadsaver
rexec
savecurrdir
setsaver
settings
testshell
unblockdbgdev
update
chattr
chdir
cls
calc
calendar
clearfiredevents
copy
colorhextorgb
colorhextorgbks
colorrgbtohex
combine
convertlineendings
dict
dismissnotif
dismissnotifs
edit
fileinfo
find
firedevents
ftp
genname
get
gettimeinfo
hexedit
http
hwinfo
jsonbeautify
jsonminify
jsonshell
keyinfo
list
lockscreen
lovehate
logout
lsvars
mail
md
meteor
mkfile
mktheme
modmanual
move
open
ping
put
rarshell
rm
reboot
reportbug
retroks
rss
savescreen
search
searchword
setthemes
sftp
shownotifs
showtd
showtdzone
shutdown
snaker
solver
speedpress
spellbee
sshell
sshcmd
stopwatch
sumfile
sumfiles
sysinfo
timer
unitconv
unzip
usermanual
verify
weather
wrap
zip
zipshell
beep
cat
choice
echo
if
input
set
setrange
select