shell-genomics icon indicating copy to clipboard operation
shell-genomics copied to clipboard

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

Open Parcelli opened this issue 3 years ago • 1 comments

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 avatar May 31 '22 16:05 Parcelli

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

Parcelli avatar May 31 '22 17:05 Parcelli