Tuesday, October 11, 2016

little helpers

Occasionally, a recourse to the Command box is quite useful and it's just for starters not bad if there is a concise overview of useful commands. 
Windows and Linux Commands faced - As the world is based not only on Windows, be - where possible. 

  • findstr - on the command level, very fast and easy
    • findstr /s "check-" *.js
    • find all js-Files that use "check-", so I could find all usages of check-black.png very fast
  • robocopy - copies all files recursively regarding loops in windows-links, if parametrized
  • Xaldon WebSpider - a good tool to control the links in your blog or page

Command
Windows
Linux
display directory
dir
ls
display help
help dir
(vor dem Befehl)
ls -h oder ls -help
(hinter dem Befehl)
display subdirectories
dir /s

display only subdirectories
dir /A:D /B /S

change directory

cd
chdir
pwd
root directory (drive)
cd \

go back one level
cd ..
cd ..
change to other directory
cd c:\projekte\pro1000

make new directory
md pro1000
mkdir
mkdir
steps to create pro1000
cd \
md projekte
cd projekte
md pro1000
cd pro1000

clear window display
cls
clear
exit
exit
exit
show or set date
date
date
delete file
del
rm
rm -r <directory>
Echo
echo
echo
simple editor
edit
type
gedit, nano, vi
cat
Help for Command
command /?
info command
Speicher anzeigen
mem
free

and for the network

Command
Windows
Linux
show network configuration
ipconfig
nfconfig
show network status
netstat
netstat -npl
check connectivity
ping
ping
display connectivity hubs
tracert
traceroute
check IP and Domain with DNS-Server 
nslookup
nslookup
simple dialog for emergency cases
telnet – nicht immer vorhanden und möglich
telnet
 Google-Test
8.8.8.8 als DNS-Server


there are additional helpers for programming:


  • hashcodes can be calculated - on strings but not on javascript-objects, so the hashcode-calculation has to be programmed.




No comments:

Post a Comment