Collected commands, tips, and tricks for working headless in Ubuntu
to clone a repository: git clone my_git_address Branches list local branches:
Using grep by itself search for “searchtext”, ignoring case, ignoring binary files, recurisvely search, with line numbers, in this folder.
find
command in bashUsing the find command in bash Find all files below the current directory that match “tecmint.
General Commands docker images docker pull docker create docker ps docker attach 3378689f2069 Deleting, cleanup docker run —rm image_name docker system prune docker container prune Ubuntu Image docker pull ubuntu docker run -d -t ubuntu # run detached docker run -it ubuntu /bin/bash docker exec -it /bin/bash apt-get update docker compose run -it web /bin/bash Anaconda Image docker pull continuumio/anaconda3 docker run -it continuumio/anaconda3 /bin/bash Set up gui: https://dev.
Starting/stopping/pausing a VM Now the fun begins. First, you must know the name of the VM you want to run.
Issue: Nautilus hangs when I try to copy large files to a NAS.
modified from this site Installing sudo apt install -y qrencode #encoding tools sudo apt install -y zbar-tools # decoding tools sudo apt install -y qtqr #graphical encoder Terminal Encoding qrencode -o webURL.