elidiazgt
8/9/2017 - 2:31 AM

cheatsheet

multiple cheatsheets

npm i -g truffle
npm i -g ethereumjs-testrpc    

#info hardware lscpu

#change user pass Reboot your computer. Hold Shift during boot to start GRUB menu. Highlight your image and press E to edit. Find the line starting with "linux" and append rw init=/bin/bash at the end of that line. Press Ctrl + X to boot. Type in passwd username. Set your password.

#tree process list ps axjf

sysctl -a | grep machdep.cpu.features

//linux distro and info cat /etc/*-release

#linux utils mv * .. #mover todo el contenido a un nivel superior rm -rf example #delete directory cp /folder /folder2 #copy files cp -r /path/* /newpath #copy directory mv name newname #move or rename folder cat etc/hosts #read file cat | less pwd #show current path sudo s KILL -9 17338 #eliminate process find ~/ -name 'host' #find files mdfind -onlyin ~/path #find in files sudo chmod -R 777 /path #full permision cd - #return previus directory

tab #Auto Complete option+f & option+b #Jump Between Words ctrl+a & ctrl+e #Jump To The Start And End Of A Line ctrl+u #Clear An Entire Line ctrl+k # Clear Everything After The Cursor