Expand description
Utility commands: uptime, dmesg, echo, env, whoami, grep, setenv, unsetenv
Re-exportsยง
use crate::shell::is_interrupted;๐use crate::shell::ShellError;๐use crate::shell_println;๐use crate::vfs;๐use alloc::string::String;๐pub use audit::cmd_audit;pub use date::cmd_date;pub use dmesg::cmd_dmesg;pub use echo::cmd_echo;pub use env::cmd_env;pub use env::cmd_setenv;pub use env::cmd_unsetenv;pub use env::init_shell_env;pub use env::shell_getenv;pub use env::shell_setenv;pub use env::shell_unsetenv;pub use grep::cmd_grep;pub use ntpdate::cmd_ntpdate;pub use uptime::cmd_uptime;pub use watch::cmd_watch;pub use whoami::cmd_whoami;
Modulesยง
- audit ๐
- date ๐
- dmesg ๐
- echo ๐
- env ๐
- grep ๐
- ntpdate ๐
- uptime ๐
- watch ๐
- whoami ๐
Structsยง
- Kernel
LogBuffer ๐ - Klog
Entry ๐
Constantsยง
- KLOG_
CAPACITY ๐
Staticsยง
- KLOG ๐
Functionsยง
- cmd_
dmesg_ ๐impl - cmd_
echo_ ๐impl - cmd_
grep_ ๐impl - Search for lines matching a pattern in a file or piped input.
- cmd_
uptime_ ๐impl - cmd_
whoami_ ๐impl - klog_
write