PWD
All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path
find -size 0
"find / -executable" will search the root directory for executables. Not that this will also show directories that are accessible.
It won't find it.
you would use a country directory
find -type f | wc -l
All Unix systems provide a 'find' command that searches for specific files in a given directory. To find a file that has the word "foo" in the /usr directory, I would type: $ find /usr -name *foo* For more information, see 'man 1 find'.
Its a wildcard for one character. (Example): if you want to find files in the directory that start with A & have a three letter file extension, you would use: a*.???
Type cd / to get to the root directory, get to your home directory, or get to the directory you wish to search from and type the below command.find . -size +500000 -printThis command would search for anything that's larger than 500MB. This value can be adjusted to a smaller value if no files are found that are this large.
to get the current shell :echo $0also Use the command ps with -p {pid} option, which selects the processes whose process ID numbers appear in pid. Use following command to find out what shell you are in:ps -p $$
Dsquery is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use dsquery, you must run the dsquery command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator dsquery -inactive <NumberOfWeeks> will give you the answer
You could try with the nbtstat command in the command prompt. You should type: nbtstat -A [machinename] or [IP address]