gosh

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

README

Gosh (go-powered bash)

Bash written in Go

Gosh

You can install QEMU on your Ubuntu machine using the APT package manager. Fire up the terminal and issue the following command to install QEMU on Ubuntu:

sudo apt install qemu-kvm -y

Start qemu with command:

 qemu-system-x86_64 -kernel bzImage -initrd initramfs.cpio.gz -smp 4 -m 1024

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chdir

func Chdir(path string)

func Exec

func Exec(input string)

func ExecDir

func ExecDir(input string, currPath string, path string) (bool, error)

func GetUname

func GetUname() string

func InitGosh

func InitGosh()

Init gosh shell

func InitScreen

func InitScreen()

Init start screen

func NotFound

func NotFound(command string)

func ReadBuf

func ReadBuf(buf *bufio.Reader) string

Read stdin buffer and return string

func Switch

func Switch(input string)

Execute command from input

func Wd

func Wd()

Set current work dir

Types

This section is empty.

Directories

Path Synopsis
cmd
ls

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL