bash   47498

« earlier    

bash - How to I get the primary IP address of the local machine on Linux and OS X? - Stack Overflow
Get local ip address in bash.

ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v ''
bash  unix  OSX  tips&tricks 
2 days ago by naijeru
Re: Command substitution with null bytes generates warning
workaround 1:
address@hidden:~$ x=$(< /proc/$$/cmdline)
bash-4.4: warning: command substitution: ignored null byte in input
address@hidden:~$ x=$(< /proc/$$/cmdline 2>/dev/null)
bash  bash_scripting 
2 days ago by PCjabber
bash-guide: A guide to learn bash
The guide to learning bash that we all wished we had starting out.
shell  reference  terminal  unix  github  learning  linux  bash 
2 days ago by jefftriplett
A Better Less? ❚ A Scripter's Notes
Running Emacs as a fast file viewer.
emacs  bash 
2 days ago by raygrasso
Bash basics and Quirks
Very good reminder of Bash's basics and its quirks, from Julia Evans.
bash  linux  scripting  Julia_Evans  blog-about 
2 days ago by devilgate
dotfiles/.aliases at master · mathiasbynens/dotfiles · GitHub
# URL-encode strings
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'
bash  osx 
2 days ago by yevgenyd
fish shell
Tyler Stroud recommended
bash  linux  terminal  5% 
3 days ago by brittanmcg

« earlier    

related tags

-v  -x  10  5%  android  apis  array  associative  awk  aws  bash_scripting  blog-about  builtin  cheatsheet  cheatsheets  check  cli  code  collections  command  commandline  comparison  cowsay  curl  debug  debugger  dev  development  die  dotfiles  emacs  errormessage  examples  expand  expression  expressions  figlet  fonts  git  github  highlight  howto  http-prompt]  http  ideas  important  julia_evans  kill  ksh  learning  linter  linux  llinux  logging  manual  microsoft  module  needshelp  noconflict  osx  parser  pastebin  perl  pipe  pipeline  pipes  presentation  processsubstitution  productivity  programming  python  read  reference  regex  regular  rest  review  ruby  rust  screet  script  scripting  scripts  sed  server  set  shell-scripting  shell-scripts  shell  shellscripting  shellscriptping  signals  skal  snippets  software  solution  ssh  sshd  string  terminal  termux  tips&tricks  tips  tmux  todo  tools  trace  tutorial  ubuntu  unicode  unix  utilities  v  verbose  vim  visualstudio  web  webdev  windows-10  windows  windows_10  workflow  wsl  x  xml  zsh 

Copy this bookmark: