相关疑难解决方法(0)

所有终端命令都存储在哪里以及如何查看它们?

我忘记了查看磁盘空间的终端命令。所以我从终端命令的资源开始,比如 pdf 和网页。
那些终端命令不是存储在文件系统的某个地方吗?
在这种情况下,它们存储在哪里以及如何查看终端命令?
PS:它就像一个单一的命令,它列出并显示系统中存储的所有其余命令。

command-line

10
推荐指数
2
解决办法
3万
查看次数

看到一个有趣的命令,但不能给它取别名

从这篇文章https://askubuntu.com/a/266839/75967看到一个命令,我想别名

find {,/usr}/{,s}bin -printf '%f\0' | xargs -0 whatis | sort | less
Run Code Online (Sandbox Code Playgroud)

我假设 the lessor the|有干扰,但如何让 alias 命令忽略导致它出现问题的那些字符?

IE。这不起作用

alias cccc='find {,/usr}/{,s}bin -printf '%f\0' | xargs -0 whatis | sort | less'
cccc
Run Code Online (Sandbox Code Playgroud)

它返回

    pell0modem-manager0airserv-ng0usermod0vipw0filefrag0update-software-center0ntpdate-
debian0usbmuxd0foomatic-extract-text0cupsenable0dpkg-divert0dpkg-preconfigure0foomatic-
getpjloptions0ldattach0hplj10200bccmd0vpnc-disconnect0madwifi-
unload0cupsd0tcpd0hplj10180pppstats0service0update-icon-caches0atieventsd0hpljP15050grub-
set-default0userdel0arpd0gpsdctl0remove-shell0cpgr0winbindd0cracklib-format0update-catalog0wesside-ng0vmware-authdlauncher0aireplay-ng0install-docs0hciattach0lpc0install-menu0ck-log-system-restart0foomatic-printermap-to-gutenprint-xml0setvesablank0gconf-schemas0airmon-ng0zic0update-apt-xapian-index0pm-suspend0rebuild-
Run Code Online (Sandbox Code Playgroud)

代替

[ (1)                - check file types and compare values
2to3 (1)             - Python2 to Python3 converter
2to3-2.7 (1)         - Python2 to Python3 converter
2to3-3.2 (1)         - Python2 to Python3 converter
411toppm (1)         - convert …
Run Code Online (Sandbox Code Playgroud)

bash scripts alias functions bashrc

3
推荐指数
1
解决办法
412
查看次数

标签 统计

alias ×1

bash ×1

bashrc ×1

command-line ×1

functions ×1

scripts ×1