Skip to content

Fash (Shell)

C0deDeveloper edited this page Aug 3, 2023 · 3 revisions

Information

The shell itself is called fash. It's a bash "clone" that has almost the best effort at copying everything that bash provides including a semi-auto tab completion for very specific and known keywords, although the shell file itself doesn't have it, the primary way that shell is used does, the shell file is more of like a command handler!, it features a lot of commands.

Commands

This boring wiki will go through each one of them:

  • starty - almost added GUI, has window manager and basic stuff
  • sysctl - consisting of a lot of sub commands, it refers to system control or sysctl, here are the sub commands:
    • gui=true - to change GUI variable mostly for debug purpose
    • gui=false - same as gui=true
    • reboot - reboots the system... alternative method: sudo reboot
    • shutdown - shuts the system down... alternative method: sudo shutdown
    • info - gives basic system info (including disk space, if is virtual machine or no, disk count)
    • proclist - lists all processes
    • console-cursor - enables console cursor, if it is disabled somehow
  • falnfo - a set of version info, has following sub commands:
    • -a - Gives all info
    • -f - FalconOS version
    • -b - Base version (about the same thing)
    • -vm - VM Version (the falcon vm, not your host or guest vm)
  • touch - makes files
  • rm - removes files
  • mkdir - makes directory
  • rmdir - removes directory
  • cd - changes directory (Note: .. doesn't exist. use ... to goto 0:)
  • uname - check the linux documentation for uname and its params. (basically lists OS info)
  • ls - lists current directory
  • fedit - a looti clone, not detailed, an alternative text editor
  • clear - clears console screen
  • exit - exits user (logs out) and asks for login (not if a kidshell)
  • fash - running a kidshell with your fash script (basically a list of commands) (without script, makes a kidshell)
  • echo - repeats text, like printf
  • sleep - sleeps for certain milliseconds
  • cat - reads a file and prints it
  • ver - lists version
  • falcp - falcon compiler, simplified assembly
  • pwd - list working dir
  • sudo - runs something as root, example: cd into a permission denied folder
  • usrname - tells your username
  • fav - FAlcon Vi, based on MIV but much much better
  • screenfetch / feofetch - doing the same thing, printing the falcon logo (will add info)
  • fetch - fetches stuff, as of right now only fetches disks, or lists logical drives
  • logout - logs out, no matter if kidshell or no
  • (not a command) ./ - runs either a .fe (executable), or .ash (fash scripts)
  • asm (or will be fas soon) - compiles a file using a almost-assembly syntax
  • calc - basic calculator expression evaluator
  • falsay - falcon say, just a gimmick, try falsay
  • printlogo - same as screenfetch
  • bmgr - buffer manager, the buffer used in shell. either clear (requires sudo/root user), cas (also requires root/sudo) which saves and clear buffer to a file
  • changedrive - changes drive (sometimes)
  • fcg [falcon console graphics] - a gui sorta thing in console
  • export: currentdir: - a debug command.

I hope you read it! That's all the commands in shell You may check out fcg and fav!

Clone this wiki locally