Skip to content

Instantly share code, notes, and snippets.

@loneshark99
Last active December 26, 2021 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loneshark99/ff9f9b85ea045389778ed087e16f4725 to your computer and use it in GitHub Desktop.
Save loneshark99/ff9f9b85ea045389778ed087e16f4725 to your computer and use it in GitHub Desktop.
Linux Commands I use...

View the wifi networks (Network Manager Command Line Interface - nmcli)

nmcli device wifi

View the Network Status

nmcli device show

Connect to a particular Wireless network

nmcli device wifi connect {% Replace SSID Name %}

GitHub CLI, this is very useful command line tool

gh gist list

For my blog I use github pages and to build the site using Jekyll I use the following docker images which comes preinstalled with Jekyll and other ruby gems.

docker run --rm \
  --volume="$PWD:/srv/jekyll" \
  -it jekyll/jekyll:$JEKYLL_VERSION \
  jekyll build

To add a folder to the PATH environment variable, add the following to the .bashrc file. You will need to source the .bashrc file if using the command terminal without closing, so that the changes can be applied.

export PATH="/your path:$PATH"

For my blog I sometimes need to convert .mkv file to .mp4

ffmpeg -i InputFile.mkv -codec copy OutputFile.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment