cmds/

directory
v0.0.0-...-ba47a78 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: BSD-3-Clause

Directories

Path Synopsis
pxeboot
Command pxeboot implements PXE-based booting.
Command pxeboot implements PXE-based booting.
core
basename
Basename return name with leading path information removed.
Basename return name with leading path information removed.
cat
Cat concatenates files and prints to stdout.
Cat concatenates files and prints to stdout.
chmod
Change modifier bits of a file.
Change modifier bits of a file.
cmp
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
Perform a set comparisons over two files.
Perform a set comparisons over two files.
cp
Copy files.
Copy files.
cpio
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
Print the date.
Print the date.
dd
Convert and copy a file.
Convert and copy a file.
df
df reports details of mounted filesystems Synopsis df [-k] [-m] Description read mount information from /proc/mounts and statfs syscall and display summary information for all mount points that have a non-zero block count.
df reports details of mounted filesystems Synopsis df [-k] [-m] Description read mount information from /proc/mounts and statfs syscall and display summary information for all mount points that have a non-zero block count.
dhclient
dhclient sets up DHCP.
dhclient sets up DHCP.
dirname
dirname prints out the directory name of one or more args.
dirname prints out the directory name of one or more args.
dmesg
Read the system log.
Read the system log.
echo
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.
elvish
Elvish is a cross-platform shell, supporting Linux, BSDs and Windows.
Elvish is a cross-platform shell, supporting Linux, BSDs and Windows.
elvish/build
Package build contains build information.
Package build contains build information.
elvish/edit
Package edit implements a command line editor.
Package edit implements a command line editor.
elvish/edit/eddefs
Package eddefs contains types used in the Editor.
Package eddefs contains types used in the Editor.
elvish/edit/highlight
Package highlight implements syntax highlighting for Elvish code.
Package highlight implements syntax highlighting for Elvish code.
elvish/edit/location
Package location implements the location mode for the editor.
Package location implements the location mode for the editor.
elvish/edit/prompt
Package prompt implements the prompt subsystem of the editor.
Package prompt implements the prompt subsystem of the editor.
elvish/edit/tty
Package tty provides terminal functionality for the Elvish editor.
Package tty provides terminal functionality for the Elvish editor.
elvish/edit/ui
Package ui contains types that may be used by different editor frontends.
Package ui contains types that may be used by different editor frontends.
elvish/eval
Package eval handles evaluation of parsed Elvish code and provides runtime facilities.
Package eval handles evaluation of parsed Elvish code and provides runtime facilities.
elvish/eval/bundled
Package bundled keeps bundled modules.
Package bundled keeps bundled modules.
elvish/eval/vals
Package vals contains basic facilities for manipulating values used in the Elvish runtime.
Package vals contains basic facilities for manipulating values used in the Elvish runtime.
elvish/eval/vars
Package vars contains basic types for manipulating Elvish variables.
Package vars contains basic types for manipulating Elvish variables.
elvish/getopt
Package getopt implements a command-line argument parser.
Package getopt implements a command-line argument parser.
elvish/glob
Package glob implements globbing for elvish.
Package glob implements globbing for elvish.
elvish/parse
Package parse implements the elvish parser.
Package parse implements the elvish parser.
elvish/parse/parseutil
Package parseutil contains utilities built on top of the parse package.
Package parseutil contains utilities built on top of the parse package.
elvish/program
Package program provides the entry point to Elvish.
Package program provides the entry point to Elvish.
elvish/program/shell
Package shell is the entry point for the terminal interface of Elvish.
Package shell is the entry point for the terminal interface of Elvish.
elvish/runtime
Package runtime assembles the Elvish runtime.
Package runtime assembles the Elvish runtime.
elvish/store/storedefs
Package storedefs contains definitions used by the store package.
Package storedefs contains definitions used by the store package.
elvish/sys
Package sys provide convenient wrappers around syscalls.
Package sys provide convenient wrappers around syscalls.
elvish/tt
Package tt supports table-driven tests with little boilerplate.
Package tt supports table-driven tests with little boilerplate.
elvish/util
Package util contains utility functions.
Package util contains utility functions.
false
Returns 1.
Returns 1.
find
Find finds files.
Find finds files.
free
free reports usage information for physical memory and swap space.
free reports usage information for physical memory and swap space.
fusermount
fusermount is a very limited replacement for the C fusermount.
fusermount is a very limited replacement for the C fusermount.
gpgv
gpgv validates a signature against a file.
gpgv validates a signature against a file.
gpt
gpt reads and writes GPT headers.
gpt reads and writes GPT headers.
grep
Concurrent, parallel grep.
Concurrent, parallel grep.
hexdump
Prints files in hexadecimal.
Prints files in hexadecimal.
hostname
Print or set the system's hostname.
Print or set the system's hostname.
hwclock
Read or set the hardware clock (RTC) in UTC format.
Read or set the hardware clock (RTC) in UTC format.
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 -r, --user print real ID instead of effective 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 -r, --user print real ID instead of effective ID
init
Build commands in background processes.
Build commands in background processes.
insmod
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)
io
io reads and writes to physical memory and ports.
io reads and writes to physical memory and ports.
ip
kexec
kexec executes a new kernel over the running kernel (u-root).
kexec executes a new kernel over the running kernel (u-root).
kill
Kill kills processes.
Kill kills processes.
lddfiles
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
Ln makes links to files.
Ln makes links to files.
lockmsrs
lockmsrs locks important intel MSRs.
lockmsrs locks important intel MSRs.
losetup
Setup loop devices.
Setup loop devices.
ls
Ls prints the contents of a directory.
Ls prints the contents of a directory.
lsmod
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>
man
man - print manual entry for command.
man - print manual entry for command.
man/data
Code generated by man/gen/gen.go.
Code generated by man/gen/gen.go.
mkdir
Mkdir makes a new directory.
Mkdir makes a new directory.
mkfifo
mkfifo creates a named pipe.
mkfifo creates a named pipe.
mknod
Unmount a filesystem at the specified path.
Unmount a filesystem at the specified path.
mktemp
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]...
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]...
more
More pages through files without any terminal trickery.
More pages through files without any terminal trickery.
mount
Mount a filesystem at the specified path.
Mount a filesystem at the specified path.
msr
msr -- read and write MSRs with regular command or Forth Synopsis: msr [OPTIONS] r glob MSR msr [OPTIONS] w glob MSR value msr [OPTIONS] forth-word [forth-word ...] Description: This program reads and writes sets of MSRs, while allowing them to by changed on a core by core or collective basis.
msr -- read and write MSRs with regular command or Forth Synopsis: msr [OPTIONS] r glob MSR msr [OPTIONS] w glob MSR value msr [OPTIONS] forth-word [forth-word ...] Description: This program reads and writes sets of MSRs, while allowing them to by changed on a core by core or collective basis.
mv
Mv renames files and directories.
Mv renames files and directories.
netcat
Netcat pipes over the network.
Netcat pipes over the network.
ntpdate
simple ntpd daemon in Go.
simple ntpd daemon in Go.
pci
pci: show pci bus vendor ids and other info Description: List the PCI bus, with names if possible.
pci: show pci bus vendor ids and other info Description: List the PCI bus, with names if possible.
ping
Send icmp packets to a server to test network connectivity.
Send icmp packets to a server to test network connectivity.
printenv
Print environment variables.
Print environment variables.
ps
Print process information.
Print process information.
pwd
Print name of current directory.
Print name of current directory.
readlink
readlink display value of symbolic link file.
readlink display value of symbolic link file.
rm
Delete files.
Delete files.
rmmod
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
rsdp allows to determine the ACPI RSDP structure address which could be passed to the boot command later on It must be executed at the system init as it relies on scanning the kernel messages which could be quickly filled up in some cases Synopsis: rsdp [-f file] Description: Look for rsdp value in a file, default /dev/kmsg Example: rsdp rsdp -f /path/to/file
rsdp allows to determine the ACPI RSDP structure address which could be passed to the boot command later on It must be executed at the system init as it relies on scanning the kernel messages which could be quickly filled up in some cases Synopsis: rsdp [-f file] Description: Look for rsdp value in a file, default /dev/kmsg Example: rsdp rsdp -f /path/to/file
scp
Scp copies files between hosts on a network.
Scp copies files between hosts on a network.
seq
Print a sequence of numbers.
Print a sequence of numbers.
shutdown
shutdown halts, suspends, or reboots.
shutdown halts, suspends, or reboots.
sleep
Delay for the specified amount of time.
Delay for the specified amount of time.
sort
Sort lines.
Sort lines.
strace
strace is a simple multi-process tracer.
strace is a simple multi-process tracer.
strings
Strings finds printable strings.
Strings finds printable strings.
stty
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.
tar
Create and extract tar archives.
Create and extract tar archives.
tee
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.
tr
true
Returns 0.
Returns 0.
truncate
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]...
ts
ts prepends each line of stdin with a timestamp.
ts prepends each line of stdin with a timestamp.
umount
Unmount a filesystem at the specified path.
Unmount a filesystem at the specified path.
uname
Print build information about the kernel and machine.
Print build information about the kernel and machine.
uniq
Uniq removes repeated lines.
Uniq removes repeated lines.
unshare
Disassociate parts of the process execution context.
Disassociate parts of the process execution context.
uptime
Get the time the machine has been up Synopsis: uptime
Get the time the machine has been up Synopsis: uptime
wc
Wc counts lines, words, runes, syntactically–invalid UTF codes.
Wc counts lines, words, runes, syntactically–invalid UTF codes.
wget
Wget reads one file from a url and writes to stdout.
Wget reads one file from a url and writes to stdout.
which
Which locates a command.
Which locates a command.
yes
exp
ansi
Print ansi escape sequences.
Print ansi escape sequences.
ash
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.
bzimage
bzImage is used to modify bzImage files.
bzImage is used to modify bzImage files.
cbmem
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.
console
console implements a basic console.
console implements a basic console.
crc
Prints crc checksum of a file.
Prints crc checksum of a file.
ectool
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
address.go - contains methods for FileBuffer for line address resolution commands.go - defines editor commands This `ed` is intended to be a feature-complete mimick of [GNU Ed](https://www.gnu.org/software/ed//).
address.go - contains methods for FileBuffer for line address resolution commands.go - defines editor commands This `ed` is intended to be a feature-complete mimick of [GNU Ed](https://www.gnu.org/software/ed//).
fdtdump
fdtdump prints a readable version of Flattened Device Tree or dtb.
fdtdump prints a readable version of Flattened Device Tree or dtb.
field
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.
fixrsdp
fixrsdp copies the existing RSDP into the EBDA region in low mem.
fixrsdp copies the existing RSDP into the EBDA region in low mem.
forth
Forth is a forth interpreter.
Forth is a forth interpreter.
freq
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.
getty
getty Open a TTY and invoke a shell There are no special options and no login support Also getty exits after starting the shell so if one exits the shell, there is no more shell! Synopsis: getty <port> <baud> [term]
getty Open a TTY and invoke a shell There are no special options and no login support Also getty exits after starting the shell so if one exits the shell, there is no more shell! Synopsis: getty <port> <baud> [term]
hdparm
hdparm performs control operations on disks.
hdparm performs control operations on disks.
ipmidump
Synopsis: ipmidump [-option] Description: Options: -chassis : Print chassis power status.
Synopsis: ipmidump [-option] Description: Options: -chassis : Print chassis power status.
madeye
madeye merges multiple architecture u-root initramfs to form a single universal initramfs.
madeye merges multiple architecture u-root initramfs to form a single universal initramfs.
modprobe
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...
page
Synopsis: page [file] Description: page prints a page at a time to stdout from either stdin or a named file.
Synopsis: page [file] Description: page prints a page at a time to stdout from either stdin or a named file.
pox
pox builds a portable executable as a squashfs image.
pox builds a portable executable as a squashfs image.
pxeserver
pxeserver is a test & lab PXE server that supports TFTP, HTTP, and DHCPv4.
pxeserver is a test & lab PXE server that supports TFTP, HTTP, and DHCPv4.
readpe
Dump the headers of a PE file.
Dump the headers of a PE file.
run
Run executes its arguments as a Go program.
Run executes its arguments as a Go program.
rush
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.
srvfiles
Serve files on the network.
Serve files on the network.
tac
tac concatenates files and prints to stdout in reverse order, file by file Synopsis: tac <file...> Description: Options:
tac concatenates files and prints to stdout in reverse order, file by file Synopsis: tac <file...> Description: Options:
tcz
validate
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.
zimage
zimage dumps the header of a zImage.
zimage dumps the header of a zImage.

Jump to

Keyboard shortcuts

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