Some Random One-liner Linux Commands [Part 1]

JSLinux - Run Linux And Other Operating Systems In Your Browser

2 Responses

  1. Todd says:

    This is a good summary, some of the commands I forgot, thank you for sharing, I have updated some of my command history, lol. I appreciate all of the items provided, I have provided a few for your review as well, always good to share:

    -> Present information about the disks running on the system with filesystems
    * for i in $(fdisk -l | awk ‘/^/dev/ {print $1}’); do tune2fs -l $i; done

    -> https://stackoverflow.com/questions/14768609/remove-duplicates-entries-from-multiple-text-file-in-perl
    * sort –unique Remove_duplicate.txt
    * perl -lne ‘$seen{$_}++ and next or print;’ Remove_duplicate.txt

    -> Replace items – https://www.garron.me/en/bits/pearl-pie-search-replace-substitute-text-all-files-terminal.html
    * perl -pi -e ‘s///’

    -> Create ticker from rate.sx, if watch is run, it presents unreadable symbols
    * while true ; do curl rate.sx; done
    * while sleep 1; do curl rate.sx; done

    I thought this discussion was good as well, this may be good for your next iteration of your webpage.

    Please keep them coming, wonderful place to share thoughts.

    Todd

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.