package
0.0.0-20240518231550-0c3a5b79d39c
Repository: https://github.com/gotoz/runq.git
Documentation: pkg.go.dev

# Functions

CreateSymlink creates a symbolic link.
DirExists returns whether the given directory exists.
ErrorToRc turns an error value into a Bash like exit code and an error message.
FileExists returns whether the given regular file exists.
Killall sends SIGKILL to all processes except init.
MachineType returns the s390x machine type z13 : 2965 z14 : 3906 z15 : 8561 (T01) or 8562 (T02).
MajorMinor returns major and minor device number for a given dev file.
Mknod creates character or block device files.
RandStr returns a random string [0-9a-f]{n}.
SetSysctl sets a syscontrol.
ToBool returns true for strings that represent a true value.
UserHome returns the home directory for uid or "/" if a home directory can't be found.