linux-notes
Manage notes on Linux via simple markdown files in a notes directory. Create, view, edit, delete, search, and list notes. Use when a user asks FRIDAY to add a note, list notes, search notes, or manage
SKILL.mdskills/linux-notes/SKILL.md
GitHubLinux Notes CLI
Use simple bash commands to manage markdown notes in ~/friday-notes/. This is a Linux alternative to Apple Notes.
Setup
Create the notes directory:
mkdir -p ~/friday-notes
View Notes
List all notes
find ~/friday-notes -name "*.md" -type f -printf "%T@ %p\n" | sort -rn | cut -d' ' -f2- | head -20
View a specific note
cat ~/friday-notes/note-name.md
Search notes (fuzzy)
grep -ril "search query" ~/friday-notes/
Search with context
grep -rin "search query" ~/friday-notes/
Create Notes
Create a new note
cat > ~/friday-notes/$(date +%Y%m%d-%H%M%S)-note-title.md << 'EOF'
# Note Title
Note content goes here...
EOF
Quick note with title
echo "# Quick Note Title" > ~/friday-notes/$(date +%Y%m%d-%H%M%S)-quick-note.md
echo "" >> ~/friday-notes/$(date +%Y%m%d-%H%M%S)-quick-note.md
echo "Note content here" >> ~/friday-notes/$(date +%Y%m%d-%H%M%S)-quick-note.md
Append to existing note
echo "" >> ~/friday-notes/note-name.md
echo "Additional content" >> ~/friday-notes/note-name.md
Edit Notes
Edit with nano (simple)
nano ~/friday-notes/note-name.md
Edit with vim
vim ~/friday-notes/note-name.md
Delete Notes
Delete a specific note
rm ~/friday-notes/note-name.md
Move to trash (safer)
mkdir -p ~/friday-notes/.trash
mv ~/friday-notes/note-name.md ~/friday-notes/.trash/
Organize Notes
Create folders for categories
mkdir -p ~/friday-notes/work
mkdir -p ~/friday-notes/personal
mkdir -p ~/friday-notes/ideas
Move note to folder
mv ~/friday-notes/note-name.md ~/friday-notes/work/
List notes in folder
ls -la ~/friday-notes/work/
Advanced
Count total notes
find ~/friday-notes -name "*.md" -type f | wc -l
Recent notes (last 7 days)
find ~/friday-notes -name "*.md" -type f -mtime -7
Notes containing specific word
grep -l "important" ~/friday-notes/*.md
Notes
- Linux-only (alternative to Apple Notes).
- Notes are stored as markdown files in
~/friday-notes/. - Supports any text editor for editing.
- Easy backup with
cp -r ~/friday-notes ~/backup/.