🦲
mind
  • cleber's mind
  • plans
    • fact checking
    • personal assistant
  • self-management
    • agenda and tasks
    • mails and emails
  • knowledge
    • career
    • programming
      • Big O Notation
      • browsing data
      • C/C++
      • databases
      • eclipse
      • gradle
      • java
        • apache camel
      • javascript
      • naming convention
      • mysql
      • prolog
      • regex
      • REST
      • ssl/tls
      • version control
        • git commands
      • web-semantics
      • wot
    • research
      • mas
      • planning
      • math
        • probability
      • machine learning
      • nlp
      • speech recognition
      • data sources
      • data visualisation
    • it
      • asterisk
      • containers
        • installing docker
        • deploying busybox
        • deploying a sample
        • deploying node-red
        • deploying from the hub
      • clusters
        • installing kubernetes
        • deploying bootcamp
        • deploying nginx
        • deploying jacamo-rest
        • grafana
      • deploy
        • heroku
      • linux
        • tmux
        • vim
        • startup
      • networks
      • pdf
        • ssh
    • productivity
    • language
      • expressions
        • nice signposts
        • linking expressions
      • latex
      • scientific
      • writing
    • sailing
    • financial
      • assets
    • emergency
    • out of boxes
  • teaching
    • eletrônica digital
      • Conversão decimal para binário
      • Conversão binário para decimal
      • Sinais analógicos vs digitais
    • programação I
    • cabeamento estruturado
  • moments
    • insightful ai facts
    • ai4industry-hackathon
    • previous activities
  • brasil
  • external links
    • personal webpage
    • my github
Powered by GitBook
On this page
  • Setting alternatives
  • Symbolic links
  • Hardware and software info
  • dd command -convert and copy

Was this helpful?

  1. knowledge
  2. it

linux

PreviousherokuNexttmux

Last updated 1 year ago

Was this helpful?

Setting alternatives

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

Symbolic links

Creating: $ ln -s FILE LINK

Hardware and software info

  • 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

dd command -convert and copy

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

Create user on sudoers and add key on Linux