Linux learning

Create an environment variable: INFRACLASS_REGION=VALUE

Create a sub folder: mkdir XYZ

Create a file: touch FILE or touch folder/FILE

Append the value to file: echo INFRACLASS_REGION=$INFRACLASS_REGION >> ~/infraclass/config

Some commands:

- free : about memory

- sudo dmidecode -t 17 : installed RAM

- nproc : nb of processors

- lscpu : details about CPU installed

 

Copie
Back to posts