Posts

Showing posts with the label cmd

Windows Tips: shortcuts and aliases

Image
Windows tips: shortcuts and aliases https://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt - interesting approaches how to add temporary environment variables and aliases Shorts (aliases) for some exe's apps if you already have these apps: code - runs Visual Studio Code text editor code .   - run it with full content current directory as a context subl - runs Sublime Text 2|3 text editor subl  .  - the same as for VS code [ cmd.exe ] - get aliases doskey /MACROS:ALL [ powershell.exe or pwsh.exe ]  - get aliases https://mcpmag.com/articles/2014/06/10/exe-alias-in-powershell.aspx - here you can read also how to create aliases alias - powershell internal aliases get-alias | where {$_.ReferencedCommand -match "exe"} | format-table Name,Definition -autosize  - this command will show you external .EXE apps aliases  [ bash.exe or git-bash.exe ]  - get aliases alias

Зоопарк консолек для виндов ... или не единым cmd.exe (Command line Zoo for Windows)

Image
Зоопарк консолек для виндов ... или не единым cmd.exe (Command line Zoo for Windows)  http://mridgers.github.io/clink/   -  Clink ( git ) ( функциональная замена не функциональному cmd ))) Фичи: The same line editing as Bash (from GNU’s Readline library). History persistence between sessions. Context sensitive completion; Executables (and aliases). Directory commands. Environment variables Thirdparty tools; Git, Mercurial, SVN, Go, and P4. New keyboard shortcuts; Paste from clipboard ( Ctrl-V ). Incremental history search ( Ctrl-R/Ctrl-S ). Powerful completion ( TAB ). Undo ( Ctrl-Z ). Automatic “cd ..” ( Ctrl-Alt-U ). Environment variable expansion ( Ctrl-Alt-E ). (press  Alt-H  for many more…) Scriptable completion with Lua. Coloured and scriptable prompt. Auto-answering of the “Terminate batch job?” prompt.

Как узнать IP адрес сайта не зная сайтов проверки и прочих онлайн инструментов, а именно из консоли

Image
Как узнать IP адрес сайта не зная сайтов проверки и прочих онлайн инструментов, а именно - из консоли небрежно вырезанное )) окно консоли командной строки Windows Под "Виндой" (т.е. для Windows) : 1) входим в консоль меню Пуск -- > выполнить --> набрать команду: cmd --> автоматически начнет работать "встроенный поиск" который подсветит Вам найденную команду)  по клику на ней откроется окно консоли , далее вбиваем команду: nslookup example.com    ( example.com замените на свой сайт); 2) или так: нажимаем кнопку Пуск (Start) -> и сразу начинаем набирать команду:  cmd (автоматически начнет работать "встроенный поиск" который подсветит Вам найденную команду), после клика на данной команде так же откроется консоль командной строки, остальное смотри в конце п.1). For those who have Linux/Unix OS : press " Ctrl+Alt + t " , so you'll get bash or sh or other  xxx))..sh console window. Type in there nslookoop sitename.com (don'