Shell

Command line.

dhaupin 15ebbb6 621 B Updated

File contents

Shell

Command line.


When To Use

  • Terminal work
  • Scripts
  • DevOps

What To Do

1. Basics

Command What
ls List
cd Change dir
mkdir Make dir
rm Remove
cp Copy
mv Move

2. Pipes

command1 | command2
cat file | grep pattern | sort

3. Scripts

#!/bin/bash
for f in *.txt; do
  echo "$f"
done

4. Permissions

chmod +x script.sh
chmod 755 script.sh

Role: Shell User
Input: Commands
Output: Results

CLI.

dhaupin/vant/tree/main/models/public/skills/vant-skill-shell commit 15ebbb6ef7

Frequently asked questions

npx skillmds@latest add dhaupin/shell