Process Management
ps
Report process status. Usage:ps [options]
Examples:
- Shell (PID 1) - always running
- Background jobs with their PIDs
- Current command (ps itself)
top
Display system processes interactively. Usage:top
Examples:
- CPU and memory usage
- Running processes
- System uptime
kill
Terminate processes by PID or job ID. Usage:kill [signal] pid...
Signals:
- Default (SIGTERM) - graceful termination
-9(SIGKILL) - force kill-STOP- stop/suspend process-CONT- continue stopped process
Environment
env
Display or set environment variables. Usage:env [name=value...] [command]
Examples:
whoami
Print current user. Usage:whoami
Examples:
hostname
Show or set system hostname. Usage:hostname [name]
Examples:
System Information
uname
Print system information. Usage:uname [options]
Options:
-a- All information-s- System name-r- Kernel release-m- Machine architecture-o- Operating system
uptime
Show system uptime. Usage:uptime
Examples:
free
Display memory usage. Usage:free [options]
Options:
-h- Human-readable format-m- Show in megabytes-g- Show in gigabytes
fastfetch / neofetch
Display system information in a stylized format. Usage:fastfetch or neofetch
Examples:
- OS and kernel information
- CPU and memory specs
- Shell and terminal info
- ASCII art logo
Date and Time
date
Display or set date and time. Usage:date [options] [+format]
Format specifiers:
%Y- Year (4-digit)%m- Month (01-12)%d- Day (01-31)%H- Hour (00-23)%M- Minute (00-59)%S- Second (00-59)%A- Full weekday name%B- Full month name
cal
Display calendar. Usage:cal [month] [year]
Examples:
Utilities
sleep
Delay for specified time. Usage:sleep duration
Duration units:
s- seconds (default)m- minutesh- hours
watch
Execute command periodically. Usage:watch [options] command
Options:
-n seconds- Interval (default: 2)
bc
Calculator for arithmetic operations. Usage:bc [options]
Examples:
which
Locate command binary. Usage:which command...
Examples:
Help and Documentation
man
Display manual pages. Usage:man command
Examples:
help
Display help information. Usage:help [command]
Examples:
JavaScript Runtime
node
Execute JavaScript with Node.js. Usage:node [options] [script] [args...]
Options:
-e code- Evaluate JavaScript code-p code- Evaluate and print result
npm
Node package manager. Usage:npm [command] [args...]
Common commands:
install- Install packagesrun- Run package scripttest- Run testsstart- Start application
Package Management
pkg
Package manager for Lifo. Usage:pkg [command]
Examples:
Cryptography
sha256sum
Compute SHA-256 hash. Usage:sha256sum [file...]
Examples:
Fun Commands
sl
Steam locomotive animation. Usage:sl
Examples:
ls.
Shell Built-ins
lifo
Lifo system command. Usage:lifo [options]
Examples:
logout
Exit the shell. Usage:logout
Examples: