RetroFed Forum
Your home away from modern life.
It's hacker time
Post Reply
AuthorMessage
#Km91# sh.itjust.works Lisk91@sh.itjust.works
Joined: 2024-07-02
(edited) Quote

backup config files

832   Original
jakemehoff11 sh.itjust.works jakemehoff11@sh.itjust.works
Joined: 2023-06-14
#2 · Quote Reply

Bonus points for using the mouse to copy/paste

126
slazer2au lemmy.world slazer2au@lemmy.world
Joined: 2023-06-30
#3 · Quote Reply

an hacker?

44
queerlilhayseed piefed.blahaj.zone queerlilhayseed@piefed.blahaj.zone
Joined: 2025-09-27
#4 · Quote Reply

Bonus points for using the mouse to copy/paste

Only way to do it. everyone knows ctrl-c angers the terminal daemons.

70
thefactremains lemmy.world thefactremains@lemmy.world
Joined: 2023-07-16
#5 · Quote Reply

an hacker?

Yes. It's french

32
NotSteve_ lemmy.ca NotSteve_@lemmy.ca
Joined: 2023-07-16
#6 · Quote Reply

Only way to do it. everyone knows ctrl-c angers the terminal daemons.

CTRL+shift+[c/v], my beloved

63
Albbi piefed.ca albbi@piefed.ca
Joined: 2025-06-25
#7 · Quote Reply

CTRL+shift+[c/v], my beloved

Such an annoying kludge to make a common operation work.

26
NotSteve_ lemmy.ca NotSteve_@lemmy.ca
Joined: 2023-07-16
#8 · Quote Reply

Such an annoying kludge to make a common operation work.

I guess I'm so used to it at this point that I just add the shift automatically and don't really consider it annoying

Such an annoying kludge to make a common operation work.

That describes nearly everything in software, doesn't it😅

10
DigDoug lemmy.world DigDoug@lemmy.world
Joined: 2023-06-11
#9 · Quote Reply

Bonus points for using the mouse to copy/paste

The true LinuxMan uses middle-mouse click to paste.

10
thebestaquaman lemmy.world thebestaquaman@lemmy.world
Joined: 2023-06-18
#10 · Quote Reply

Let's be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

39
queerlilhayseed piefed.blahaj.zone queerlilhayseed@piefed.blahaj.zone
Joined: 2025-09-27
#11 · Quote Reply

Such an annoying kludge to make a common operation work.

My hot take: cross-application or system-wide shortcuts like copy/paste should all be controlled with the Super/Meta key. Looking hard at you, alt-F4.

App developers, you get your pick of Shift, Ctrl, and Alt modifiers. Super/Meta is for the OS only.

44
Adulated_Aspersion lemmy.world Adulated_Aspersion@lemmy.world
Joined: 2023-06-14
#12 · Quote Reply

Even better the SECOND time you do it with the up arrow.

You know. Just your standard Hacker, hackin'.

11
palordrolap fedia.io palordrolap@fedia.io
Joined: 2024-08-13
#13 · Quote Reply

an hacker?

Trolling is a art.

19
SpaceNoodle lemmy.world SpaceNoodle@lemmy.world
Joined: 2023-06-14
#14 · (edited) Quote Reply

Such an annoying kludge to make a common operation work.

Personally, I think it was quite rude of all of those applications to make the standard "break" command mean "copy."

18
bryndos fedia.io bryndos@fedia.io
Joined: 2025-07-28
#15 · Quote Reply

Let's be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

It's weird to have grown up with things like bbc micro and MS-DOS and see how alien the terminal is to people who didn't.

Back then CLIs were all over, even like library catalog terminals, were CLI. TBF some still had card indexes though.

At university everyone had to ssh in to the email server from whatever tty client even on windows (nt4/nt5/98/2k/mackintosh PCs).

You definitely didn't feel like any hacker. The hacker level thing was to successfully connect via GUI mail client and actually have your emails update and sync properly - very few bothered.

19
brisk aussie.zone brisk@aussie.zone
Joined: 2023-08-22
#16 · (edited) Quote Reply

My hot take: cross-application or system-wide shortcuts like copy/paste should all be controlled with the Super/Meta key. Looking hard at you, alt-F4. App developers, you get your pick of Shift, Ctrl, and Alt modifiers. Super/Meta is for the OS only.

Super is for my window manager.

Which I guess is kind of where copy paste live so I'm on board, barring semantic nitpicks

21
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#17 · Quote Reply

Such an annoying kludge to make a common operation work.

Control commands are older than the shortcuts for cut copy paste though.

14
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#18 · Quote Reply

The true LinuxMan uses middle-mouse click to paste.

A truetrue LinuxUser uses the alternative clipboard instead.

6
normalentrance lemmy.zip normalentrance@lemmy.zip
Joined: 2026-01-08
#19 · Quote Reply

Start btop in another full screen terminal, and then run apt update. Then you're fully in the matrix.

9
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#20 · Quote Reply

Let's be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

Some of us were at the point where GUIs weren't a thing and the terminal was the only option.

3
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#21 · Quote Reply

Even better the SECOND time you do it with the up arrow. You know. Just your standard Hacker, hackin'.
$ !!

It keeps its handses on the home row.

5
jaybone lemmy.zip jaybone@lemmy.zip
Joined: 2025-02-08
#22 · Quote Reply

Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo.

Then you actually kind of do feel like a hacker.

Until you’ve done it like 10 different times, then you are just annoyed. Still a better love story than Twilight.

29
jaybone lemmy.zip jaybone@lemmy.zip
Joined: 2025-02-08
#23 · Quote Reply

Trolling is a art.

an art?

5
jaybone lemmy.zip jaybone@lemmy.zip
Joined: 2025-02-08
#24 · Quote Reply

It's weird to have grown up with things like bbc micro and MS-DOS and see how alien the terminal is to people who didn't. Back then CLIs were all over, even like library catalog terminals, were CLI. TBF some still had card indexes though. At university everyone had to ssh in to the email server from whatever tty client even on windows (nt4/nt5/98/2k/mackintosh PCs). You definitely didn't feel l...

Do you mean telnet?

6
degenerate_neutron_matter fedia.io degenerate_neutron_matter@fedia.io
Joined: 2025-12-27
#25 · Quote Reply

an hacker?
[deleted]
16
DreamButt lemmy.world tdawg@lemmy.world
Joined: 2023-06-16
#26 · Quote Reply

CTRL+shift+[c/v], my beloved

One of the things I always setup is a pbpaste & pbcopy function to mirror Marcos's. I know that's not what the meme is about but pbpaste > /tmp/filename.json is too handy

2
DreamButt lemmy.world tdawg@lemmy.world
Joined: 2023-06-16
#27 · Quote Reply

Let's be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

Don't forget using cmatrix as a sudo-screensaver

4
DreamButt lemmy.world tdawg@lemmy.world
Joined: 2023-06-16
#28 · Quote Reply

$ !! It keeps its handses on the home row.

sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that's where history | grep 'keyword' is nice

4
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#29 · (edited) Quote Reply

Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo. Then you actually kind of do feel like a hacker. Until you’ve done it like 10 different times, then you are ju...

You copy paste the command.

$ sudo apt update
-bash: sudo: command not found
$

Your distro doesn't set up/install sudo by default, so your first task is installing sudo, then understanding /etc/sudoers syntax and understanding why the command to atomically replace /etc/sudoers is visudo and why on a multiuser system there's value to atomic replacement. In the meantime, you probably learn about su and maybe, if your distro has disabled them, how to enable switching to the kernel virtual consoles on tty1 through tty7 so that in the meantime, you can do things as root while staying logged in. Also, you're going to learn about environment variables, so as to set EDITOR, and where your shell config files live, what a login shell is, and in what shells ~/.bash_profile, ~/.profile, and ~/.bashrc run. Also, you first try running visudo as a regular user, but your distro places visudo in /usr/sbin instead of /usr/bin, so you can't figure out why it's not installed and are going to learn about the FHS and mlocate and updatedb so that you can find /usr/sbin/visudo and dpkg -S so that you can figure out which package it's in and confirm that it's actually installed and learn about PATH.

6
bryndos fedia.io bryndos@fedia.io
Joined: 2025-07-28
#30 · Quote Reply

Do you mean telnet?

Very possibly.

I vaguely remember using putty on port 22 which i thought was ssh, but maybe it was telnet.
we were leaving the 90s by then, so I think ssh was around.
Might also have been different protocol on the uni LAN vs WAN connections.

The libraries I remember might have been direct terminals to local server.
Few catalogs were available even on the uni-wide LAN.
No big deal really since you're going to have to go there to find the book anyway.

The catalog room was an acceptable place to have a chat or lament the size of the reading list.

5
queerlilhayseed piefed.blahaj.zone queerlilhayseed@piefed.blahaj.zone
Joined: 2025-09-27
#31 · Quote Reply

Yes. It's french

In Quebec they call hackers "dame blanche agaçante"

3
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#32 · (edited) Quote Reply

sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that's where history | grep 'keyword' is nice

history | grep 'keyword'

If it's bash, it's using readline, which is in emacs-like mode by default, and so you can probably use Control-R to do a reverse i-search (incremental search). Enter to invoke the command. Control-C to abort i-search.

If a search matches multiple candidates, tap Control-R multiple times to cycle back through results.

EDIT: Also, ! has a built-in search, so if you are sure of the starting string, you can just do that. I generally prefer to use the interactive search to confirm that I'm not invoking something wonky.

$ touch a
$ rm a
$ touch a
$ !rm
rm a
$ 
3
queerlilhayseed piefed.blahaj.zone queerlilhayseed@piefed.blahaj.zone
Joined: 2025-09-27
#33 · Quote Reply

sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that's where history | grep 'keyword' is nice

You may enjoy ctrl + r. It hasn't completely replaced grepping history for me but it's close.

6
FuglyDuck lemmy.world FuglyDuck@lemmy.world
Joined: 2023-07-15
#34 · Quote Reply

Hey boys. getta load of this guy. he doesn't use arch.

0
corsicanguppy lemmy.ca corsicanguppy@lemmy.ca
Joined: 2023-06-12
#35 · Quote Reply

Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo. Then you actually kind of do feel like a hacker. Until you’ve done it like 10 different times, then you are ju...

shit got all fucked up because you added a third party repository

Dependency hell is always, always, self-inflicted.

apt is only SLSA1 or 2 anyway, so there's a lot more wiggle room.

3
Deebster infosec.pub Deebster@infosec.pub
Joined: 2023-10-16
#36 · Quote Reply

You may enjoy ctrl + r. It hasn't completely replaced grepping history for me but it's close.

If you trigger fzf with ctrl-r then you might never need to grep again.

4
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#37 · (edited) Quote Reply

Start btop in another full screen terminal, and then run apt update. Then you're fully in the matrix.
$ sudo apt install cool-retro-term hollywood
$ TMUX='' cool-retro-term --fullscreen -e hollywood

You don't need to unset TMUX if you aren't already using and inside tmux, but including in case someone is.

5
conartistpanda lemmy.world conartistpanda@lemmy.world
Joined: 2024-08-12
#38 · (edited) Quote Reply

Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo. Then you actually kind of do feel like a hacker. Until you’ve done it like 10 different times, then you are ju...

This fucking idiot here changed their debian branch to sid then wondered why the software store didnt work. Luckly I always backup config files. I mean, it's not that complicated to change some lines back, but still.

Also it's a vbox vm so I could always restore a snapshot. And it exists to tweak so it was meant to be.

2
slazer2au lemmy.world slazer2au@lemmy.world
Joined: 2023-06-30
#39 · Quote Reply

[deleted]

12
bluey lemmy.world bluey@lemmy.world
Joined: 2023-06-18
#40 · Quote Reply

good way to compromise your system

https://www.makeuseof.com/why-you-shouldnt-copy-paste-commands-from-internet/

6
pinball_wizard lemmy.zip pinball_wizard@lemmy.zip
Joined: 2025-02-13
#41 · (edited) Quote Reply

sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that's where history | grep 'keyword' is nice

sudo !!

Never again, lol.

Last time I did that, it was not what I remembered. I didn't break anything, but it was close enough that I scared the shit out of myself.

1
daggermoon piefed.world daggermoon@piefed.world
Joined: 2026-03-01
#42 · Quote Reply

We all have to start somewhere. I remember when that was me.

14
TheEighthDoctor lemmy.zip TheEighthDoctor@lemmy.zip
Joined: 2025-01-15
#43 · Quote Reply

$ hollywood

6
thebestaquaman lemmy.world thebestaquaman@lemmy.world
Joined: 2023-06-18
#44 · Quote Reply

We were all at some point at the stage where doing anything at all in the terminal made us feel like a god. Some of us were at the point where GUIs weren't a thing and the terminal was the only option.

Fair enough, I guess my overall point was more that we've all at some point taken that first step of doing something that now feels mundane, but at the time felt like we were doing something very advanced.

1
juipeltje lemmy.world juipeltje@lemmy.world
Joined: 2023-07-02
#45 · (edited) Quote Reply

Me when i fork dwl just to add a few patches that i did not create myself, just so i can make my own package for it.

"You know, i'm something of a developer myself."

6
#Km91# sh.itjust.works Lisk91@sh.itjust.works
Joined: 2024-07-02
#46 · Quote Reply

an hacker?

🩹

3
Riverside reddthat.com Riverside@reddthat.com
Joined: 2026-01-20
#47 · Quote Reply

We all have to start somewhere. I remember when that was me.
[deleted]
5
gurty lemmy.world gurty@lemmy.world
Joined: 2026-03-03
#48 · Quote Reply

Watches update run in terminal and nods sagely as if understanding it all

35
Damage feddit.it Damage@feddit.it
Joined: 2023-06-12
#49 · Quote Reply

CTRL+shift+[c/v], my beloved

Shift+ins

1
Hanrahan slrpnk.net hanrahan@slrpnk.net
Joined: 2023-03-14
#50 · Quote Reply

[deleted]

amen to that LMDE and use the GUI here

3
toynbee piefed.social toynbee@piefed.social
Joined: 2025-09-12
#51 · Quote Reply

CTRL+shift+[c/v], my beloved

See, I prefer middle click.

5
Post Reply Page 1 of 2   Goto page 1, 2 Last »
Back to top