Linux command line

1. uname -m
Uname
uname (short for unix name) is a computer program in Unix and Unix-like computer operating systems that prints the name, version and other details about the current machine and the operating system running on it. The uname system call and command appeared for the first time in PWB/UNIX. Both are specified by POSIX.

2. Check running service in Linux

for example check docker.service
//Run this command on Linux systems not using Systemd
$ service docker status
docker start/running, process 29393


//Run this command on Linux systems that are using Systemd
$ systemctl is-active docker
active

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch