Page 2 of 4
Re: List of your linux commands Apps
Posted: 2019-02-23 20:37
by Head_on_a_Stick
dnssec-trigger
https://packages.debian.org/stretch/dnssec-trigger
This package installs
unbound and enables DNSSEC automatically along with a systray icon to show the status and allow configuration.
Given the recent assaults on the Internet's DNS protocols[1], this is an extremely useful package.
[1]
https://www.icann.org/news/announcement-2019-02-15-en
Re: List of your linux commands Apps
Posted: 2019-03-17 16:48
by bester69
>> GREAT APPLICATION
mps-youtube
Based on mps, a terminal based program to search, stream and download music. Uses YouTube as a source of content and can play and download video as well as audio.
https://github.com/mps-youtube/mps-youtube
Features
Search and play audio/video from YouTube
Search tracks of albums by album title
Search and import YouTube playlists
Create and save local playlists
Download audio/video
Convert to mp3 & other formats (requires ffmpeg or avconv)
View video comments
Works with Python 3.x
Works with Windows, Linux and Mac OS X
Requires mplayer or mpv
Re: List of your linux commands Apps
Posted: 2019-03-26 02:13
by bester69
tizonia
A command-line streaming music client/server for Linux.
- Support for Spotify (Premium),
- Google Play Music (free and paid tiers),
-
YouTube, SoundCloud,
- Dirble, Plex servers and Chromecast devices.
http://tizonia.org
Re: List of your linux commands Apps
Posted: 2019-04-22 02:50
by bester69
tmsu
TMSU is a
tool for tagging your files. It provides a simple command-line tool for applying tags
and a virtual filesystem so that you can get a tag-based view of your files from within any other program.
https://tmsu.org
https://github.com/oniony/TMSU
Examples.:
tmsu files mp3 and not music
tmsu files "dogs not (cats or rats)"
Install and configure go
wget
https://storage.googleapis.com/golang/g ... d64.tar.gz
tar xvf go1.8.3.linux-amd64.tar.gz
mv go /usr/local
Install TMSU
git clone
https://github.com/oniony/TMSU.git
cd TMSU
export GOROOT=/usr/local/go
export GOPATH=$HOME/your-username/TMSU
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
go get -u github.com/mattn/go-sqlite3
go get -u golang.org/x/crypto/blake2b
go get -u github.com/hanwen/go-fuse/fuse
make
make install
Re: List of your linux commands Apps
Posted: 2019-04-28 01:20
by bester69
playerctl
Playerctl is a command-line utility for
controlling media players that implement the MPRIS D-Bus Interface Specification.
mpris command-line
controller and library for
spotify, vlc, audacious, smplayer, qmplay2, and others.
>> Playerctl makes it easy to bind player actions, such as play and pause, to media keys.
https://github.com/acrisci/playerctl
Examples.:
# Command the first instance of VLC to play
playerctl --player=vlc play
# Command to Toggle vídeo
playerctl --player=smplayer play-pause
# Command all players to stop
playerctl --all-players stop
# Command VLC to go to the next track if it's running. If it's not, send the # command to Spotify.
playerctl --player=vlc,spotify next
# Get the status of the player
playerctl --player=smplayer status
Example and use of playerctl within a toggle script for managing several players.:
togglempd.sh
Code: Select all
#!/bin/bash
#
export MPD_HOST=192.168.1.128
PID=$(pgrep "headset")
if [ -z "$PID" ]
then
echo "Toggle mpc"
else
echo "Toggle HeadSet"
if [ "$(playerctl --player=headset status)" == "Stopped" ]
then
echo "nada"
else
mpc pause
playerctl --player=headset play-pause
exit
fi
fi
PID=$(pgrep "QMPlay2")
if [ -z "$PID" ]
then
echo "Toggle mpc"
else
echo "Toggle QMPlay2"
mpc pause
playerctl --player=QMPlay2 play-pause
exit
fi
mpd &
mpc toggle &
exit
Re: List of your linux commands Apps
Posted: 2019-04-29 13:51
by None1975
MPC. What is it? It is a minimalist command line interface to MPD. I have been using it for a long time and realized that I don't need anything else.
Re: List of your linux commands Apps
Posted: 2019-04-29 16:24
by RU55EL
Re: List of your linux commands Apps
Posted: 2019-04-29 18:12
by Head_on_a_Stick
fizsh: Friendly Interactive ZSHell
https://packages.debian.org/stretch/fizsh
Fizsh is a frontend to Zsh. It provides the user with interactive syntax highlighting and a Matlab-like history search facility. At the same time it can handle Bourne syntax.
So it acts like
fish but it's really zsh with fancy clothes.
Another similar alternative would be grml's zsh configuration, which is ****ing lovely:
https://grml.org/zsh/
But don't bother with oh-my-zsh, it's a pile of garbage
Re: List of your linux commands Apps
Posted: 2019-04-30 13:51
by None1975
Head_on_a_Stick wrote:fizsh: Friendly Interactive ZSHell
I didn't even know that it existed. Thank you for the link.
But don't bother with oh-my-zsh, it's a pile of garbage
I agree with you.
Re: List of your linux commands Apps
Posted: 2019-05-19 20:03
by bester69
trans (Google Translate)
Command-line translator using
Google Translate, Bing Translator, Yandex.Translate, etc.
echo "hello world, my first translation" > popo.txt
trans :de file:///home/user/popo.txt
Hallo Welt, meine erste Übersetzung
sudo apt-get install translate-shell
https://www.soimort.org/translate-shell ... y-examples
https://github.com/soimort/translate-shell
--------------------------------------
ocr2txt <<lang. translation>>
Script for Capturing screen square section to OCR gnome-text-editor tab.
Very usefull to capture text from VideoTutorials.:
Dependencies: tesseract-ocr imagemagick google-trans
Code: Select all
#!/bin/bash
# Dependencies: tesseract-ocr imagemagick google-trans
if [ -z "$1" ]
then
translate="no"
else
to_lang="$1"
translate="yes"
fi
SCR_IMG=`mktemp`
#trap "rm $SCR_IMG*" EXIT
xdotool windowminimize $(xdotool getactivewindow)
gnome-screenshot -a -f $SCR_IMG.png
# increase quality with option -q from default 75 to 100
# Typo "$SCR_IMG.png000" does not continue with same name.
mogrify -modulate 100,0 -resize 400% $SCR_IMG.png
#should increase detection rate
tesseract $SCR_IMG.png $SCR_IMG &> /dev/null
if [ $translate = "yes" ]
then
trans :$to_lang file://$SCR_IMG.txt -o $SCR_IMG.translate.txt
gnome-text-editor $SCR_IMG.translate.txt &
else
gnome-text-editor $SCR_IMG.txt &
fi
exit
Re: List of your linux commands Apps
Posted: 2019-05-28 13:07
by None1975
GOvatar.
What it is?
It is an avatar generation library writen in GO.
To install the library and command line program, use the following:
Code: Select all
$ go get -u github.com/o1egl/govatar/...
Also available as binary packages for Mac, Linux and Windows.
Details
here.
Re: List of your linux commands Apps
Posted: 2019-09-12 20:44
by bester69
vnstat
vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s) but is not a packet sniffer. The traffic information is analyzed from the proc filesystem. That way vnStat can be used even without root permissions.
https://en.wikipedia.org/wiki/VnStat
https://www.howtoforge.com/tutorial/vns ... ng-ubuntu/
~$ vnstat --help
vnStat 1.15 by Teemu Toivola <tst at iki dot fi>
-q, --query query database
-h, --hours show hours
-d, --days show days
-m, --months show months
-w, --weeks show weeks
-t, --top10 show top 10 days
-s, --short use short output
-u, --update update database
-i, --iface select interface (default: eth0)
-?, --help short help
-v, --version show version
-tr, --traffic calculate traffic
-ru, --rateunit swap configured rate unit
-l, --live show transfer rate in real time
vnstati
vnStati is used to produce graphical images representing the network traffic as graphs. It takes the required information to create graphs from vnStat and stores it in the specified location.
Re: List of your linux commands Apps
Posted: 2019-10-02 23:14
by bester69
CleanBrowsing (excellent dns filter)
https://cleanbrowsing.org/filters#family
dnsClean.sh
Code: Select all
#!/bin/sh
#
sudo chattr -i /etc/resolv.conf
sudo rm /etc/resolv.conf
#CleanBrowsind (proxy +vpn `+ adult)
echo "nameserver 185.228.168.168" | sudo tee /etc/resolv.conf
echo "nameserver 185.228.169.168" | sudo tee -a /etc/resolv.conf
nmcli con mod "NETGEAR03 1" ipv4.dns "185.228.168.168 185.228.169.168"
sudo /etc/init.d/nscd restart
sleep 1
sudo chattr +i /etc/resolv.conf
Porn Filters Compared: OpenDNS, Neustar, CleanBrowsing, Norton, Yandex and AdGuard
https://hackernoon.com/porn-filters-com ... 1f207062c4
Out of the 88 porn domains, I expected all of them to be blocked.
Only CleanBrowsing blocked them all, with Norton SafeConnect very close in second place by missing 5 domains:
CleanBrowsing: 100% blocked
Norton: 94% blocked (83 blocked, 5 not blocked)
Yandex: 93% blocked (82 blocked, 6 not blocked)
OpenDNS: 89% blocked (79 blocked, 9 not blocked)
Neustar: 81% blocked (72 blocked, 16 not blocked)
Testing free proxies
There are many easy to use free proxies that should be blocked when you are filtering access to pornographic content. When testing the top 10 free proxy domains,
only OpenDNS and CleanBrowsing blocked all of them.
Re: List of your linux commands Apps
Posted: 2019-10-06 16:58
by L_V
zsh-syntax-highlighting
For
zsh shell users who prefer to stick to a limited common shell list (sh, dash, bash, zsh),
command syntax highlighting (
same as fizsh) can be enabled in zsh by installing
zsh-syntax-highlighting Debian package.
Zsh Syntax Highlighting demo:
http://www.youtube.com/watch?v=xPc5hghjpyI
Simply add this code to the end of ~/.zshrc
Code: Select all
# zsh-syntax-highlighting
if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
. /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
more for zsh:
Re: List of your linux commands Apps
Posted: 2019-10-27 18:56
by bester69
fuse-zip
https://linux.die.net/man/1/fuse-zip
fuse-zip is a fuse filesystem, that enables any program to work with a ZIP archive as though it is a plain directory. Unlike KIO or Gnome VFS, it can be used in any application without modifications.
Unlike other FUSE filesystems, only fuse-zip provides write support to ZIP archives.
Also, fuse-zip is faster that all known implementations on large archives with many files.
USAGE
General usage would look like this
1 mkdir /tmp/zipArchive
2 fuse-zip foobar.zip /tmp/zipArchive
3 (do something with the mounted file system)
4 fusermount -u /tmp/zipArchive
Be patient. Wait for fuse-zip process finish after unmounting, especially on a big
archives.
Very usefull to safe disk space by launching app without deploying it
Example.:
cutvid.sh
Code: Select all
#!/bin/bash
#
pathLosscut="/tmp/LosslessCut-linux-x64"
fusermount -u "$pathLosscut"
mkdir -p "$pathLosscut"
fuse-zip -r -o nonempty /home/user/LINUXDEBS/progs/LosslessCut-linux-x64.zip "$pathLosscut/"
cd "$pathLosscut/LosslessCut-linux-x64"
./LosslessCut &
Re: List of your linux commands Apps
Posted: 2019-10-28 12:36
by bester69
pdfposter
Pdfposter can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size.
https://pdfposter.readthedocs.io/en/stable/Usage.html
https://pdfposter.readthedocs.io/en/sta ... mples.html
Examples.:
pdfposter -mA3 -pA0 a4.pdf out.pdf:
Prints an A4 input file on 8 A3 pages, forming an A0 poster.
pdfposter -p3x3Let a4.pdf out.pdf:
Prints an inputfile on a poster of 3x3 Letter pages.
pdfposter -mA0 input.pdf out.pdf:
Enlarges an inputfile to print on a large-media A0 capable device.
pdfposter -s4 input.pdf out.pdf:
Enlarge an inputfile exactly 4 times, print on the default A4 media, and let pdfposter determine the number of pages required.
pdfposter -m10x10cm -pa0 a4.pdf out.pdf:
Just to show how efficient pdfposter is: This will create a file containing 192 pages, but only 15 times as big as the single page. With a4.pdf being a quite empty page, this ratio should be even better for filled pages.
Re: List of your linux commands Apps
Posted: 2019-10-28 13:05
by Deb-fan
ALL OF EM ...
One cool one I'd found not long ago came to mind when read this threads title, it's called ncdu. ie: Try "ncdu /var/log" think it's cool. Haven't really gotten around to learning or using it much.
Re: List of your linux commands Apps
Posted: 2019-10-28 15:49
by Cyborg
I quite like tldr (sudo apt install tldr). It gives you a summary of the man page of most commands, with some typical examples.
Keep it up-to-date by running tldr --update
Re: List of your linux commands Apps
Posted: 2019-10-28 16:29
by wizard10000
Deb-fan wrote:ALL OF EM ...
One cool one I'd found not long ago came to mind when read this threads title, it's called ncdu. ie: Try "ncdu /var/log" think it's cool. Haven't really gotten around to learning or using it much.
ncdu has been my go-to for awhile. There really isn't much to learn and it's pretty darn handy
Re: List of your linux commands Apps
Posted: 2019-10-28 17:33
by Head_on_a_Stick