Hallo,
gibt es eine Möglichkeit eine Ausgabe (Nummerierung) der history als Kurzbefehl zu nutzen.
Beispiel:
tuxracer@kubuntu:~$ history | grep now 131 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 663 yt https://www.ardmediathek.de/video/die-toten-von-marnow/folge-7-mieser-bulle-s01-e07/ndr/Y3JpZDovL25kci5kZS80NzYyXzIwMjItMDItMjQtMjItMDA 802 mpv https://lightning-now70s-samsungnz.amagi.tv/playlist.m3u8 --no-resume-playback --stream-record=now70.ts 1426 mpv https://lightning-now70s-samsungnz.amagi.tv/playlist.m3u8 2179 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2437 mpv http://cfd-v4-service-channel-stitcher-use1-1.prd.pluto.tv/stitch/hls/channel/61d4b38226b8a50007fe03a6/master.m3u8?appName=web&appVersion=unknown&clientTime=0&deviceDNT=0&deviceId=6c2ce917-30d3-11ef-9cf5-e9ddff8ff496&deviceMake=Chrome&deviceModel=web&deviceType=web&deviceVersion=unknown&includeExtendedEvents=false&serverSideAds=false&sid=5b34f49b-bb11-47dd-b65b-7c5074a9925c 2617 mediainfo https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2619 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2639 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2666 history | grep now 2667 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2832 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2845 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 2847 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8 --no-resume-playback --stream-record=now80s.ts 2923 mpv https://lightning-now80s-samsungnz.amagi.tv/playlist.m3u8
Das Ganze soll so funktionieren das ich nur noch zum Beispiel die 1426 eingebe, anstatt den Befehl:
mpv https://lightning-now70s-samsungnz.amagi.tv/playlist.m3u8
jedes Mal zu kopieren. "Irgendeine Zeile" für die .bashrc als alias (?) wäre gut.
Danke
P.S. die 22.04. kommt bei mir demnächst ins /dev/null