ls Verified current stable Not installed? Filesystem

Ls / List Site Wide Script Library

List Site Wide Script Library

Use the 'ls' command to view all OpenOCD scripts in the specified directory.

$
Terminal
ls /usr/local/share/openocd/scripts

When To Use

You need to view available OpenOCD scripts in the local directory.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
script1.tcl
script2.tcl
script3.tcl

Command Breakdown

What each part is doing

ls
Base Command
The executable that performs this operation. Here it runs Ls before the shell applies any redirect operators.

How To Run

Execution path

  1. Step 1

    Open your terminal.

  2. Step 2

    Run the command: ls /usr/local/share/openocd/scripts

  3. Step 3

    Review the listed script files.

Alternative Approaches

Comparable commands in other tools

Alternative filesystem tools for the same job.