表示 | Working with Users | List who is logged in. | who | | | |
表示 | Working with Applications | Open applications from the command line. | xdg-open, mimeopen, see | open | start "", explorer.exe, (enter filename) | |
表示 | Working with Files and Directories | Change directory. | cd | cd | cd | |
表示 | Getting System Info | Show system info. | lsdev, procinfo | system_profiler | msd | Lsdev and procinfo do not work on Linux VPSs sometimes due to the way disks are provisioned.
|
表示 | Network Commands | Clear DNS Cache | /etc/rc.d/init.d/nscd restart | dscacheutil -flushcache OR sudo killall -HUP mDNSResponder | ipconfig /flushdns | Older OS X Leopard was "lookupd -flushcache".
|
表示 | Network Commands | Start & Stop Services | service some-service start|stop | | net start|stop some-service | |
表示 | Working with Users | Show a list of a user's processes. | ps -u account_name | | (Task Manager) | |
表示 | Working with Users | Show who is logged in and what they are doing. | w | | net session | |
表示 | Working with Users | Show the current user account. | whoami | | set | There is a whoami command for Windows available in the Resource Kit. Or, you can use set to list the environment variables, of which the username is one.
|
表示 | Working with Users | List how many users are currently logged in. | who | wc -l | | | |
... |