Linux shred Command

In this tutorial we learn how to use shred commmand in Linux. shred command is shred - overwrite a file to hide its contents, and optionally delete it

What is Linux shred Command?

In this tutorial we learn how to use shred command in Linux. shred command is shred - overwrite a file to hide its contents, and optionally delete it

shred Syntax

       shred [OPTION]... FILE...

shred Examples

shred Command Manual / Help

We can use man and info command to see the manual page of shred command.

shred command also have --help option to show list of options.

To open man page for shred command we can use command below. To exit man or info page you can press q.

man shred

To open info page for shred command we can use command below.

info shred

To open help page from shred command we can run command below.

shred --help

Linux shred Command Source Code

You can find shred command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use shred in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.