DEV Community

mahir dasare
mahir dasare

Posted on

Understanding Upstream and Downstream: A Simple Guide

Upstream in Linux distributions:

  • Fedora
  • openSUSE
  • OpenShift

Downstream in Linux distributions:

  • Red Hat
  • ORACLE
  • SUSE

Upstream:
In open-source software development, "upstream" refers to the original source or the primary development branch of a project. It's where the original developers and maintainers work on the source code.

Downstream:
Downstream refers to the projects or distributions that take code from the upstream sources, possibly modify it, and then distribute it to end users.

Why linux based OS?

  1. Open Source
  2. Security
  3. Customization
  4. Lightweight
  5. Performance
  6. Flexibility
  7. Wide variety of distributions
  8. Community support
  9. Live CD / USB images available
  10. Impressive GUI with powerful CLI
  11. Well documented

Linux Basic Commands

whoami: Print the user name associated with the current effective user
syntax: whoami

pwd: print the current path of the working directory

Syntax: pwd

ls: List information about the file

syntax : ls.. [file path].. Example: ls -l, ls -a, ls -larth, ls -ld

echo: Display message on screen, write each given STRING to standard output

syntax: echo [option] [string]

Examples :

echo "Hello World"

echo -e "Hello \nWorld"

echo -e "Hello \tWorld"

Options : -e : Enable interpretation of the blacklash-escaped characters in each string

  1. \n: new line
  2. \t: horizontal tab
  3. \v: vertical tab

Top comments (0)