Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Caint logo. It's just text.
  1. Home
  2. Uncategorized
  3. TIL you can pass multiple paths to lslike you can do ls -al folder1 folder2 and it'll list the contents of folder1 and then folder2

TIL you can pass multiple paths to lslike you can do ls -al folder1 folder2 and it'll list the contents of folder1 and then folder2

Scheduled Pinned Locked Moved Uncategorized
2 Posts 2 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sammy     [ infrastruktur fuchs ]T This user is from outside of this forum
    Sammy     [ infrastruktur fuchs ]T This user is from outside of this forum
    Sammy [ infrastruktur fuchs ]
    wrote last edited by
    #1

    TIL you can pass multiple paths to ls

    like you can do ls -al folder1 folder2 and it'll list the contents of folder1 and then folder2

    mkjM 1 Reply Last reply
    0
    • Sammy     [ infrastruktur fuchs ]T Sammy [ infrastruktur fuchs ]

      TIL you can pass multiple paths to ls

      like you can do ls -al folder1 folder2 and it'll list the contents of folder1 and then folder2

      mkjM This user is from outside of this forum
      mkjM This user is from outside of this forum
      mkj
      wrote last edited by
      #2

      @theresnotime Want something really neat?

      In a directory which contains subdirectories with files in them, try:

      $ echo */*

      (This works because the *shell* does the wildcard expansion before invoking the command.)

      1 Reply Last reply
      1
      0
      • R ActivityRelay shared this topic
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • All Topics
      • Popular
      • World
      • Users
      • Groups