Useful Command-line Commands on Windows
A little known one is getmac It shows the MAC address(es) of your network adapter(s).
A little known one is getmac It shows the MAC address(es) of your network adapter(s).
ping -a w.x.y.z Should resolve the name from the IP address if the reverse lookup zone has been set up properly. If the reverse lookup zone does not have an entry for the record, the -a will just ping without a name.
As @nasreddine answered or you can use /d For more help on the cd command use: Displays the name of or changes the current directory. CHDIR [/D] [drive:][path] CHDIR [..] CD [/D] [drive:][path] CD [..] .. Specifies that you want to change to the parent directory. Type CD drive: to display the current directory in the specified drive. Type CD … Read more
First, To compile the java source file using javac you need to specify the files to compile explicitly. Example: you need not provide the path if the source file is in the current working directory. Second, whenever java encounters import abc.xyz.ClassName; it tries to resolve abc/xyz/ClassName with respect to the classpath or current working directory. … Read more
I’m sorry, I managed to find the answer myself using google and a bit of luck : ) For those interested; I installed the pdftk (pdf toolkit) on our debian server, and using the following command I achieved desired output: OR This in turn can be piped directly into pdf2ps.
You may also set the environment variable $CLOUDSDK_CORE_PROJECT.
My team and I ran into this error, unable to update local ref, when doing a pull in SourceTree. Update 2020: Per @Edward Yang’s answer below, @bryan’s comment on this answer, and this question/answer you may need to run both git gc –prune=now and git remote prune origin. Running only the former has always worked for me but based on ppl’s responses … Read more
When Atom installs, it automatically creates a symbolic link in your /usr/local/bin folder. However, in case it hasn’t, you can create it yourself on your Mac: Now you can use atom folder_name to open a folder and atom file_name to open a file.
Use the location header flag: curl -L <URL>
Depending on what you want the file to contain: touch /path/to/file for an empty file somecommand > /path/to/file for a file containing the output of some command. eg: grep –help > randomtext.txt echo “This is some text” > randomtext.txt nano /path/to/file or vi /path/to/file (or any other editor emacs,gedit etc)It either opens the existing one for editing or creates & opens … Read more