Skip to content

emka.web.id

writing knowledge, recording civilization

Menu
  • Home
  • Tutorial
  • Search
Menu

Cara Mengaktifkan Bash Completion di Debian 12

Posted on August 15, 2024

Bash completion adalah alat yang sangat berguna untuk menyelesaikan jalur file, perintah, dan lain-lain. Secara default, fitur ini sudah aktif di Ubuntu, tetapi tidak di Debian. Namun, dengan dua langkah sederhana, kita dapat mengaktifkannya di Debian juga.

Langkah 1: Instal bash-completion

Pertama-tama, kita perlu menginstal paket bash-completion menggunakan perintah:

apt install bash-completion

Langkah 2: Tambahkan ke profil Bash

Kita dapat menambahkan fitur ini hanya untuk pengguna tertentu atau secara sistem-wide. Untuk melakukannya, kita perlu menambahkan kode berikut ke dalam file ~/.bash_profile (untuk pengguna tertentu) atau /etc/profile (secara sistem-wide):

if [ -f /etc/bash_completion ]; then
  . /etc/bash_completion
fi

Coba Sekarang!

Untuk membuat fitur ini berfungsi, kita perlu logout dan login kembali. Setelah itu, kita dapat menggunakan bash-completion seperti biasa. Contohnya:

  • Ketik apt-g dan tekan tombol TAB sekali, maka perintah akan diselesaikan menjadi apt-get.
  • Ketik apt dan tekan tombol TAB dua kali, maka akan muncul daftar opsi yang tersedia.
  • Ketik apt-get install apa dan tekan tombol TAB sekali untuk menyelesaikan sejauh mungkin, lalu tekan lagi untuk melihat semua opsi.

Dengan mengaktifkan bash-completion di Debian, kita dapat meningkatkan produktivitas dan mempercepat pekerjaan kita di terminal.

Terbaru

  • systemd Officially Adds Support for Rust Components
  • Rocky Linux Creator Builds a Brand-New “Not Linux” Kernel in 11 Days Using AI
  • Building a local AI agent in Workshop on Ubuntu 26.10
  • Omarchy 4.5 RC: 5 New Apps That Actually Look Useful
  • Worth It! Switching from Fedora KDE to Kubuntu
  • I’m Happy Using ‘Herdr’, The Fastest Growing Devtool written in Rust
  • Testing Goose on Omarchy Linux (App & CLI): The Open-Source Solution for Daily Task Automation
  • GNOME Founder Attacks Omarchy Founder as “Lazy, Racist, Ignorant”
  • Why I Stopped Using Plain Command Line Docker and Use Portainer 3.0 To Make My Home Projects Fun Again
  • Why I Switched to a Proper Firewall Box with OPNSense for My Homelab Stuff
  • Fixing Windows Error 0x80070005 Hyper-V Export Access Denied Error the Right Way
  • Fixing Hyper V Export Errors and Building a Better Virtual Machine Setup (error 0x80070002, 0x80070005)
  • Fixing the Dreaded Windows Audio Service Stuck on Stopping Error
  • Windows SIM Error, Unknown error 0xc1420127
  • How I’m Building a Cat Breeding Management App with Python Qt6 + Microsoft Litebox, in 1 Week
  • Why Windows Keeps Nuking Your GPU Drivers (And How to Take Back Control)
  • Why I Finally Ditched Mainstream Windows Cleaners (And Why I Use ‘Kudu’ Instead)
  • AI Made Everything Faster, Including Bad Decisions
  • Raspberry Pi Desktop Available of PC and Mac, Based on Debian 13
  • Why I Stopped Yelling at My PC When Error; Getting Windows 11 Voice Isolation and Access to Actually Work
  • Berobat Kanker ke Malaysia: Berapa Biayanya dan Apa Saja yang Perlu Disiapkan?
  • Stop Sending Every Prompt to the Biggest AI Model You Can Find
  • Stop Building AI Agents from Scratch: My Pick for the Best Native Windows Setup
  • Jev Is Faster and Cheaper, But I Still Recommend Clef. Here’s Why.
  • Weird XCP-NG Bug or Feature? Enable Maintenance Mode = Host Not Enough Memory
  • Vinix OS: Another OS That Want to Beat Linux, Try it!
  • Trying NVX, An Ultra-Light Micro-VM Sandbox from Microsoft
  • Learning NocoDB from Scratch: Creating a Simple Greenhouse App
  • How RHEL 10.2 Quietly Turned Into an Absolute Security Beast
  • Grab Videos from Anywhere with ReClip (Can Running Locally)
  • Canonical: Ubuntu coming soon to Snapdragon X2 Series platforms
  • Finally, wolfSSL adds post-quantum algorithms!
  • How to Run Gemma Embedding Models Using Docker
  • Deploy Nginx Rootful Container with Podman
  • How to Sandboxing Browser on Linux Desktop with Flatpak
  • Building Long-Running AI Agents with Pi Durable: An AI SRE Agent Example
  • Prompt AI: Impressionist Portrait Art of a Woman
  • Prompt AI: Stylish Man Walking Double Exposure Photo
  • Trying Nemotron 3.5 Super VL: NVIDIA’s Open Multimodal Model Built for Agents That Actually See and Act
  • Pruna AI Release their Qwen-Image 2.1 LoRA Adapter, 6x Faster than Regular Qwen
  • Messi vs Ronaldo rebutan gelar Ballon d’Or of All Time, siapa yang paling jago menurut fans?
  • Ini Dia QR Link Dana Kaget 400K, 27 Oktober 2026
  • Fresh! Ini Biodata dan Fakta Unik dari Member No Na
  • Inilah Rekomendasi 10 Drama Jepang Wajib Tonton November 2026
  • Banyak yang cari link nonton gratis Adili Idola Andre Taulany, padahal sistemnya bayar per tayangan

©2026 emka.web.id | Design: Newspaperly WordPress Theme