refugee from lemmy.sdf.org

  • 0 Posts
  • 7 Comments
Joined 7 months ago
cake
Cake day: January 9th, 2026

help-circle
  • Pommesgabel (fries fork)

    I was stationed in [the former West] Germany from 1985-1988. Upon arrival we had a week-long quickstart intro to German culture. One of the lessons taught was srsly, don’t pick up your fries with your fingers!!! I forgot about that until reading your comment. :-)




  • fratermus@piefed.socialtoLinux@lemmy.mlSaved Commands/Scripts
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 months ago

    When you do aliased commands, can they take arguments? Like to download a playlist with yt-dlp, could i do download-playlist [URL]?

    They don’t take arguments in the sense that functions do but in bash at least they are passed on as part of the expanded string. Pasted from bash:

    alias argtest='echo arg is'  
    argtest foo  
    arg is foo  
    

    So yes you could alias your yt-dlp commands and invoke the alias with the URL.