BlendIT - BSD Cafe
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@majestictechie@lemmy.fosshost.com to Linux@lemmy.mlEnglish • 8 months ago

How dare you use a text editor because it's easy to use

lemmy.fosshost.com

message-square
329
fedilink
804

How dare you use a text editor because it's easy to use

lemmy.fosshost.com

@majestictechie@lemmy.fosshost.com to Linux@lemmy.mlEnglish • 8 months ago
message-square
329
fedilink
  • @lemmesay@discuss.tchncs.de
    link
    fedilink
    20•8 months ago

    • @datelmd5sum@lemmy.world
      link
      fedilink
      7•8 months ago

      cat pipeing is safer though.

      foobar > file and your file is gone.

      • @wise_pancake@lemmy.ca
        link
        fedilink
        2•8 months ago

        You can always alias > to < in your shell.

        • @fossphi@lemm.ee
          link
          fedilink
          English
          1•8 months ago

          Get out!

    • JackbyDev
      link
      fedilink
      English
      5•
      edit-2
      8 months ago

      <file foobar

      • @Trail@lemmy.world
        link
        fedilink
        2•8 months ago

        Huh does that actually work? Don’t have a system handy to try it out.

        • @lemmesay@discuss.tchncs.de
          link
          fedilink
          4•8 months ago

          showing the output in termux

          storage/documents/programs ro
          > echo puts "hello world" > main.rb
          
          storage/documents/programs ro via rb
          > ls
          c  js  main.rb  python
          
          storage/documents/programs ro via rb
          > < main.rb grep hello
          puts hello world
          
          storage/documents/programs ro via rb
          >
          
        • JackbyDev
          link
          fedilink
          English
          2•8 months ago

          I think so! I think it’s something like < file works anywhere in the line, not just the end. There may be some specifics about no space when it is the front but I don’t remember lol.

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

  • 1.62K users / day
  • 4.13K users / week
  • 8.41K users / month
  • 17.4K users / 6 months
  • 54K subscribers
  • 1.76K Posts
  • 36.3K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • UI: unknown version
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org