Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

check ubuntu or centos

cat /etc/os-release
lsb_release -a
hostnamectl
Comment

how to check linux is ubuntu or centos

awk -F= '/^NAME/{print $2}' /etc/os-release
Comment

PREVIOUS NEXT
Code Example
Shell :: force remove directory windows 
Shell :: assign default value in shell script 
Shell :: No matching distribution found for PyJWT==2.0.1 
Shell :: npm cache clean vs clear 
Shell :: portainer instal 
Shell :: gnome alt tab do not show other workspace 
Shell :: find file with text in the file recursively 
Shell :: list of running ports linux 
Shell :: install xcode tools using brew 
Shell :: git cambiar pull https por ssh 
Shell :: install mosquitto ubuntu 
Shell :: flutter linux cmake error 
Shell :: install gnome sushi 
Shell :: conda install pytorch lightning 
Shell :: a script that runs a C file through the preprocessor and save the result into another file 
Shell :: Please remove any global installs with one of the following commands: 
Shell :: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! 
Shell :: how to see remote branch git 
Shell :: sudo apt install net tools 
Shell :: amend last commit message 
Shell :: conda install keras gpu 
Shell :: ag ignore node_modules 
Shell :: git list remotes 
Shell :: install three.js 
Shell :: responsive grid system angular 
Shell :: avoid github credentials 
Shell :: how to remove software from ubuntu 
Shell :: create new branch from origin 
Shell :: unzip tar.gz 
Shell :: windows make 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =