Studio3104::BLOG.new

uninitialized constant Studio3104 (NameError)

Re: Re: UNIX Command Idioms


UNIX Command Idioms
Re: UNIX Command Idioms - (ひ)メモ

I will append up to remember...little by little.

I was examined by using a command such as the following.

history | awk '{print $2}' | sort | uniq

commands

  • ls -ltr
  • netstat -tapn
  • top -d 1
    • In TOP screen, I press 1 and c.
  • ps -ef
  • grep -irl ./

MySQL

  • mysqldump --single-transaction --master-data=2 --default-character-set=binary --hex-blob
  • watch "mysql -e 'show slave status\G' -uXXX -pXXX"

aliases

alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'