sudo add-apt-repository ppa:blaze/rtbth-dkms
sudo apt update
sudo apt install rtbth-dkms
sudo apt install blueman
Reboot.
sudo add-apt-repository ppa:blaze/rtbth-dkms
sudo apt update
sudo apt install rtbth-dkms
sudo apt install blueman
Reboot.
Create user:
sudo adduser username
Ass user to sudo group:
sudo groupadd -aG sudo username
Delete user:
sudo deluser username
find . -maxdepth 1 -type f -name '*.pdf' -exec pdftoppm -jpeg {} {} \;
base64 -w 0 sourcefile.jpg > base64-code-saved-in-textfile.txt
When intalling python library you may run into the following error:
Error: Could not install packages due to an OSError: [Errno 13] Permission denied
Solution: add –user at then end of your command
There are several options at your disposal in the terminal:
$ sudo lsof -i -P -n | grep LISTEN
$ sudo netstat -tulpn | grep LISTEN
$ sudo lsof -i:22 # see a specific port such as 22
$ sudo nmap -sTU -O IP-address-Here
Open a terminal
$ vim ~/.profile
Add this line at the end of the file (press the ‘i’ key of your keyboard in vim to be in insert mode):
export PATH=$PATH:/your/path
Escape the insert mode, then save and quit ( :w and :q).
$ source ~/.profile
Restart your computer.
There are three useful command to find a file from the terminal in a linux system.
$ find /path/ -iname filename
$ locate -i filename
or just
$ locate filename
and you have grep
$ grep -r -i “searchterm” /path/to/search
-r make the search recursive and -i make it case insensitive.
To locate a program:
$ whereis programName