当前位置: 首页 > news >正文

zsh is the default shell on kali linux

 

Yes, that is correct. **Zsh (Z shell)** became the default interactive shell for **Kali Linux** starting with the **2020.4** release.

Before that change, Kali followed the long-standing tradition of using **Bash** (Bourne Again Shell) as the default.

---

### Why the switch?

The Kali team moved to Zsh for several practical reasons that make it feel a bit more "modern" and user-friendly for penetration testing:

* **Advanced Auto-completion:** Zsh can "tab-complete" almost anything—commands, options, file paths, and even remote SSH hosts—often with a helpful menu you can navigate with arrow keys.
* **Theming & Customization:** It allows for highly informative prompts. By default, Kali uses a customized theme that provides visual cues about your current directory and command status.
* **Plugin Ecosystem:** Through frameworks like **Oh My Zsh**, users can easily add plugins for tools like `git`, `docker`, or specific security tools.
* **Shared History:** You can configure Zsh so that all open terminal windows share the same command history in real-time.

### How to check or change it

If you are on an older installation or just prefer the classic feel, you can easily manage your shell environment:

| Action | Command |
| --- | --- |
| **Check current shell** | `echo $SHELL` |
| **Switch to Bash (temporary)** | `bash` |
| **Switch to Bash (permanent)** | `chsh -s /bin/bash` |
| **Switch to Zsh (permanent)** | `chsh -s /bin/zsh` |

> **Note:** Even though Zsh is the default for *interactive* use (what you see when you open a terminal), most system scripts in Kali still use `#!/bin/sh` or `#!/bin/bash` to ensure maximum compatibility.

 

http://www.jsqmd.com/news/812663/

相关文章:

  • 期刊论文屡投屡退?虎贲等考 AI:真文献 + 实证图表 + 期刊规范,让投稿一次就中
  • 羽毛球网前封网、正反手搓球一定要学会,你就能制霸前场!
  • 别再死记PCA步骤了!用Python手推一遍协方差矩阵与特征值,真正搞懂降维本质
  • 零碳园区的能源供给成本主要包括哪些方面?
  • Ozon卖家工具怎么选?一张决策表帮你理清思路
  • 5分钟快速掌握:Sonar CNES Report代码质量报告生成终极指南
  • 2026年5月更新:舟山熏蒸托盘优质厂家盘点,鸿易源包装深度解析 - 2026年企业推荐榜
  • Arm Cortex-R82 SystemC周期模型开发实践指南
  • 极简静态个人网站构建指南:从HTML/CSS到GitHub Pages部署
  • Google Meet实时字幕为何不触发Gemini摘要?端到端WebRTC信令链路解析(含Chrome DevTools调试速查表)
  • 纳米抗体表达纯化一站式服务,高纯度抗体交付,加速您的科研进程
  • 车间转运车技术选型全解析:电动四轮运输平板车、电动四轮送餐车、电动平板搬运车、电动平板车搬运车、电动拉货平板车选择指南 - 优质品牌商家
  • Python操控Photoshop的终极指南:如何用代码实现高效图像处理自动化
  • Photo Sphere Viewer从入门到放弃?手把手教你解决本地图片CORS报错和自定义导航栏
  • 终于蹲到了!“能读一半就是赚到”的《编码》精装版来了
  • 2026年新余公寓装修TOP5推荐:新余半包家装/新余家装/新余新房装修/新余本地装修/新余毛坯房装修/新余精装房改造/选择指南 - 优质品牌商家
  • 别再死记硬背了!用PyTorch和TensorFlow动手实现池化层,5分钟搞懂Max Pooling和Average Pooling的区别
  • 课程论文高效突围:虎贲等考 AI,让结课论文一次达标、轻松拿高分
  • ARM7TDMI与AHB总线协议转换技术解析
  • 西安名酒回收出价实测:西安老酒回收/西安茅台酒回收/西安东冬虫夏草回收/西安五粮液回收/西安剑南春回收/西安名酒回收/选择指南 - 优质品牌商家
  • 从启动3秒到0.5秒!鸿蒙App性能优化4板斧:启动速度、内存、渲染、网络全链路优化
  • 解析高端就业核心内涵及合规服务选择逻辑:出国务工正规劳务公司/出国劳务出国务工/出国劳务哪里工资高/劳务输出公司出国务工/选择指南 - 优质品牌商家
  • 电压感知DRC技术在芯片设计中的关键应用
  • 企业级AI助手框架:私有化部署、工具调用与RAG实战指南
  • 从电钻到电火花:全面解析打孔技术原理、工具选择与实战技巧
  • 别再手动画图了!用Python ASE + Matplotlib一键生成高质量材料结构图(附完整代码)
  • 问卷设计对比实测:手工瞎编 vs 通用 AI vs 学术 AI,虎贲等考 AI 凭合规实证直接胜出
  • Python异步编程中的异常处理与资源管理实践
  • HGO-YOLO:轻量级实时异常行为检测算法解析
  • 成都及川内亚克力发光字厂家权威实测排行:门头发光字制作、门头招牌广告制作、商场发光字制作、大型发光字制作、广告喷绘制作选择指南 - 优质品牌商家