How to using multiple delimiters in awk and sed

Multiple delimiter-separated fields in awk or sed. Using awk command: ➜ awk -F'[:=|]' '{print $1, $2, $3}' test.log; Using sed command: ➜ sed 's/[:=|]/ /g' test.log...

How to modify the host name in Ubuntu

How to change the host name? The answer is to use Linux hostname command. About the hostname command.About the /etc/hostname file.About the /etc/hosts file....

How to grep folder name in linux

How to grep folder name in Linux? Example: Use the find and grep commands grep folder name, Use the ls and grep commands grep...

Google Analytics adds website tracking code

Google Analytics adds website tracking code. Enter the Admin page, click the tracking info menu, the tracking code submenu, and you can see the tracking...

How to split screen for mac iterm2

Iterm2 split screen – increased productivity. How to split screen for mac iterm2 ? Vertical split screen: command + d Horizontal split screen: command +...