Project

General

Profile

backdrop regarding tx_list

Added by Kaarthikeyan R almost 4 years ago

/bin/ls -1d data/dims*/TSX-1.*/TSX1* > TX_list

What does the above code mean and how does it function. Can anyone tell basic idea behind this


Replies (1)

backdrop regarding tx_list - Added by Charles Werner almost 4 years ago

Hello,
this creates a single column list of filenames that meet the criteria. The *
characters are wildcards and this means that * represents any set of characters.
The bash shell uses a matching algorithm called "globbing" to find file or
directory names. Read up on globbing:

https://linuxhint.com/bash_globbing_tutorial/

    (1-1/1)