docs
  • Overview
  • 🐍 PYTHON
    • Type Hints
    • PEP8 Style Guide for Python Code
    • 🏡Pipenv
    • Pathlib
  • 🕸Django
    • 🗄models
      • 🎯Best Practices
      • 🚦Django Signals
    • ⚙️ settings
    • DRF
      • Serializer
      • Authentication
      • Permissions
      • Viewsets
    • Testing
      • Faker and Factory Boy
    • 🧪Test Coverage
    • 💦Python-Decouple
    • Django Tips:
    • 💾Django ORM Queryset
    • Custom Exceptions
    • Celery
    • Resources
  • Deploy
    • 🚀Django Deployment
    • 🔒Setup SSL Certificate
  • 💾Database
    • MongoDB
  • 🛠️DevOps
    • 🖥Scripting
      • A First Script
      • Loops
      • Test
      • Variables
      • External programs
      • Functions
    • Command Line Shortcuts
    • Basic Linux Commands
    • 🎛Microservices
    • 🐳Docker
      • Docker Commands
      • Docker Compose
      • Django project
    • Kubernates
  • 📝Software IDE
    • EditorConfig
    • Linters
    • VsCode
Powered by GitBook
On this page
  • Commands
  • View File Contents With The Line Numbers:
  • Find files containing specific text:

Was this helpful?

  1. DevOps

Command Line Shortcuts

Simple Command Line Shortcuts To Speed Up Your Workflow.

Commands

These are basic command line commands, but it turns out not everyone knows about them and they're were handy:

  • Ctrl + A : To move the cursor to the beginning of the line

  • Ctrl + E : To move the cursor to the end of the line

  • Ctrl + U : To clear the line from the cursor back to the beginning

  • Ctrl + R : Search in previous commands:

View File Contents With The Line Numbers:

cat -n file.whatever

Find files containing specific text:

grep -Rl --include \*.py 'search_vector' ./
PreviousFunctionsNextBasic Linux Commands

Last updated 4 years ago

Was this helpful?

🛠️