Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmds
|
|
|
ansi
command
Print ansi escape sequences.
|
Print ansi escape sequences. |
|
basename
command
Basename return name with leading path information removed.
|
Basename return name with leading path information removed. |
|
boot
command
|
|
|
boot2
command
|
|
|
bzImage
command
bzImage is used to modify bzImage files.
|
bzImage is used to modify bzImage files. |
|
cat
command
Cat concatenates files and prints to stdout.
|
Cat concatenates files and prints to stdout. |
|
cbmem
command
cbmem prints out coreboot mem table information in JSON by default, and also implements the basic cbmem -list and -console commands.
|
cbmem prints out coreboot mem table information in JSON by default, and also implements the basic cbmem -list and -console commands. |
|
chmod
command
Change modifier bits of a file.
|
Change modifier bits of a file. |
|
chroot
command
|
|
|
cmp
command
Cmp compares two files and prints a message if their contents differ.
|
Cmp compares two files and prints a message if their contents differ. |
|
comm
command
Perform a set comparisons over two files.
|
Perform a set comparisons over two files. |
|
console
command
console implements a basic console.
|
console implements a basic console. |
|
cp
command
Copy files.
|
Copy files. |
|
cpio
command
cpio operates on cpio files using a cpio package It only implements basic cpio options.
|
cpio operates on cpio files using a cpio package It only implements basic cpio options. |
|
date
command
Print the date.
|
Print the date. |
|
dd
command
Convert and copy a file.
|
Convert and copy a file. |
|
df
command
|
|
|
dhclient
command
dhclient sets up DHCP.
|
dhclient sets up DHCP. |
|
dirname
command
dirname prints out the directory name of one or more args.
|
dirname prints out the directory name of one or more args. |
|
dmesg
command
Read the system log.
|
Read the system log. |
|
echo
command
Echo writes its arguments separated by blanks and terminated by a newline on the standard output.
|
Echo writes its arguments separated by blanks and terminated by a newline on the standard output. |
|
false
command
Returns 1.
|
Returns 1. |
|
field
command
The `field` command reads newline-separated lines of data from either the standard input or the specified files.
|
The `field` command reads newline-separated lines of data from either the standard input or the specified files. |
|
find
command
Find finds files.
|
Find finds files. |
|
free
command
free reports usage information for physical memory and swap space.
|
free reports usage information for physical memory and swap space. |
|
freq
command
Freq reads the given files (default standard input) and prints histograms of the character frequencies.
|
Freq reads the given files (default standard input) and prints histograms of the character frequencies. |
|
gpgv
command
gpgv validates a signature against a file.
|
gpgv validates a signature against a file. |
|
gpt
command
gpt reads and writes GPT headers.
|
gpt reads and writes GPT headers. |
|
grep
command
Concurrent, parallel grep.
|
Concurrent, parallel grep. |
|
gzip
command
|
|
|
hexdump
command
Prints files in hexadecimal.
|
Prints files in hexadecimal. |
|
hostname
command
Print the system's hostname.
|
Print the system's hostname. |
|
id
command
Synopsis: id [-gGnu] Description: id displays the uid, guid and groups of the calling process Options: -g, --group print only the effective group ID -G, --groups print all group IDs -n, --name print a name instead of a number, for -ugG -u, --user print only the effective user ID
|
Synopsis: id [-gGnu] Description: id displays the uid, guid and groups of the calling process Options: -g, --group print only the effective group ID -G, --groups print all group IDs -n, --name print a name instead of a number, for -ugG -u, --user print only the effective user ID |
|
init
command
Build commands in background processes.
|
Build commands in background processes. |
|
insmod
command
Insert a module into the Linux kernel Synopsis: insmod [filename] [module options...] Description: insmod is a clone of insmod(8)
|
Insert a module into the Linux kernel Synopsis: insmod [filename] [module options...] Description: insmod is a clone of insmod(8) |
|
installcommand
command
|
|
|
io
command
io lets you do IO operations.
|
io lets you do IO operations. |
|
ip
command
|
|
|
kexec
command
kexec executes a new kernel over the running kernel (u-root).
|
kexec executes a new kernel over the running kernel (u-root). |
|
kill
command
Kill kills processes.
|
Kill kills processes. |
|
lddfiles
command
lddfiles prints the arguments and all .so dependencies of those arguments Description: lddfiles prints the arguments on the command line and all .so's on which they depend.
|
lddfiles prints the arguments and all .so dependencies of those arguments Description: lddfiles prints the arguments on the command line and all .so's on which they depend. |
|
ln
command
Ln makes links to files.
|
Ln makes links to files. |
|
losetup
command
Setup loop devices.
|
Setup loop devices. |
|
ls
command
Ls prints the contents of a directory.
|
Ls prints the contents of a directory. |
|
lsmod
command
List modules currently loaded in the Linux kernel Synopsis: lsmod Description: lsmod is a clone of lsmod(8) Author: Roland Kammerer <dev.rck@gmail.com>
|
List modules currently loaded in the Linux kernel Synopsis: lsmod Description: lsmod is a clone of lsmod(8) Author: Roland Kammerer <dev.rck@gmail.com> |
|
mkdir
command
Mkdir makes a new directory.
|
Mkdir makes a new directory. |
|
mkfifo
command
mkfifo creates a named pipe.
|
mkfifo creates a named pipe. |
|
mknod
command
Unmount a filesystem at the specified path.
|
Unmount a filesystem at the specified path. |
|
mktemp
command
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]...
|
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]... |
|
mm
command
|
|
|
modprobe
command
modprobe - Add and remove modules from the Linux Kernel Synopsis: modprobe [-n] modulename [parameters...] modprobe [-n] -a modulename...
|
modprobe - Add and remove modules from the Linux Kernel Synopsis: modprobe [-n] modulename [parameters...] modprobe [-n] -a modulename... |
|
mount
command
Mount a filesystem at the specified path.
|
Mount a filesystem at the specified path. |
|
msr
command
msr lets you read and write an msr for one or more cores.
|
msr lets you read and write an msr for one or more cores. |
|
mv
command
Mv renames files and directories.
|
Mv renames files and directories. |
|
netcat
command
Netcat pipes over the network.
|
Netcat pipes over the network. |
|
ntpdate
command
simple ntpd daemon in Go.
|
simple ntpd daemon in Go. |
|
pci
command
|
|
|
pe
command
Dump the headers of a PE file.
|
Dump the headers of a PE file. |
|
ping
command
Send icmp packets to a server to test network connectivity.
|
Send icmp packets to a server to test network connectivity. |
|
printenv
command
Print environment variables.
|
Print environment variables. |
|
ps
command
Print process information.
|
Print process information. |
|
pwd
command
Print name of current directory.
|
Print name of current directory. |
|
pxeboot
command
|
|
|
readlink
command
readlink display value of symbolic link file.
|
readlink display value of symbolic link file. |
|
rm
command
Delete files.
|
Delete files. |
|
rmmod
command
Remove a module from the Linux kernel Synopsis: rmmod name Description: rmmod is a clone of rmmod(8) Author: Roland Kammerer <dev.rck@gmail.com>
|
Remove a module from the Linux kernel Synopsis: rmmod name Description: rmmod is a clone of rmmod(8) Author: Roland Kammerer <dev.rck@gmail.com> |
|
rsdp
command
|
|
|
rush
command
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go.
|
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go. |
|
scp
command
Scp copies files between hosts on a network.
|
Scp copies files between hosts on a network. |
|
seq
command
Print a sequence of numbers.
|
Print a sequence of numbers. |
|
shutdown
command
shutdown halts, suspends, or reboots.
|
shutdown halts, suspends, or reboots. |
|
sleep
command
Delay for the specified amount of time.
|
Delay for the specified amount of time. |
|
sort
command
Sort lines.
|
Sort lines. |
|
sos
command
|
|
|
srvfiles
command
Serve files on the network.
|
Serve files on the network. |
|
sshd
command
|
|
|
strings
command
Strings finds printable strings.
|
Strings finds printable strings. |
|
stty
command
The command works like this: stty [verb] [options] Verbs are: dump -- dump the json of the struct to stdout load -- read a json file from stdin and use it to set raw -- convenience command to set raw cooked -- convenience command to set cooked In common stty usage, options may be specified without a verb.
|
The command works like this: stty [verb] [options] Verbs are: dump -- dump the json of the struct to stdout load -- read a json file from stdin and use it to set raw -- convenience command to set raw cooked -- convenience command to set cooked In common stty usage, options may be specified without a verb. |
|
switch_root
command
|
|
|
sync
command
sync command in Go.
|
sync command in Go. |
|
tail
command
|
|
|
tcz
command
|
|
|
tee
command
Tee transcribes the standard input to the standard output and makes copies in the files.
|
Tee transcribes the standard input to the standard output and makes copies in the files. |
|
time_sos
command
|
|
|
true
command
Returns 0.
|
Returns 0. |
|
truncate
command
Truncate - shrink or extend the size of a file to the specified size Synopsis: truncate [OPTIONS] [FILE]...
|
Truncate - shrink or extend the size of a file to the specified size Synopsis: truncate [OPTIONS] [FILE]... |
|
umount
command
Unmount a filesystem at the specified path.
|
Unmount a filesystem at the specified path. |
|
uname
command
Print build information about the kernel and machine.
|
Print build information about the kernel and machine. |
|
uniq
command
Uniq removes repeated lines.
|
Uniq removes repeated lines. |
|
unshare
command
Disassociate parts of the process execution context.
|
Disassociate parts of the process execution context. |
|
upspin_sos
command
|
|
|
validate
command
This program validates a file by verifying a checksum and a signature file.
|
This program validates a file by verifying a checksum and a signature file. |
|
vboot
command
|
|
|
wc
command
Wc counts lines, words, runes, syntactically–invalid UTF codes.
|
Wc counts lines, words, runes, syntactically–invalid UTF codes. |
|
wget
command
Wget reads one file from a url and writes to stdout.
|
Wget reads one file from a url and writes to stdout. |
|
which
command
Which locates a command.
|
Which locates a command. |
|
wifi
command
|
|
|
xinit
command
|
|
|
examples
|
|
|
sos
command
|
|
|
uinit
command
This is a basic init script.
|
This is a basic init script. |
|
pkg
|
|
|
bb/cmd
command
|
|
|
bzimage
package bzImage implements encoding.UnmarshalBinary for bzImage files.
|
package bzImage implements encoding.UnmarshalBinary for bzImage files. |
|
cmdline
The cmdline package provides a parser and convenience functions for reading configuration data from /proc/cmdline it's conformant with https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html, though making 'var_name' and 'var-name' equivalent may need to be done separately.
|
The cmdline package provides a parser and convenience functions for reading configuration data from /proc/cmdline it's conformant with https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html, though making 'var_name' and 'var-name' equivalent may need to be done separately. |
|
complete
Package complete implements a simple completion package designed to be used in shells and other programs.
|
Package complete implements a simple completion package designed to be used in shells and other programs. |
|
dhclient
Package dhclient provides a unified interface for interfacing with both DHCPv4 and DHCPv6 clients.
|
Package dhclient provides a unified interface for interfacing with both DHCPv4 and DHCPv6 clients. |
|
dhcp6client
Package dhcp6client implements a DHCPv6 client as per RFC 3315.
|
Package dhcp6client implements a DHCPv6 client as per RFC 3315. |
|
forth
the forth package is designed for use by programs needing to evaluate command-line arguments or simple expressions to set program variables.
|
the forth package is designed for use by programs needing to evaluate command-line arguments or simple expressions to set program variables. |
|
gpt
gpt implements reading and writing of GUID Partition tables.
|
gpt implements reading and writing of GUID Partition tables. |
|
ldd
ldd returns all the library dependencies of a list of file names.
|
ldd returns all the library dependencies of a list of file names. |
|
null
Package null extends ioutil.Discard and adds an io.WriteCloser and WriteNameCloser for use within u-root.
|
Package null extends ioutil.Discard and adds an io.WriteCloser and WriteNameCloser for use within u-root. |
|
pty
Package pty provides basic pty support.
|
Package pty provides basic pty support. |
|
pxe
Package pxe aims to implement the PXE specification.
|
Package pxe aims to implement the PXE specification. |
|
qemu
Package qemu is suitable for running QEMU-based integration tests.
|
Package qemu is suitable for running QEMU-based integration tests. |
|
termios
Package termios implements basic termios operations including getting a tty struct, termio struct, a winsize struct, and setting raw mode.
|
Package termios implements basic termios operations including getting a tty struct, termio struct, a winsize struct, and setting raw mode. |
|
uroot/test/foo
command
|
|
|
uroot/test/gopath1/src/foo
command
|
|
|
uroot/test/gopath1/src/os
command
|
|
|
uroot/test/gopath2/src/mypkga
command
|
|
|
uroot/test/gopath2/src/mypkgb
command
|
|
|
uroot/util
Package util contains various u-root utility functions.
|
Package util contains various u-root utility functions. |
|
scripts
|
|
|
build_perf
command
Measure the performance of building all the Go commands under various GOGC values.
|
Measure the performance of building all the Go commands under various GOGC values. |
|
checklicenses
command
Run with `go run checklicenses.go`.
|
Run with `go run checklicenses.go`. |
|
testramfs
command
testramfs tests things, badly
|
testramfs tests things, badly |
|
tools
|
|
|
makebb
command
makebb compiles many Go commands into one bb-style binary.
|
makebb compiles many Go commands into one bb-style binary. |
|
makebbmain
command
makebbmain creates a bb main.go source file.
|
makebbmain creates a bb main.go source file. |
|
mkinitramfs
mkinitramfs creates a u-root initramfs given the list of files on the command line.
|
mkinitramfs creates a u-root initramfs given the list of files on the command line. |
|
rewriteast
command
rewriteast rewrites a Go command to be bb-compatible.
|
rewriteast rewrites a Go command to be bb-compatible. |
|
xcmds
|
|
|
archive
command
Archive archives files.
|
Archive archives files. |
|
ash
command
|
|
|
builtin
command
|
|
|
ectool
command
These should all implement io.ReadAt, with the address as the Offset; same for WriteAt.
|
These should all implement io.ReadAt, with the address as the Offset; same for WriteAt. |
|
ed
command
Options: ED(1) Unix Programmer's Manual ED(1) NAME ed - text editor SYNOPSIS ed [ - ] [ -d ] [ name ] DESCRIPTION Ed is the standard text editor.
|
Options: ED(1) Unix Programmer's Manual ED(1) NAME ed - text editor SYNOPSIS ed [ - ] [ -d ] [ name ] DESCRIPTION Ed is the standard text editor. |
|
forth
command
Forth is a forth interpreter.
|
Forth is a forth interpreter. |
|
pflask
command
|
|
|
run
command
Run executes its arguments as a Go program.
|
Run executes its arguments as a Go program. |
Click to show internal directories.
Click to hide internal directories.
