command c expects followed by text error in Mac

You received error from the sed command in Mac, because the argument in mac is different. If you type in Mac terminal, you may receive error like this Justins-MacBook-Pro:2 juzhax$ sed -i ‘s/old_text/new_text/g’ example.txt sed: 1: “config.php”: command c expects \ followed by text The first argument should be the extension of the backup file. Continue reading “command c expects followed by text error in Mac”

Hacker’s Secret 100 Secret Techniques Revealed

One of the nice book that suitable for Hacker, but too bad it is in Japanese version. Wish someone will translate to English version in future. You can find the author from here Satoru Takabayashi, Fumitoshi Ukai, Yusuke Sato, Shinichiro Hamaji, Kazuyuki Shudo Chapter 1. Introduction 1. Introduction to Binary Hacks 2. Terminology of Binary Hacks 3. Using “file” to Continue reading “Hacker’s Secret 100 Secret Techniques Revealed”

Set Static IP for Raspberry Pi

vi /etc/network/interfaces modify iface eth0 inet dhcp to iface eth0 inet static Then add this below address 192.168.1.200 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1