cmds/

directory
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause

Directories

Path Synopsis
Command boot allows to handover a system running linuxboot/u-root to a legacy preinstalled operating system by replacing the traditional bootloader path
Command boot allows to handover a system running linuxboot/u-root to a legacy preinstalled operating system by replacing the traditional bootloader path
pxeboot
Command pxeboot implements PXE-based booting.
Command pxeboot implements PXE-based booting.
contrib
core
basename
Basename return name with leading path information removed.
Basename return name with leading path information removed.
blkid
Blkid prints information about blocks.
Blkid prints information about blocks.
cat
cat concatenates files and prints them to stdout.
cat concatenates files and prints them to stdout.
chmod
chmod changes mode bits (e.g.
chmod changes mode bits (e.g.
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
comm compares two files.
comm compares two files.
cp
cp copies files.
cp copies 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
date prints the date.
date prints the date.
dd
dd converts and copies a file.
dd converts and copies a file.
df
df reports details of mounted filesystems.
df reports details of mounted filesystems.
dhclient
dhclient sets up network config using DHCP.
dhclient sets up network config using 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
dmesg reads the system log.
dmesg reads 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.
false
false returns 1.
false 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.
gzip
gzip compresses files using gzip compression.
gzip compresses files using gzip compression.
hexdump
hexdump prints file content in hexadecimal.
hexdump prints file content in hexadecimal.
hostname
hostname prints or changes the system's hostname.
hostname prints or changes the system's hostname.
hwclock
hwclock reads or changes the hardware clock (RTC) in UTC format.
hwclock reads or changes the hardware clock (RTC) in UTC format.
id
id displays the user id, group id, and groups of the calling process.
id displays the user id, group id, and groups of the calling process.
init
init is u-root's standard userspace init process.
init is u-root's standard userspace init process.
insmod
insmod inserts a module into the running Linux kernel.
insmod inserts a module into the running Linux kernel.
io
io reads and writes to physical memory and ports.
io reads and writes to physical memory and ports.
ip
ip manipulates network addresses, interfaces, routing, and other config.
ip manipulates network addresses, interfaces, routing, and other config.
kill
Kill kills processes.
Kill kills processes.
lddfiles
lddfiles prints the arguments and all .so dependencies of those arguments
lddfiles prints the arguments and all .so dependencies of those arguments
ln
Ln makes links to files.
Ln makes links to files.
lockmsrs
lockmsrs locks important intel MSRs.
lockmsrs locks important intel MSRs.
losetup
losetup sets up and controls loop devices.
losetup sets up and controls loop devices.
ls
ls prints the contents of a directory.
ls prints the contents of a directory.
lsdrivers
lsdrivers lists driver usage on Linux systems
lsdrivers lists driver usage on Linux systems
lsmod
lsmod list currently loaded Linux kernel modules.
lsmod list currently loaded Linux kernel modules.
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.
md5sum
md5sum prints an md5 hash generated from file contents.
md5sum prints an md5 hash generated from file contents.
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)
Mktemp makes a temporary file (or directory)
more
More pages through files without any terminal trickery.
More pages through files without any terminal trickery.
mount
mount mounts a filesystem at the specified path.
mount mounts a filesystem at the specified path.
msr
msr -- read and write MSRs with regular command or Forth
msr -- read and write MSRs with regular command or Forth
mv
mv renames files and directories.
mv renames files and directories.
netcat
netcat creates arbitrary TCP and UDP connections and listens and sends arbitrary data.
netcat creates arbitrary TCP and UDP connections and listens and sends arbitrary data.
nohup
nohup – invoke a utility immune to hangups.
nohup – invoke a utility immune to hangups.
ntpdate
ntpdate uses NTP to adjust the system clock.
ntpdate uses NTP to adjust the system clock.
pci
pci: show pci bus vendor ids and other info
pci: show pci bus vendor ids and other info
ping
Send icmp packets to a server to test network connectivity.
Send icmp packets to a server to test network connectivity.
poweroff
poweroff turns the system off, without delay.
poweroff turns the system off, without delay.
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
Remove a module from the Linux kernel
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
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
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 at a specified time, or immediately.
shutdown halts, suspends, or reboots at a specified time, or immediately.
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 syscall & signal tracer.
strace is a simple multi-process syscall & signal 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.
time
Time process execution.
Time process execution.
tr
true
Returns 0.
Returns 0.
truncate
Truncate - shrink or extend the size of a file to the specified size
Truncate - shrink or extend the size of a file to the specified size
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.
unmount
Unmount unmounts new from old, or everything mounted on old if new is omitted.
Unmount unmounts new from old, or everything mounted on old if new is omitted.
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:
Get the time the machine has been up Synopsis:
watchdog
watchdog interacts with /dev/watchdog.
watchdog interacts with /dev/watchdog.
watchdogd
watchdogd is a background daemon for petting the watchdog.
watchdogd is a background daemon for petting the watchdog.
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
acpicat
acpicat cats ACPI tables from the kernel.
acpicat cats ACPI tables from the kernel.
acpigrep
grep a stream of ACPI tables by regexp
grep a stream of ACPI tables by regexp
ansi
Print ansi escape sequences.
Print ansi escape sequences.
bootvars
Command bootvars reads the current UEFI boot variables.
Command bootvars reads the current UEFI boot variables.
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.
disk_unlock
The disk_unlock command is used to unlock a disk drive with a HSS-derived password, and rescan the drive to enumerate the unlocked partitions.
The disk_unlock command is used to unlock a disk drive with a HSS-derived password, and rescan the drive to enumerate the unlocked partitions.
dumpebda
dumpebda reads and prints the Extended BIOS Data Area.
dumpebda reads and prints the Extended BIOS Data Area.
dumpmemmap
Command dumpmemmap prints different kernel interpretations of physical memory address space.
Command dumpmemmap prints different kernel interpretations of physical memory address space.
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
address.go - contains methods for FileBuffer for line address resolution
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!
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!
hdparm
hdparm performs control operations on disks.
hdparm performs control operations on disks.
ipmidump
Synopsis:
Synopsis:
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
modprobe - Add and remove modules from the Linux Kernel
nvme_unlock
The nvme_unlock command is used to unlock a NVMe drive with a HSS-derived password, and rescan the drive to enumerate the unlocked partitions.
The nvme_unlock command is used to unlock a NVMe drive with a HSS-derived password, and rescan the drive to enumerate the unlocked partitions.
page
Synopsis:
Synopsis:
partprobe
partprobe prompts the OS to re-read partition tables.
partprobe prompts the OS to re-read partition tables.
pox
pox packages dynamic executable into an archive.
pox packages dynamic executable into an archive.
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.
readelf
Dump the headers of an ELF file, from stdin or a set of files
Dump the headers of an ELF file, from stdin or a set of files
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
our first builtin: cd
smbios_transfer
smbios_transfer sends SMBIOS tables to BMC through IPMI blob interfaces.
smbios_transfer sends SMBIOS tables to BMC through IPMI blob interfaces.
smn
smn: read or write registers in the System Management Network on AMD cpus
smn: read or write registers in the System Management Network on AMD cpus
srvfiles
Serve files on the network.
Serve files on the network.
ssh
SSH client.
SSH client.
syscallfilter
syscallfilter runs a command with a possibly empty set of filters:
syscallfilter runs a command with a possibly empty set of filters:
tac
tac concatenates files and prints to stdout in reverse order, file by file
tac concatenates files and prints to stdout in reverse order, file by file
tcz
watch
watch periodically executes the executable specified in argument.
watch periodically executes the executable specified in argument.
zbi
zbi dumps the header of a Zircon boot image.
zbi dumps the header of a Zircon boot image.
zimage
zimage dumps the header of a zImage.
zimage dumps the header of a zImage.
fwtools
flash
flash reads and writes to a flash chip.
flash reads and writes to a flash chip.
spidev
spidev communicates with the Linux spidev driver.
spidev communicates with the Linux spidev driver.

Jump to

Keyboard shortcuts

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