this post was submitted on 23 Aug 2024
533 points (98.0% liked)

linuxmemes

20707 readers
1008 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

I do not have and addiction problem, you have a problem with my addiction.

you are viewing a single comment's thread
view the rest of the comments
[–] ulterno@lemmy.kde.social 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

In case of && , the second process waits for the first process to finish with error code 0, before it starts.

In case of &, the second process starts without waiting for the first to finish. Meaning, by the time you are looking at the GUI, the exit command has already been executed.

[–] stanka@lemmy.ml 2 points 3 weeks ago (1 children)

Right. Yeah I didn't engage my brain on the & initially as i thought it was just a typo. But that should work, seems others on the internet think the same.

I like 'exec startx', but really if someone has physical access, unless you are doing a lot of other security, you can't be safe.

[–] ulterno@lemmy.kde.social 0 points 3 weeks ago

I tend to be lucky in that regard, as people around me who might get physical access, tend to not have Linux know-how, even if they think of pranking me.

Also, I lock my room.