Laden...
nixCraft Linux / UNIX Newsletter |
How to compress the whole directory using xz and tar Posted: 23 Nov 2021 02:24 AM PST The xz command on Linux, macOS, *BSD, and Unix-like systems offer excellent compression. It will outperform zip and other formats when we use xz with tar for maximum reduction in size. For instance, I compressed a directory having 37M size using both xz and zip. The zip file size was 31M, while the xz file was 16M after compression. Pretty impressive, isn't it? Let us see how to compress the whole directory using xz and tar. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to compress the whole directory using xz and tar appeared first on nixCraft. |
10 Linux commands to know the system Posted: 22 Nov 2021 03:37 PM PST {Updated} Here are 10 Linux command to know the system and increase your productivity quickly. The post 10 Linux commands to know the system appeared first on nixCraft. |
How do I copy a file to the clipboard in Linux? Posted: 22 Nov 2021 01:48 PM PST We all know we can use the xclip Linux command-line interface to X selections, aka clipboard. The xclip command to copy any Linux command output to the Linux clipboard directly. For example, the following will copy text Hello World to your clipboard, and you can pate it using the Ctrl+v/Ctrl+Shift+V keyboard in other apps: Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How do I copy a file to the clipboard in Linux? appeared first on nixCraft. |
How To Save The Output Of A Linux/Unix Command To A File Posted: 22 Nov 2021 12:51 PM PST {Updated} When you want to have both stderr and stdout displayed on the terminal and in a file use this syntax on your Linux or Unix/macOS/BSD: cmd 2>&1 &vert tee file whois ip-address 2>&1 &vert tee spammer.txt more spammer.txt. Learn how to save the output of a Linux / Unix command to a file. The post How To Save The Output Of A Linux/Unix Command To A File appeared first on nixCraft. |
You are subscribed to email updates from nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED). To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
Laden...
Laden...