Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by Command Line Magic (climagic@mastodon.social)

  1. Command Line Magic (climagic@mastodon.social)'s status on Thursday, 15-Jun-2023 13:04:30 UTC Command Line Magic Command Line Magic

    Debian 12 release notes:
    [A syslog daemon is no longer installed by default]

    In conversation Thursday, 15-Jun-2023 13:04:30 UTC from mastodon.social permalink

    Attachments


  2. Command Line Magic (climagic@mastodon.social)'s status on Monday, 17-Oct-2022 21:55:51 UTC Command Line Magic Command Line Magic

    Show your basic terminal text colors for the purpose of changing them in your preferences.
    printf "\e[%dm%d dark\e[0m \e[%d;1m%d bold\e[0m\n" {30..37}{,,,}

    In conversation Monday, 17-Oct-2022 21:55:51 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/109/184/342/138/076/624/original/d517c08619cc8b28.png
  3. Command Line Magic (climagic@mastodon.social)'s status on Tuesday, 11-Oct-2022 18:12:32 UTC Command Line Magic Command Line Magic

    Show a whole year calendar for the year 2023
    cal -y 2023

    In conversation Tuesday, 11-Oct-2022 18:12:32 UTC from mastodon.social permalink
  4. Command Line Magic (climagic@mastodon.social)'s status on Friday, 29-Apr-2022 22:28:31 UTC Command Line Magic Command Line Magic

    echo "Is this real life?" | cowsay -n | cowsay -n | cowsay -n | cowsay -n

    In conversation Friday, 29-Apr-2022 22:28:31 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/108/216/547/962/186/767/original/dc7244b7734da111.png
  5. Command Line Magic (climagic@mastodon.social)'s status on Tuesday, 22-Feb-2022 15:02:28 UTC Command Line Magic Command Line Magic

    bashle
    n=1;w=$(look .|egrep "^\w{5}$"|shuf|head -1);for i in {1..6};do read -p"$((n++))? " g;for i in $(seq 0 ${#g});do l=${g:$i:1};[[ $l == ${w:$i:1} ]]&&printf "\e[42m$l\e[0m"||printf "$l";done;echo;[[ "$g" == "$w" ]]&&break;grep --color=always "[$w]" <<<"$g";done;echo ans:\ $w

    In conversation Tuesday, 22-Feb-2022 15:02:28 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/107/842/232/396/422/109/original/daeb277b5e0792fa.png
  6. Command Line Magic (climagic@mastodon.social)'s status on Tuesday, 21-Dec-2021 15:14:56 UTC Command Line Magic Command Line Magic

    Matrix
    while :;do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(printf "\U$(($RANDOM % 500))");sleep 0.05;done|gawk '{a[$3]=0;for (x in a){o=a[x];a[x]=a[x]+1;printf "\033[%s;%sH\033[2;32m%s",o,x,$4;printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,$4;if (a[x] >= $1){a[x]=0;} }}'

    In conversation Tuesday, 21-Dec-2021 15:14:56 UTC from mastodon.social permalink

    Attachments


  7. Command Line Magic (climagic@mastodon.social)'s status on Friday, 25-Oct-2019 20:29:27 UTC Command Line Magic Command Line Magic

    echo ${PIPESTATUS[@]} # Show the return values of each command in a pipeline as one string. Or use an index number for the Nth command.

    In conversation Friday, 25-Oct-2019 20:29:27 UTC from mastodon.social permalink
  8. Command Line Magic (climagic@mastodon.social)'s status on Wednesday, 23-Oct-2019 19:33:49 UTC Command Line Magic Command Line Magic

    printf "%3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n" $( echo {1..10}*{1..10}\; | bc ) # Print a multiplication table. Great for those 3rd grader CLI users but also a great demo. :)

    In conversation Wednesday, 23-Oct-2019 19:33:49 UTC from mastodon.social permalink
  9. Command Line Magic (climagic@mastodon.social)'s status on Thursday, 29-Aug-2019 02:03:49 UTC Command Line Magic Command Line Magic
    • Command Line Magic

    man bash | sed 's/./&\n/g' | awk -v mx=$COLUMNS -v my=$LINES 'BEGIN{x=y=e=f=1}{if(x==mx||!x){e*=-1};if(y==my||!y){f*=-1};x+=e;y+=f;printf "\033[%s;%sH%s",y,x,$1;for (a=0;a<400000;a++){}}' # Print the bash man page in diagonal lines across the screen.

    In conversation Thursday, 29-Aug-2019 02:03:49 UTC from mastodon.social permalink

    Attachments


  10. Command Line Magic (climagic@mastodon.social)'s status on Sunday, 07-Jul-2019 14:58:16 UTC Command Line Magic Command Line Magic

    telnet http://mapscii.me # For maps in your terminal from OpenStreetMap. Use arrow keys to move around and a/z to zoom in/out. Or use your mouse if your terminal supports that.

    In conversation Sunday, 07-Jul-2019 14:58:16 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/016/385/668/original/b8e4675c07c83f51.png
  11. Command Line Magic (climagic@mastodon.social)'s status on Saturday, 08-Jun-2019 12:45:51 UTC Command Line Magic Command Line Magic

    Happy 30th Birthday /bin/bash! Thanks to its developers Brian Fox and Chet Ramey and all those who have contributed to it.

    In conversation Saturday, 08-Jun-2019 12:45:51 UTC from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/015/418/726/original/d909abc9fe4c28df.png
  12. Command Line Magic (climagic@mastodon.social)'s status on Wednesday, 03-Apr-2019 17:48:11 UTC Command Line Magic Command Line Magic

    Happy 60th Birthday to Mark Adler (@madler), who co-wrote gzip, zip and the zlib library, contributed to PNG development and has had significant roles in pla netary exploration missions while at JPL and has an extremely out of date website. ;)

    In conversation Wednesday, 03-Apr-2019 17:48:11 UTC from mastodon.social permalink

    Attachments


    1. https://ecodigital.social/system/media_attachments/files/000/653/347/original/8c1e451c61afbf89.jpeg
  13. Command Line Magic (climagic@mastodon.social)'s status on Thursday, 21-Mar-2019 20:39:16 UTC Command Line Magic Command Line Magic

    history -c # clear your active shell's history in case you do something stupid like paste a password+newline into your terminal.

    In conversation Thursday, 21-Mar-2019 20:39:16 UTC from mastodon.social permalink
  14. Command Line Magic (climagic@mastodon.social)'s status on Sunday, 21-Oct-2018 22:42:50 UTC Command Line Magic Command Line Magic

    Seen in Cincinnati, Ohio.

    In conversation Sunday, 21-Oct-2018 22:42:50 UTC from mastodon.social permalink

    Attachments


    1. https://mastodont.cat/system/media_attachments/files/000/437/604/original/ea384f4be8bf4891.jpeg
  15. Command Line Magic (climagic@mastodon.social)'s status on Thursday, 11-Oct-2018 18:24:06 UTC Command Line Magic Command Line Magic

    Beyond SATA 3 and SAS is
    SATA, AF

    In conversation Thursday, 11-Oct-2018 18:24:06 UTC from mastodon.social permalink

    Attachments


    1. https://storage.gra5.cloud.ovh.net/v1/AUTH_011f6e315d3744d498d93f6fa0d9b5ee/qotoorg/media_attachments/files/001/382/508/original/36d137f6a6c2136e.jpeg
  16. Command Line Magic (climagic@mastodon.social)'s status on Thursday, 11-Oct-2018 17:41:40 UTC Command Line Magic Command Line Magic

    date -d @1539217802 # Using GNU date you can convert a Unix epoch time back into a human readable date by prefixing it with @

    In conversation Thursday, 11-Oct-2018 17:41:40 UTC from mastodon.social permalink
  17. Command Line Magic (climagic@mastodon.social)'s status on Tuesday, 02-Oct-2018 21:32:06 UTC Command Line Magic Command Line Magic

    TIL: The bash help command's argument is a regex, not an exact command. Thus you can give it partial matches and patterns.
    So 'help co' shows the help for any bash internal command starting with 'co' and 'help "*t"' shows the help for internal commands ending with a 't'.

    In conversation Tuesday, 02-Oct-2018 21:32:06 UTC from mastodon.social permalink
  18. Command Line Magic (climagic@mastodon.social)'s status on Monday, 10-Sep-2018 23:52:07 UTC Command Line Magic Command Line Magic

    One plus for Mastodon so far is that I feel the participation a lot more acutely. Comparing numbers, I may be only getting 4-6 likes on a post here, but comparatively that is about 10 times higher per follower count than on the birdsite. This somewhat confirms something I've suspected for a while, that the general over-subscription to feeds on the birdsite leads to most people not even seeing my content or just not watching their feeds at all. Thanks for following.

    In conversation Monday, 10-Sep-2018 23:52:07 UTC from mastodon.social permalink

User actions

    Command Line Magic

    Command Line Magic

    Cool Unix/Linux Command Line tricks you can use. Here mostly to inspire all to try more. Read docs first, run later.

    Tags
    • (None)
    ActivityPub
    Remote Profile

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          14510
          Member since
          6 Oct 2018
          Notices
          18
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • Privacy
          • Source
          • Version
          • Contact

          Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.