linux
Last updated
Was this helpful?
Last updated
Was this helpful?
For instance, for python3:
$ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
$ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2
Selecting from alternatives:
$ sudo update-alternatives --config python3
Creating: $ ln -s FILE LINK
To get the linux release details: $ lsb_release -a
Kernel, network and machine main info $ uname -a
List cpu info $ lscpu
Memory $ free
or $ cat /proc/meminfo
Usb controllers info $ lsusb
File system info $ sudo fdisk -l
To format the volume
$ sudo dd bs=4M if=/dev/zero of=/dev/device oflag=sync status=progress
To copy an image to the volume
$ sudo dd bs=4M if=/path/file.img of=/dev/device oflag=sync status=progress