Hiya,
I have been looking through the kernel of the S/NES Classic and found the list of usable terminal commands in /bin/
I will post a WIP list of some commands and there uses and I would be grateful for anyone to contribute new commands and usage of some commands that are mostly untested.
The way I read the list of commands is usually opening filezilla and telnet side by side and going through some commands.
I have missed lots out in this list so I hope you can help me fill in some gaps!
Thanks for reading!
(Also I know this is kinda pointless but its still fun
)
I have been looking through the kernel of the S/NES Classic and found the list of usable terminal commands in /bin/
I will post a WIP list of some commands and there uses and I would be grateful for anyone to contribute new commands and usage of some commands that are mostly untested.
ls - View Directory Contents
cd - Change Directory
mk/mkdir - Make a file/directory
rm/rmdir - Delete a file/directory
sh/script - Run a script
exec - Run a program/script?
test - Used in "if" statements to test if something is true or not. Runs low level tests. (Thanks to @cybrian)
test-menu - System Production Tests, can be executed
poweroff - Shutdown the system
gameover - Same as above
beep - Probably makes a beep sound, untested
reboot - Reboots the system. Can be achieved also with "kill 1"
cat - Probably views the contents of a file
kill - Kills something (probably processes) Only noticable effects with "kill 1" (see above)
pkill - Like kill but with a list of processes
killall - Kill proccesses with a name. Used in a init script. Mostly untested
gunzip - Compressing/Decompressing files
gzip - Above
lzop - Above
(I believe there are more compression tools in the system)
yes - Used to spam "y" in the terminal to quickly get through commands requiring a yes/no answer. (Thanks to @cybrian)
cp - Copy
xcopy - Copy
ifconfig - Would be used to display internet information but the classics dont have internet...
ping - Would be used to ping an ip/hostname but no internet connection
sleep - Timeout a program/terminal for a set amount of time
timeout - Similar to sleep
wget - Would be used for downloading programs but no internet
who - Lists all users on the system (Logged in users?)
whoami - Says what your user name is (More than likely root)
whois - Identifies a server (i think) but no internet
unzip - Doesnt need an explanation
time - Prints the time out, but every time the system reboots it starts from January 1970 due to Unix starting on that day
cal - Prints a calender but with the same issue as above
date - Same thing as above
su - Gives a user superuser access
printf - Can be used as a command but is more for scripts, Prints text to the screen.
echo - Prints text to the terminal
mount - Mounts something but gives an error when using
nanddump - Dumps nand
nandwrite - Writes to the nand?
halt - Shutsdown your system. In testing you need to unplug power to get out of it as power button is unresponsive and system is not detected by hakchi
free - Displays free space on the NAND
fdisk - This one made me laugh for some reason (old windows fanboy), anyway, Partition Manager.
eject - Attempts to eject a disc from a CD drive but fails (for obvious reasons)
clear - Probably clears the terminal screen
chmod - Not sure how to describe this one, google it
addgroup - Creates a user group (Admin, SuperUser, Regular User)
adduser - Does the same as addgroup I think.
busybox - This is the shell itself. Executing displays a list of commands. (Thanks to @cybrian)
cd - Change Directory
mk/mkdir - Make a file/directory
rm/rmdir - Delete a file/directory
sh/script - Run a script
exec - Run a program/script?
test - Used in "if" statements to test if something is true or not. Runs low level tests. (Thanks to @cybrian)
test-menu - System Production Tests, can be executed
poweroff - Shutdown the system
gameover - Same as above
beep - Probably makes a beep sound, untested
reboot - Reboots the system. Can be achieved also with "kill 1"
cat - Probably views the contents of a file
kill - Kills something (probably processes) Only noticable effects with "kill 1" (see above)
pkill - Like kill but with a list of processes
killall - Kill proccesses with a name. Used in a init script. Mostly untested
gunzip - Compressing/Decompressing files
gzip - Above
lzop - Above
(I believe there are more compression tools in the system)
yes - Used to spam "y" in the terminal to quickly get through commands requiring a yes/no answer. (Thanks to @cybrian)
cp - Copy
xcopy - Copy
ifconfig - Would be used to display internet information but the classics dont have internet...
ping - Would be used to ping an ip/hostname but no internet connection
sleep - Timeout a program/terminal for a set amount of time
timeout - Similar to sleep
wget - Would be used for downloading programs but no internet
who - Lists all users on the system (Logged in users?)
whoami - Says what your user name is (More than likely root)
whois - Identifies a server (i think) but no internet
unzip - Doesnt need an explanation
time - Prints the time out, but every time the system reboots it starts from January 1970 due to Unix starting on that day
cal - Prints a calender but with the same issue as above
date - Same thing as above
su - Gives a user superuser access
printf - Can be used as a command but is more for scripts, Prints text to the screen.
echo - Prints text to the terminal
mount - Mounts something but gives an error when using
nanddump - Dumps nand
nandwrite - Writes to the nand?
halt - Shutsdown your system. In testing you need to unplug power to get out of it as power button is unresponsive and system is not detected by hakchi
free - Displays free space on the NAND
fdisk - This one made me laugh for some reason (old windows fanboy), anyway, Partition Manager.
eject - Attempts to eject a disc from a CD drive but fails (for obvious reasons)
clear - Probably clears the terminal screen
chmod - Not sure how to describe this one, google it
addgroup - Creates a user group (Admin, SuperUser, Regular User)
adduser - Does the same as addgroup I think.
busybox - This is the shell itself. Executing displays a list of commands. (Thanks to @cybrian)
The way I read the list of commands is usually opening filezilla and telnet side by side and going through some commands.
I have missed lots out in this list so I hope you can help me fill in some gaps!
Thanks for reading!
(Also I know this is kinda pointless but its still fun
Last edited by Mnecraft368,