在线开发常用命令速查
在固定20条Git、Linux, PowerShell、Docker和npm命令参考中查询,手动更新并复制完整结果。
开始使用
在线开发常用命令速查
检索20条命令参考,分为Git、Linux、PowerShell、Docker和npm五类。不同平台的命令分开列出。搜索用途或命令,检查完整示例,并在执行前查看官方文档。本页从不执行命令;NAME、URL和PATTERN需要替换。可用性和输出取决于已安装版本、目录和权限。
- git
git status
查看工作区状态
git ↗ - git
git log --oneline
查看简洁提交历史
git ↗ - git
git diff
查看未暂存差异
git ↗ - git
git branch -a
查看全部分支
git ↗ - linux
ls -la
显示隐藏文件
ls ↗ - linux
pwd
显示当前目录
pwd ↗ - linux
grep -R -- "PATTERN" .
搜索文本
grep ↗ - linux
curl -I "URL"
发送HTTP请求
curl ↗ - powershell
Get-ChildItem -Force
显示隐藏文件
Get-ChildItem ↗ - powershell
Get-Location
显示当前目录
Get-Location ↗ - powershell
Get-ChildItem -File -Recurse | Select-String -Pattern 'PATTERN'
搜索文本
Get-ChildItem ↗ - powershell
Invoke-WebRequest -Uri "URL" -Method Head
发送HTTP请求
Invoke-WebRequest ↗ - docker
docker ps -a
查看所有容器
docker ↗ - docker
docker images
查看本地镜像
docker ↗ - docker
docker logs -f NAME
持续查看容器日志
docker ↗ - docker
docker compose up -d
后台启动服务
docker ↗ - npm
npm install
安装项目依赖
npm ↗ - npm
npm run dev
启动开发服务器
npm ↗ - npm
npm test
运行测试
npm ↗ - npm
npm outdated
检查过期依赖
npm ↗
此工具无需安装,所有处理均在当前浏览器本地完成,不会上传输入内容或本地文件。