Linux下/bin, /sbin, /usr/bin, /usr/sbin 等的區別
/ : this is root directory
/bin : commands in this dir are all system installed user commands
/sbin: commands in this dir are all system installed super user commands
/usr/bin: user commands for applications
/usr/sbin: super user commands for applications
/usr/X11R6/bin : X application user commands
/usr/X11R6/sbin: X application super user commands
normally you can't execute super user command like visudoer, /usr/local/sbin/apachectr, etc when you using a user login.
/bin : commands in this dir are all system installed user commands
/sbin: commands in this dir are all system installed super user commands
/usr/bin: user commands for applications
/usr/sbin: super user commands for applications
/usr/X11R6/bin : X application user commands
/usr/X11R6/sbin: X application super user commands
normally you can't execute super user command like visudoer, /usr/local/sbin/apachectr, etc when you using a user login.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-670712/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- /bin、/sbin、/usr/bin、/usr/sbin、/usr/local/sbin放置可執行檔案的區別
- /usr/bin/python與/usr/bin/env python的區別Python
- python中#!/usr/bin/python與#!/usr/bin/env python的區別Python
- Linux系統中bin和sbin目錄的主要區別!Linux
- /usr/bin/ld: cannot find -lopenblas
- /usr/bin/expect的簡單使用
- Php cli模式下執行報錯/usr/bin/php: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/bin/php)PHP模式XMLORMAIUI
- -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: b...Framework
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- mac下/usr/local/bin No such file or directory問題解決Mac
- Sub-process /usr/bin/dpkg returned an error codeError
- 關於/usr/bin/ld: cannot find -lXX的問題
- You don't have write permissions for the /usr/bin directory.
- Authentication is required to run /usr/bin/x-terminal-emulator as rootUI
- 一分鐘看懂頭部 shell #!/usr/bin 命令
- frepplectl解決報錯:bash: /usr/bin/frepplectl: Permission denied
- WSL:Sub-process /usr/bin/dpkg returned an error code (1)Error
- linux輸入yum後提示: -bash: /usr/bin/yum: No such file or directory的解決方案Linux
- Anaiable執行出現[WARNING]: Platform linux on hostis using the discovered Python interpreter at /usr/bin/pythonAIPlatformLinuxPython
- 記一次危險的操作——誤刪/usr/bin目錄
- code EACCESnpm ERR! syscall renamenpm ERR! path /usr/local/bin/webpack errno -13NPMWeb
- python升級帶來的yum異常:File "/usr/bin/yum", line 30Python
- (轉載)關於usr/bin/ld: cannot find -lxxx問題總結
- 解決Make時,“/usr/bin/ld: 找不到 -lXXX”問題的三種方法
- bin下的bpl 與 redist下的bpl 區別Redis
- shell指令碼頭,#!/bin/sh與#!/bin/bash的區別.指令碼
- 啟動 Laravel-Sail 服務時遇到的 /usr/bin/env: 'bash\r' 錯誤LaravelAI
- iOS開發除錯之報錯:Command /usr/bin/codesign failed with exit code 1iOS除錯AI
- iOS逆向第一步:class-dump無法拷貝入/usr/bin內問題解決方案iOS
- 安裝opencv報錯/usr/bin/ld: warning: libpcre.so.1, needed by /home//anaconda3/lib/libglib-2.0.so.0OpenCV
- macOSmkdir:/usr/var:OperationnotpermittedMacMIT
- 在Linux系統中,預設的標頭檔案搜尋路徑是/usr/include和/usr/local/includLinux
- Linux下安裝jdk1.8檢視版本的時候報出:-bash: /usr/local/jdk1.8.0_144/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: 沒有那個檔案或目錄LinuxJDKJava
- Linux誤刪除/(根)目錄下usr目錄系統救援方法Linux
- brew update /usr/local is not writable
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON
- 7.30 BIN_TO_NUM
- 解決pgpool啟動報錯 ifup[/sbin/ip] doesn't have setuid bitUI
- /bin/sh: 1: pahole: not found