Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8783875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:56:22+00:00 2026-06-13T20:56:22+00:00

To list files I use ls . I know how to list almost (

  • 0

To list files I use ls. I know how to list almost (-A) or all (-a) of them. But when I try to show the hidden files and hide the shown files I’m out of luck with:

ls --hide='*' -A

The behavior that the -A option neutralizes the --hide option is described in the documentation of ls.

So is there another option to ls I could use? The find–xargs–ls combo cannot be the only solution, right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:56:24+00:00Added an answer on June 13, 2026 at 8:56 pm

    Indeed, use:

    ls -A -I'*'
    

    In order to ease my everday command line experience with the bash shell I defined the following aliases building on top of each other:

    alias ls="ls -h --color=auto"
    alias lsa="ls -A"
    alias lsh="lsa -I'*'"
    alias ll="ls -l --time-style=long-iso"
    alias lla="ll -A"
    alias llh="lla -I'*'"
    alias lv="ll -v"
    alias lva="lv -A"
    alias lvh="lva -I'*'"
    alias lt="ll -t"
    alias lta="lt -A"
    alias lth="lta -I'*'"
    alias lr="ll -R"
    alias lra="lr -A"
    alias lrh="lra -I'*'"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed this link to make use of recent files list but statement below
How do I use wildcards in C# to list down files contained in a
to get file which ended in . ,you can do : 1.R list.files(path='/home/test', all.files=TRUE,
I often use the excellent find program in Bash to list files with certain
I want to know the list of files to included while using jquery's round
I am using WinXP. I use java to generate a list of files. The
I'm trying to use PHP's Glob to get a list of files based on
I am using the following recursive method to list all files and folders within
I'm working on a program, which should list all files and it's size(for now...).
I have to use raw data available in .LIST extension files and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.