827
you are viewing a single comment's thread
view the rest of the comments
[-] d00phy@lemmy.ml 15 points 1 year ago

The “-“ is often not necessary. I use it as a guide to see how long the person running tar has been using it.

Example:

tar -xf file.tar == tar xf file.tar

[-] fushuan@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

They are functionally flags though and uniletter flags should be preceded by a '-', so I would still prefer to have the '-' written, because it conforms with the standard.

[-] Ricaz@lemmy.ml 3 points 1 year ago
[-] superbirra@lemmy.world 1 points 1 year ago

yeah, you can also ditch that f

tar c /etc/passwd > fu.tar

tar t < fu.tar

tar x < fu.tar

this post was submitted on 18 Sep 2023
827 points (98.1% liked)

Linux

48721 readers
948 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS