GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 09:09:06 JST Miakoda Miakoda

    I wish I could find an actual course on using the #Linux terminal.
    Yes yes, rtfm.
    "Read this pile of documentation" is not the learning method that actually works for me. That is a massive struggle.
    I need more of a "Our goal today is to accomplish X" and learning all the commands and stuff to get to that goal. Ya know, kinda how a woodworking class might be building a bird house this week, and they learn the tools that result in a bird house.

    In conversation about a month ago from pdx.social permalink
    • Kari'boka likes this.
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 09:27:52 JST Miakoda Miakoda
      in reply to
      • GreyCat, Red Mage

      @greycat I knew that search term. I was hoping there might be something interactive. Info just sitting in front of me, and I have to provide the structure, doesn't mesh so well with executive dysfunction and focus struggles. That's why best cli learning moments are when something is broken and my only options are learn it or no longer have the broken thing.

      In conversation about a month ago permalink
    • Embed this notice
      GreyCat, Red Mage (greycat@possum.city)'s status on Monday, 20-Oct-2025 09:27:53 JST GreyCat, Red Mage GreyCat, Red Mage
      in reply to

      @hellomiakoda@pdx.social your best bet is probably going to be books or videos on using the "command line" or "CLI". they usually start with the basics and build from there.

      In conversation about a month ago permalink
    • Embed this notice
      Cody (norobledos@mastodon.social)'s status on Monday, 20-Oct-2025 09:37:55 JST Cody Cody
      in reply to

      @hellomiakoda

      You might find this YouTube channel helpful. A lot of his videos are geared toward beginners https://www.youtube.com/@LearnLinuxTV/featured

      In conversation about a month ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: yt3.googleusercontent.com
        Learn Linux TV
        Learn Linux TV is your ultimate resource for mastering Linux and open-source technology. From step-by-step Linux tutorials and distro reviews to server automation, cloud deployments, security, and DevOps workflows, this channel gives you the skills to thrive in today’s Linux Community. With over 20 years of Linux and System Administration experience, Jay (your host) shares practical insights to help you succeed with Linux — whether at home, in the data center, or in the cloud. Whether it’s Debian, Ubuntu, Fedora, Arch, or Proxmox, you’ll learn how to build, secure, and manage systems with confidence! • Linux made simple: tutorials, reviews, and sysadmin tips you can actually use. • Your go-to channel for Linux tutorials, distro reviews, and real-world sysadmin skills. • Where beginners become power users, and pros sharpen their Linux skills. Subscribe and join a community of hundreds of thousands of Linux enthusiasts who are learning, building, and growing with open source.
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 09:37:55 JST Miakoda Miakoda
      in reply to
      • Cody

      @norobledos Not actually sure where my skill level is measured.
      I can do quite a bit, but not knowing how far away "expert" is, it's kinda hard to access where I'm at.

      cp, mv, ls apt, pacman, yay, zypper, cat, tail, head - all stuff I'm pretty comfy doing.
      Tmux - a frequently used tool, but I'm still having to look up commands every time I go beyond detach, next, and previous.
      find, grep - I've touch them. I know what their for. Probably using like 1% of what they can do.

      In conversation about a month ago permalink
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 09:41:08 JST Miakoda Miakoda
      in reply to
      • Cody

      @norobledos I want to go from comfy advanced user who can fix stuff but often needs a web browser to look it up, to expert who can do most anything with little more than a glance at my notes.

      In conversation about a month ago permalink
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 09:50:37 JST Miakoda Miakoda
      in reply to
      • Fuse Views

      @TimePencil Scrolling the page, it looks like it's a lot of stuff I already know, but likely also covers the holes I want to sure up in the basics so I can move further.
      Signing up!

      In conversation about a month ago permalink
    • Embed this notice
      Fuse Views (timepencil@infosec.exchange)'s status on Monday, 20-Oct-2025 09:50:38 JST Fuse Views Fuse Views
      in reply to

      @hellomiakoda

      I recommend this:
      https://training.linuxfoundation.org/training/introduction-to-linux/

      Cost: Free of charge.

      "What You’ll Learn:
      This course explores the various tools and techniques commonly used by Linux system administrators and end users to achieve their day-to-day work in a Linux environment. You will gain a good working knowledge of Linux and learn how to navigate through major Linux distributions, system configurations and graphical interface of Linux, basic command line operations, common applications of Linux, and more."

      In conversation about a month ago permalink

      Attachments


    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 10:24:28 JST Miakoda Miakoda
      in reply to
      • Ramin Honary

      @ramin_hal9001 Kinda iffy on that example.
      I kinda understand it, kinda.
      echo makes text. By itself, it'd go to stdout.
      * is a wildcard, but don't understand what it'd do with echo.
      grep - Kinda like ctrl + F in a web browser, but I suspect my understanding of it is basic AF.
      \.txt$ I know it's looking for text files, but no idea why that means it's looking for text files.
      > text-files.csv is making a comma seperated list of the output.

      In conversation about a month ago permalink
    • Embed this notice
      Ramin Honary (ramin_hal9001@fe.disroot.org)'s status on Monday, 20-Oct-2025 10:24:31 JST Ramin Honary Ramin Honary
      in reply to

      @hellomiakoda I have an article on my blog about how to do batch file renaming. If you have a suggestion for me of a specific task (or a class of related tasks) you would like to learn, I’d be happy to write a blog article on how to do it.

      To “learn the terminal” means to study the Bourne Shell programming language, so you learn it the same way you learn any other programming language. This comes down to understanding how the lexer and parser works, then the semantics for things like how to assign and use variables, how to construct procedures, and how to do conditional branch execution. Then you learn the “standard libraries,” which for the Linux terminal means learning how to use commands such as find, grep, sed, awk, and so on.

      Do you understand how the shell does lexing, that is, breaking up a command into tokens? For example, the command:

      echo *|grep '\.txt$'>text-files.csv 2>&1&

      Is broken down into the following tokens:

      1. echo
      2. *
      3. |
      4. grep
      5. '.txt$'
      6. >
      7. text-files.csv
      8. 2>
      9. &1
      10. &

      If you already know that much, you are ready to start learning about conditionals and control flow.

      In conversation about a month ago permalink

      Attachments



    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 10:25:39 JST Miakoda Miakoda
      in reply to
      • Ramin Honary

      @ramin_hal9001
      2>&1 makes it also go to stdout, but I have absolutely no idea what that combo of symbols actually means, I just know I've seen that specific combo before to make it do both.
      The last &, if I remember right, makes it release control of the terminal

      In conversation about a month ago permalink
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 10:26:24 JST Miakoda Miakoda
      in reply to
      • Ramin Honary

      @ramin_hal9001 Oh and the pipe - Pipe I understand! It just takes the output of one thing and shoves it in to the next thing

      In conversation about a month ago permalink
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 10:27:44 JST Miakoda Miakoda
      in reply to
      • Ramin Honary

      @ramin_hal9001
      Oh shit! I didn't know
      $ echo *
      lists the filenames that way! Ok, that makes sense

      In conversation about a month ago permalink
    • Embed this notice
      Miakoda (hellomiakoda@pdx.social)'s status on Monday, 20-Oct-2025 10:54:16 JST Miakoda Miakoda
      in reply to
      • Ramin Honary

      @ramin_hal9001 "Regular expression" - Regex!
      I first saw that way back when I was figuring out.. tasker, I think it's called, on Android.
      I was unsuccessful in understanding it much then, but I've got a better grasp of it now... I think/assume.

      Glob - didn't know the word for it, but that one I know.

      file*
      would match names beginning with file, so files, filed, filepile, but not thatfile, yeah?

      In conversation about a month ago permalink
    • Embed this notice
      Ramin Honary (ramin_hal9001@fe.disroot.org)'s status on Monday, 20-Oct-2025 10:54:18 JST Ramin Honary Ramin Honary
      in reply to

      @hellomiakoda @hellomiakoda thanks, I have a pretty good idea of where you should start learning, but I’ll have to search around a bit for some resources you can use.

      Without going into too much detail, let me just breifly explain the example I wrote above. First of all, it is basically a useless command so I would not recommend using it, I just wanted an example that would show how lexing works.

      Yes the echo will take it’s arguments and print them. The * character is a special token called a “glob pattern” that tells the shell to substitute that token with whatever the “glob” pattern matches in the current directory, lists of files being separated by spaces. So that will simply lists all of the files that match * (basically all files that do not start with dot) in the current directory, then creates a huge string which each file name separated by spaces, then dumps that string to it’s output pipe.

      You are right about the pipe.

      The 2>&1 command is called a “redirect,” in this example it means to join the STDERR stream, which has integer code 2, to the STDOUT stream, which has integer code 1. This would make it so that error messages are also pushed to the input of the next process in the pipe, which usually you would not want to do unless you want a log of the result of the left side of the pipe. The 0> syntax indicates the STDIN stream (input stream, taken from the left of the pipeline) which can also be written as just <, the 1> syntax indicates STDOUT which can also be written as just >. You can also specify a file instead of a stream integer ID, so >text.csv says the STDOUT stream should write to a file rather than some other stream.

      The grep command searches it’s input stream for a “regular expression”, this is a very different kind of string pattern from the “glob expressions” (for example *.txt) that the shell uses. Regular expressions are more powerful than glob expressions. You can search Wikipedia for these terms, the articles there will give you a good sense of how each are used. Grep is also a line-based protocol, so it breaks it’s input into lines and only outputs the line if it matches the “regular expression”.

      The “grep” works on lines of text, and since echo creates only one line of text containing all the file names, grep will either print everything or nothing depending on whether the final file matched ends in “.txt“.

      In conversation about a month ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.