Linux Terminal Configuration
Edit bashrc file (~/.bashrc
)
Edit bashrc file (~/.bashrc
)
Convert OGG to MP3
ffmpeg -v 5 -y -i file.m4a -acodec libmp3lame -ac 2 -ab 192k file.mp3
Convert M4A to MP3
ffmpeg -i file.ogg file.mp3
#Or
ffmpeg -i file.{ogg,mp3}
Method 1 : Install and run drush as described in this article
This is the recommended method
Local bin folders
$HOME/.local/bin (~/.local/bin)
$HOME/bin (~/bin)
Add to path manually
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
User specific environment and startup programs
sudo apt install apache2
sudo apt install mysql-server
dd is a basic command une in all linux distributions to copy data. You can also use this feature to test dis performance.
sudo apt-get -y install pptp-linux
Add secret:
File : /etc/ppp/chap-secrets
You can use:sudo nano /etc/ppp/chap-secrets
rsync is a powerfull tool to synchronize the files and directories. Can be use for local or remote using ssh.
Source Tutorial : https://www.thegeekstuff.com/2010/09/rsync-command-examples/
Syntaxrsync options source destination
sudo apt-get install cryptsetup
sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume
/etc/rc.local is depricated on debian 9.
You can try this to add it. (Not tested)
1) Create the file : /etc/systemd/system/rc-local.service
# nano /etc/systemd/system/rc-local.service
2) Copy this text.