codex-lv2-may-2025

Navigation

1 | 2 | 3 | 4 | Current Level: 5


Nelle’s Pipeline: Organizing Files and Using Tab Completion


Now that she understands files and folders, Nelle starts organizing her data from the lab. She wants everything to be tidy and efficient, including how she navigates it.


Steps

  1. Create a folder for her data Nelle creates a folder called:

    north-pacific-gyre
    

    This helps her remember where the samples came from.

  2. Name files clearly Each file is named using the sample’s unique ID. For example:

    NENE01729A.txt
    NENE01812A.txt
    

    These .txt files are plain text from the assay machine.

  3. List files in the folder To see what’s inside, she runs:

    ls north-pacific-gyre/
    
  4. Use tab completion Instead of typing the full name, Nelle can type part of it and press Tab:

    ls nor  [then press Tab]
    

    This auto-completes to:

    ls north-pacific-gyre/
    
  5. Use tab completion for files too Inside the folder, she tries:

    ls north-pacific-gyre/goo  [then press Tab twice]
    

    This lists:

    goodiff.sh  goostats.sh
    

Notes


Summary: Key Concepts