If you don't know what is #Awk or how it could help you processing text files, then you NEED that little introduction:
https://youtu.be/PUYS6MO4p7Y
Notices by Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social), page 4
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 27-May-2019 22:48:31 EDT Yes, I Know IT ! 🎓
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 27-May-2019 17:25:05 EDT Yes, I Know IT ! 🎓
Centering text on 80 columns with stars:
sed -E ':x
s/^.{,80}$/*&/
s/^.{,80}$/&*/
tx
' fileIn conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 27-May-2019 10:07:35 EDT Yes, I Know IT ! 🎓
Delete all but the last line of a file:
sed -n '$p' fileIn conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 27-May-2019 04:46:08 EDT Yes, I Know IT ! 🎓
Intriguing. What is the typical use case of running Docker on a RaspberryPi w/ Raspian?
https://docs.docker.com/engine/installation/linux/docker-ce/debian/
#Docker #RPi #RaspberryPi #RaspianIn conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Sunday, 26-May-2019 22:01:19 EDT Yes, I Know IT ! 🎓
To leave #vim with a non-zero exit code use `:cq`.
In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Sunday, 26-May-2019 16:28:12 EDT Yes, I Know IT ! 🎓
Cool tutorial by @shapeshed on the "join" command. Useful to merge files based on their content.
In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Sunday, 26-May-2019 10:25:45 EDT Yes, I Know IT ! 🎓
AWK patterns are far more sophisticated than their SED counterpart:
https://www.yesik.it/EP13In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Sunday, 26-May-2019 04:32:33 EDT Yes, I Know IT ! 🎓
"I want to learn Linux. Is Kali right for me?"
So, tired of the sterile controversies, I decided to forge my own opinion:
https://itsfoss.com/kali-linux-review/In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 30-Apr-2019 18:47:26 EDT Yes, I Know IT ! 🎓
In the Bash, `~-` is expanded to the content of `OLDPWD`. So:
cd ~-/..
is a shortcut for the 2 commands:
cd "$OLDPWD" (or `cd -`)
cd ..In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 30-Apr-2019 12:58:49 EDT Yes, I Know IT ! 🎓
Merging files on a line-by-line basis with the `paste` utility
https://yesik.it/EP23In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 30-Apr-2019 06:41:38 EDT Yes, I Know IT ! 🎓
Find words starting with `lin` (according to `/usr/share/dict/words`):
```
look lin
```In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 30-Apr-2019 00:54:38 EDT Yes, I Know IT ! 🎓
csplit tweets.yaml /----/ '{*}'
Split a collection of tweets stored in a YAML file into individual items.
In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 29-Apr-2019 06:11:11 EDT Yes, I Know IT ! 🎓
Poor's (wo)man stopwatch in your shell:
```
time read
```In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Friday, 26-Apr-2019 03:10:47 EDT Yes, I Know IT ! 🎓
Display a 2x3 matrix:
seq 6 | paste - - -
In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Friday, 26-Apr-2019 01:13:48 EDT Yes, I Know IT ! 🎓
Do you know I have a "Bash and Linux Command Line" course On #Udemy?
Take a look here for a discount:
https://yesik.it/BSH101In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Thursday, 25-Apr-2019 19:18:59 EDT Yes, I Know IT ! 🎓
vlc -Idummy -Vcaca "Star Wars: Episode IV - A New Hope (1977).mkv"
Play #StarWars as it was originally intended by @GeorgeLucasILM back in the 70s
In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Thursday, 25-Apr-2019 13:44:45 EDT Yes, I Know IT ! 🎓
.tar, .zip, .gz--you already have seen those extensions at the end of archive files, don't you?
But what do they mean? What is the difference between those formats?
https://itsfoss.com/tar-vs-zip-vs-gz/
#Tar #Zip #Gzi #Archive #FileFormatIn conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Wednesday, 24-Apr-2019 14:58:16 EDT Yes, I Know IT ! 🎓
Split a fixed-width or delimited text file into individual columns using the `cut` command
https://yesik.it/EP22In conversation from mastodon.social permalink Attachments
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 23-Apr-2019 08:21:44 EDT Yes, I Know IT ! 🎓
`split` and `csplit`. Old friends, I used them a lot in the 1.44MB floppy disk era...
https://www.linux.com/learn/intro-to-linux/2017/8/splitting-and-re-assembling-files-linux
by Carla Schroder (https://twitter.com/CarlaSchroder)In conversation from mastodon.social permalink -
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 22-Apr-2019 23:43:27 EDT Yes, I Know IT ! 🎓
I should definitely investigate Asciinema for my future screencasts:
In conversation from mastodon.social permalink