From 94b844d037617843d0af47286e292987a0f3f813 Mon Sep 17 00:00:00 2001 From: chadmcrowell Date: Thu, 9 Mar 2023 10:31:30 -0600 Subject: [PATCH] added command for getting chip arch --- linux-docker-fundamentals/linux_cheatsheet.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-docker-fundamentals/linux_cheatsheet.sh b/linux-docker-fundamentals/linux_cheatsheet.sh index 5f53fad..5aa056d 100644 --- a/linux-docker-fundamentals/linux_cheatsheet.sh +++ b/linux-docker-fundamentals/linux_cheatsheet.sh @@ -59,6 +59,8 @@ nice # Starts a process with a given priority renice # Changes priority of an already running process df # Gives free hard disk space on your system free # Gives free RAM on your system +dpkg --print-architecture # output the primary architecture of Debian and derivatives +rpm --eval '%{_arch}' # output the primary architecture on RPM-based systems ########## VIM EDITOR ######################