Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social), page 10

  1. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Wednesday, 28-Nov-2018 11:46:48 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    In a #sed substitution pattern, you can use any character as a separator instead of /
    Useful for path or urls:
    s!/usr/local!/opt!

    #Linux #UNIX

    In conversation Wednesday, 28-Nov-2018 11:46:48 EST from mastodon.social permalink
  2. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Wednesday, 28-Nov-2018 05:26:10 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    From a POSIX shell `$OLDPWD` holds the name of the previous working directory:
    cd /tmp
    echo You are here: $PWD
    echo You were here: $OLDPWD
    cd $OLDPWD

    #Unix #Linux #Shell #cd

    In conversation Wednesday, 28-Nov-2018 05:26:10 EST from mastodon.social permalink
  3. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Tuesday, 27-Nov-2018 23:06:29 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    When using the find command, use `-iname` instead of `-name` for case-insensitive search
    #Unix #Linux #Shell #Find

    In conversation Tuesday, 27-Nov-2018 23:06:29 EST from mastodon.social permalink
  4. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Tuesday, 27-Nov-2018 16:37:15 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“
    • Docker

    If you ever had to connect to an Oracle backend, you may know how painful it used to be to set up an Oracle Instance on your test/dev host.

    Thanks to @Docker, it is now several orders of magnitude simpler!

    https://www.yesik.it/EP18

    #Oracle #Database
    #Docker #Container
    #Linux
    #YesIKnowIT

    In conversation Tuesday, 27-Nov-2018 16:37:15 EST from mastodon.social permalink
  5. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Tuesday, 27-Nov-2018 11:00:39 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    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

    #Linux #Shell #AWK
    #YesIKnowIT

    In conversation Tuesday, 27-Nov-2018 11:00:39 EST from mastodon.social permalink

    Attachments

    1. Invalid filename.
      How to clean up a data file using AWK - Yes, I Know IT ! Ep 05
      By Yes, I Know IT ! from YouTube
  6. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Tuesday, 27-Nov-2018 10:17:04 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“
    • clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’›

    @clacke Sometimes you write a long commit message, then realize you forgot something but don't want to clear the entire text to abort the commit

    In conversation Tuesday, 27-Nov-2018 10:17:04 EST from mastodon.social permalink
  7. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Tuesday, 27-Nov-2018 05:27:42 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Centering text on 80 columns with stars:
    sed -E ':x
    s/^.{,80}$/*&/
    s/^.{,80}$/&*/
    tx
    ' file

    #Shell #Sed #Linux

    In conversation Tuesday, 27-Nov-2018 05:27:42 EST from mastodon.social permalink
  8. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Monday, 26-Nov-2018 23:59:54 EST Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Delete all but the last line of a file:
    sed -n '$p' file

    #Shell #Sed #Linux

    In conversation Monday, 26-Nov-2018 23:59:54 EST from mastodon.social permalink
  9. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Thursday, 01-Nov-2018 18:01:23 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Display all user accounts separated by a colon in one very long line

    cut -d: -f1 /etc/passwd | paste -s -d:

    #Paste #Cut #Linux #Unix #POSIX #Utility

    In conversation Thursday, 01-Nov-2018 18:01:23 EDT from mastodon.social permalink
  10. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Thursday, 01-Nov-2018 12:35:38 EDT Yes, I Know IT ! 🎓 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 ..

    #Bash #Shell

    In conversation Thursday, 01-Nov-2018 12:35:38 EDT from mastodon.social permalink
  11. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Thursday, 01-Nov-2018 05:58:16 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Merging files on a line-by-line basis with the `paste` utility
    https://yesik.it/EP23

    #Paste #POSIX #Utility #Linux #Unix #Shell

    In conversation Thursday, 01-Nov-2018 05:58:16 EDT from mastodon.social permalink

    Attachments

    1. Invalid filename.
      The Paste Command
      from Yes I Know IT!
      In a previous video, we talked about the `cut` command which can be used to extract columns from a CSV or tabular text data file.
  12. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Thursday, 01-Nov-2018 00:00:51 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Find words starting with `lin` (according to `/usr/share/dict/words`):

    ```
    look lin
    ```

    #Linux #Look #Utility

    In conversation Thursday, 01-Nov-2018 00:00:51 EDT from mastodon.social permalink
  13. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Wednesday, 31-Oct-2018 05:17:18 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Poor's (wo)man stopwatch in your shell:

    ```
    time read
    ```

    #Linux #Shell #Stopwatch

    In conversation Wednesday, 31-Oct-2018 05:17:18 EDT from mastodon.social permalink
  14. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Saturday, 27-Oct-2018 17:00:42 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Display a 2x3 matrix:

    seq 6 | paste - - -

    #Paste #Shell #Linux #Unix #POSIX #Utility

    In conversation Saturday, 27-Oct-2018 17:00:42 EDT from mastodon.social permalink
  15. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Saturday, 27-Oct-2018 10:42:06 EDT Yes, I Know IT ! 🎓 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

    #VLC #AsciiArt #Linux #CommandLine

    In conversation Saturday, 27-Oct-2018 10:42:06 EDT from mastodon.social permalink
  16. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Friday, 26-Oct-2018 10:42:43 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Split a fixed-width or delimited text file into individual columns using the `cut` command
    https://yesik.it/EP22

    #Cut #POSIX #Utility #Linux #Unix #Shell

    In conversation Friday, 26-Oct-2018 10:42:43 EDT from mastodon.social permalink

    Attachments

    1. Invalid filename.
      The Cut Command
      from Yes I Know IT!
      The `cut` command is a POSIX-defined utility to remove unwanted data from a tabular text data file. With the `cut` utility you can remove bytes, character range ("columns") or fields on each line of an input file. Something that is particularly useful when you have to pre-process a CSV file from (or "for") a spreadsheet or a database.
  17. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Thursday, 25-Oct-2018 03:48:10 EDT Yes, I Know IT ! 🎓 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 Thursday, 25-Oct-2018 03:48:10 EDT from mastodon.social permalink
  18. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Sunday, 21-Oct-2018 05:37:12 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    A byte is, and always was, an 8 bits quantity!

    No.

    https://www.yesik.it/blog/2018-bit-nibble-byte-and-word

    #Bit #Byte #Octet #Nibble #Word
    #BinaryArithmetic #BooleanAlgebra
    #ComputerScience #ComputerHistory

    In conversation Sunday, 21-Oct-2018 05:37:12 EDT from mastodon.social permalink
  19. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Saturday, 20-Oct-2018 13:10:19 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    Do you want to run a Windows software on Linux? Or optimize your costs by running several virtual servers on the same hardware? In those cases, like in many other ones, virtualization is the technology to leverage.

    But with so many different virtualization technologies readily available today, which one is the best for YOUR needs?
    https://yesik.it/VIRT101
    #VM #Containers #Emulation #Wine #CheatSheet

    In conversation Saturday, 20-Oct-2018 13:10:19 EDT from mastodon.social permalink

    Attachments

    1. Invalid filename.
      Choose the Right Virtualization Method
      from Yes I Know IT!
      Maybe you want to run a Windows software on Linux? Or optimize your costs by running several virtual servers on the same hardware? In those cases, like in many other ones, virtualization is the technology to leverage.
  20. Yes, I Know IT ! πŸŽ“ (yesiknowit@mastodon.social)'s status on Saturday, 20-Oct-2018 06:59:02 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! πŸŽ“

    http://www.ostechnix.com/4-easy-ways-to-generate-a-strong-password-in-linux/

    My preferred :
    openssl rand 14 -base64
    gpg --gen-random --armor 1 14

    ... but the passwords are not easy to remember. A good argument to use a password manager.
    #password #linux #gpg #openssl

    In conversation Saturday, 20-Oct-2018 06:59:02 EDT from mastodon.social permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.