Skip to content

Commit 3b41c30

Browse files
committed
address ls argument and output issues
1 parent 1c7f686 commit 3b41c30

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_episodes/13-scheduler.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ to tell Bash exactly where to look. To run a script that we wrote ourselves, we
155155
need to tell Bash where it is explicitly, so it doesn't go searching. We could
156156
do this one of two ways: either with the absolute path
157157
`{{ site.workshop_host_homedir }}/yourUserName/example-job.sh` (equivalently,
158-
`~/example-job.sh`), or with the relative path `./example-job.sh`.
158+
`~/example-job.sh`), or with the relative path `./example-job.sh`
159+
(where "." stands for "the current working directory").
159160

160161
```
161162
$ ./example-job.sh
@@ -168,10 +169,11 @@ bash: ./example-job.sh: Permission denied
168169
{: .error}
169170

170171
There's one last thing we need to do. Before a file can be run, it needs
171-
"permission" to execute. Let's look at our file's permissions with `ls -l`:
172+
"permission" to execute. Let's look at the permissions for every file in this
173+
directory using the "long" format option with `ls`:
172174

173175
```
174-
$ ls -l *.sh
176+
$ ls -l
175177
```
176178
{: .language-bash}
177179

@@ -182,7 +184,6 @@ $ ls -l *.sh
182184
```
183185
{: .output}
184186

185-
That's a huge amount of output: a full listing of everything in the directory.
186187
Let's see if we can understand **what each field of a given row represents**,
187188
working left to right.
188189

0 commit comments

Comments
 (0)