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 ."
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 <Admin/Disabled> <Allow/Disallow>."
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 ."
chhostname: You can change your hostname of your kernel to personalize things. It has an argument of "chhostname ."
chmotd: You can change your message of the day, and you can include your own placeholders, including which stands for username, for the short date in "MM/DD/YYYY" format, for the long date that looks like "Saturday, December 1, 2018", for the short time in "HH:MM" format, for the long time in "HH:MM:SS AM/PM" format, for the standard time zone (eg. Egypt Standard Time), for the daylight time zone name (eg. Syria Daylight Time), and has an argument of "chmotd ."
chusrname: You can change your username, or someone else's name, using "chusrname ," although if you changed your own username to new name, you'll be signed out immediately.
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 ."
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.
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.
reloadconfig: You can reload the configuration file to read the new changes, but the changes will be applied after you restart the kernel.
alias: You can manage your aliases to commands so you don't have to type long commands, using "alias <add/rem> ."
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 ."
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 SS.m to be recognized as a screensaver, not as an extension. It has the argument of "setsaver <SS.m/matrix/disco/colorMix>."
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 <SS.m>."
cdbglog: You can clear debug log, resetting the size to 0
chlang: Changes your language
reloadmods: Reloads all the kernel modifications
Normal user commands
chdir: You can change your working directory using "chdir "
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 "
cls: To clear your screen from text.
ftp: You can transfer files from/to an FTP server, and interact with the servers.
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.
logout: You can log off your account when you're finished working.
md: You can make your directory on the root directory, using "md ."
noaliases: You can see the list of forbidden aliases set by the kernel. You can set them later on the future release.
rd: You can remove your made directory using "rd ," but if you try to remove important folders, they get recreated at every restart and this behavior will be changed when we implement a real filesystem.
read: You can see what's inside a file by "read ," much like "cat <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.
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>"
setthemes: You can set the color set for your kernel, as known as themes, using "setthemes "
showmotd: You can show your changes to the Message of the Day
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 " or "showtdzone "
showmal: 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)
sysinfo: You can show your system information, as well as the kernel settings.
useddeps: You can show the open source libraries used
usermanual: Opens https://github.com/EoflaOE/Kernel-Simulator/wiki
sses: Gets SSE(1|2|3) capabilities found in processors
For more information about every command, see the right pane.
Last updated