# /usr/local.org

### Site Tools

docs:tips_n_tricks:windows:commands.html

# Windows Commands for UNIX users

UNIX command Windows command Remark
which where shows where certain executables are found
ls -lt dir /O:N sorts directory listing by date
this is a GUI, not a CLI command
NB: I read, there would be a `tail` command in the Windows 2003 Resource Kit
uptime net statistics workstation shows when the machine was booted
sshfs swishwell … it's not really the same, but you would look for an explorer extension in Windows when you look for a fuse usage in Linux
echo \$?echo %ERRORLEVEL% see `if /?` on windows for further possibilities to make use of ERRORLEVEL
`\$HOST`
`\$HOSTNAME`
`%COMPUTERNAME%`Environment, not a command