datacarpentry / shell-genomics

Introduction to the Command Line for Genomics
https://datacarpentry.org/shell-genomics
Other
64 stars 188 forks source link

shell-genomics/05-writing-scripts -incorrect output displayed for $ ls -l bad-reads-script.sh #317

Closed Parcelli closed 7 months ago

Parcelli commented 2 years ago

The output displayed is incorrect as seen here; First, let's look at the current permissions.

$ ls -l bad-reads-script.sh {: .bash}

-rw-rw-r-- 1 dcuser dcuser 0 Oct 25 21:46 bad-reads-script.sh

The output should be: -rw-r--r-- 1 dcuser dcuser 0 Oct 25 21:46 bad-reads-script.sh

Parcelli commented 2 years ago

The same issue is seen on the next part: Now let's look at the permissions again.

$ ls -l bad-reads-script.sh {: .bash}

-rwxrwxr-x 1 dcuser dcuser 0 Oct 25 21:46 bad-reads-script.sh {: .output} Instead of the true output which is: -rwxr-xr-x 1 dcuser dcuser 0 Oct 25 21:46 bad-reads-script.sh