Skip to content

Implement commands in Bun shell #9716

Open
@Electroid

Description

@Electroid

This is a tracking issue for commands that we should implement as builtins in the Bun shell. Some of these are taken from GNU coreutils.

  • cat
  • touch
  • mkdir
  • cd
  • echo
  • pwd
  • which
  • rm
  • mv
  • ls
  • exit
  • true
  • false
  • cp
  • timeout
  • yes
  • basename
  • realpath
  • dirname
  • mktemp
  • truncate
  • head
  • tail
  • cut
  • uniq
  • seq
  • sleep
  • tee
  • date
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
  • md5sum
  • sort
  • printenv
  • env
  • whoami
  • who
  • uptime

This is not an exhaustive list, we can add commands as we think it's a good idea to implement.

While these will already be generally available on most posix systems, having them in the Shell will also allow them to be readily available on Windows when using Bun Shell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    shellSomething to do with Bun as a shelltrackingAn umbrella issue for tracking big features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions