How do relative and absolute paths differ?
A relative path is interpreted from the current directory; an absolute path starts at the filesystem root.
Study Shell Filesystem Basics with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
How do relative and absolute paths differ?
A relative path is interpreted from the current directory; an absolute path starts at the filesystem root.
When should you use cp rather than mv?
cp copies an item and leaves the original in place; mv moves it. mv also renames an item when given a new name in the same directory.
A shell command gives no output. What should you do to verify its result?
Silence alone does not prove the operation worked as intended. Inspect the destination afterward.
Which commands remove an empty directory or a directory and its contents?
Use rmdir for an empty directory. Use rm -R for a directory and its contents; inspect the path carefully because recursive deletion can remove many files.
Which mkdir option creates missing parent directories?
Use mkdir -p to create missing parent directories and avoid an error if the requested directory already exists.
What does rm -i do before removing an item?
The -i option prompts before each removal, giving you a chance to confirm it.
What should you check before using touch on a file?
touch can create an empty file, but it also updates the timestamp of an existing file. Check first if changing that timestamp is unwanted.
How should you investigate “No such file or directory”?
Check spelling, capitalization, the current directory with pwd, and path components with ls. Some filesystems distinguish uppercase and lowercase names.
How do you copy a directory and its contents with cp?
Use cp -R to copy a directory and its contents. Without -R, cp is used to copy files.
What do pwd, ls -a, and ls -l show?
pwd prints the current directory. ls lists items; -a includes hidden names, and -l shows a long listing.
In a Unix-like shell, what do zero and nonzero exit statuses usually indicate?
A zero exit status usually indicates success, while a nonzero status indicates failure. Still inspect the result to confirm the intended effect.
What happens when you run mkdir -p for an existing directory?
The -p option prevents an error if the requested directory already exists and creates any missing parent directories.
Review EMT airway assessment, breathing mechanics, airway management, ventilation support, and priorities for common respiratory emergencies.
Learn how to assess airway and breathing, distinguish ventilation from oxygenation and respiration, provide appropriate support, and recognize common respiratory emergencies.
Review cardiac assessment and emergencies, adult and pediatric CPR, AED use, and special resuscitation priorities for EMTs.
A medium-difficulty quiz on EMT cardiovascular assessment, cardiac emergencies, CPR, AED use, and special resuscitation considerations.
Learn how EMTs assess cardiac emergencies, recognize poor perfusion, and provide prompt care for cardiac arrest and other resuscitation situations.
Review EMT priorities and key recognition and care principles for neurologic, metabolic, respiratory, toxicologic, behavioral, and environmental emergencies.
A medium-difficulty quiz on recognizing and responding to medical emergencies within EMT scope and local protocols.
Learn how EMTs approach medical emergencies, recognize time-sensitive conditions, provide care within their scope and local protocols, and arrange appropriate transport.
A medium-difficulty quiz on practical assessment, treatment, and transport decisions in obstetric, gynecologic, neonatal, and pediatric emergencies.
A medium-difficulty quiz on applying EMT operational principles to scene safety, communication, incident management, patient rights, and coordinated care.
Review EMT exam domains and the priorities, interventions, and responsibilities that guide safe care in common emergency scenarios.
Practice applying EMT scene safety, assessment, intervention, transport, and operational principles to realistic situations.