Tagged: linux

1

How to completely uninstall docker from ubuntu

If you need a fresh start and completely uninstall docker, just run the following commands[source]. sudo apt-get purge docker-engine sudo apt-get autoremove –purge docker-engine rm -rf /var/lib/docker # This deletes all images, containers, and...

0

vlc – does not support hvec files

If you are getting the following error, then you need to install libed265 to run the HVEC files with VLC. VLC can not play HVEC files. To install it run the following commands in...

0

grep for a word in all files in linux

The following command will search for the string “hello” in the content of all the files within all subfolders of the specified path grep -r “hello” /path/to/search/

0

How to create a permanent “alias”?

Follow three simple steps to create alias for your command line. cd ls -la vi .bashrc Append your favorite alias at the bottom of the file. Below are some of my favorite aliases. #...

0

[: !=: unary operator expected

In bash, always use the double bracket conditional command [[ … ]] For example, #!/bin/bash sex=male if [[ $sex == ‘male’ ]];then echo “sex is male.” elif [[ $sex == ‘female’ ]];then echo “sex...