Show environment variables

Display all environment variables sorted alphabetically

printenv | sort

tool
linux133 commands
tags
linuxenvshell

More linux commands

  • iostat -xz 1

    Show extended disk I/O statistics updated every second

  • pstree -p

    Display process hierarchy with PIDs

  • sysctl -w net.core.somaxconn=65535

    Increase the maximum connection backlog for sockets

  • lscpu

    Display CPU architecture and core count information

  • find / -type f -size +100M -exec ls -lh {} \; 2>/dev/null | sort -k5 -rh | head -20

    Find files larger than 100MB sorted by size

all 133 linux commands