Cult I Mean Group
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tdTrX@lemmy.ml to Linux@lemmy.mlEnglish · 7 hours ago

How to run firefox -p command and have firefox opened after closing the terminal like WIndows Run box.

message-square
message-square
19
fedilink
8
message-square

How to run firefox -p command and have firefox opened after closing the terminal like WIndows Run box.

tdTrX@lemmy.ml to Linux@lemmy.mlEnglish · 7 hours ago
message-square
19
fedilink
  • aliceitc@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    33 minutes ago

    it should be enough to put a space between & and ; like this: firefox -p & ; disown but I’m not 100% sure.

    I’m also very spoiled by zsh, and I also remember encountering this issue.

    • felsiq@piefed.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      I actually started up bash to test this when op first responded, and the space had the same problem

      • aliceitc@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        54 minutes ago

        Thanks for the correction.

        I read the bash documentation and I think you simply don’t need the ;. The & is already a command separator, just like ;

        Tested with bash: sleep 100 & echo test prints right away.

        https://www.gnu.org/software/bash/manual/bash.html#Lists

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.46K users / day
  • 3.47K users / week
  • 6.04K users / month
  • 13.8K users / 6 months
  • 2 local subscribers
  • 63.9K subscribers
  • 9.05K Posts
  • 227K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org