213
submitted 2 days ago by cybercitizen4@lemm.ee to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] zlatiah@lemmy.world 30 points 2 days ago

clear because apparently I am too scatterbrained to comprehend more than one full page of text in the terminal

[-] feddylemmy@lemmy.world 6 points 1 day ago

I like using CRTL+L to clear. It's nice because you can have a command typed out and still be able to press CTRL+L to clear the screen and keep the command typed out.

[-] mexicancartel@lemmy.dbzer0.com 4 points 2 days ago

I almost never use clear because i'm afraid if i will need the text later.(just like infinity tab number on firefox)

[-] pupbiru@aussie.zone 2 points 1 day ago
[-] zlatiah@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Oh god I also do this... See the comment below, I ran history|cut -d " " -f 5|sort|uniq -c|sort -nr|less on my personal laptop, my third most commonly used command (behind ls and cd) is just typing in nothing...

[-] BaumGeist@lemmy.ml 1 points 1 day ago

Use script instead, you can even have it in your .*shrc to run automatically whenever a shell is invoked (make sure to add a check that the shell wasn't invoked by script, so you don't inadvertently forkbomb yourself)

Alternatively, just use Terminator as yout terminal emulator and enable the logger anytime you need it to record the shell session.

Also, use bookmarks. That's what they're there for. 100 tabs is a great way to clutter your brain, but terrible for productivity. If you forget about it after bookmarking, it wasn't important to begin with.

[-] mexicancartel@lemmy.dbzer0.com 1 points 1 day ago

100 tabs is in mobile. I don't even scroll back to clutter my brain but its there. Tabs are history for me... So I use firefox focus and if there is anything important, i open with firefox.

What script are you reffering to? To log all output? I don't wanna store that but need an assurance that its there till i close terminal window lol

[-] BaumGeist@lemmy.ml 2 points 1 day ago

This script!

Sorry I didn't make it clear that it was a command before

this post was submitted on 21 Sep 2024
213 points (96.1% liked)

Asklemmy

43425 readers
1501 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS