HOW TO BREAK FILE INTO MANY FILES TO SECURE YOUR DATA IN LINUX

In this article we are going to learn how to break file into many files to secure your data.

Sometimes  we want our data to be secure even its hacked  . Security agencies like FBI , RAW etc also use this technique to send information  to someone or store them on their pc. They basically break important file into many files and store it on their system so if their system got hacked , the hacker won’t be able to take any information .

So let’s start . I’m gonna create a file to show you how to secure your file.If you already have a file thats ok you don’t have to create .I’m showing example with txt file but you can use any file like mp4, mp3 .pdf etc.

  • First create a file by vim command.
[root@localhost S]# vim a.txt
  • After entering vim command it will take you to the insert mode . 
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"a.txt" [New File]
  • So type I and start writing what you want to write.
hiii im Deepit
my site deepitp5.wordpress.com
zodiac sagittarius
loves music and to travel
birthday 11 dec
linux
windows
ccna
cloud computing
tricks android
~
~
~
~
~
  • hit esc button and type :wq (for save and quit)
~
~
~
:wq
  • You can check your file is been created .
[root@localhost S]# ls
                               a.txt
  • Now we are going to break this file into 10 pieces . 
[root@localhost S]# split -b 10 a.txt
  • You can see your file is beeen broken into 10 different files . No one will be able read it .
[root@localhost S]# ls
a.txt  xaa  xab  xac  xad  xae  xaf  xag  xah  xai  xaj  xak  xal  xam  xan  
xao  xap  xaq
  • Now delete the file because its no longer needed . Because its been already in 10 different files .
[root@localhost S]# rm -rf a.txt
  • Thats what you gonna see after deleting your file .Now no one will be able to see the content of the file  not even you.You will also notice your  10 files having starting with letter X.
[root@localhost S]# ls
xaa  xab  xac  xad  xae  xaf  xag  xah  xai  xaj  xak  xal  xam  xan  xao 
 xap  xaq

This is how you can break your file . And one more thing guys you can do this procedure with any file like .mp4 , .mp3 , .pdf , etc.

  • Now how to get back your content of the file , by joining all 10 files .I’m going to combine all 10 file into one file .
[root@localhost S]# cat x* >deepit.txt
  • Now try to open your new file that is been created . 
[root@localhost S]# cat deepit.txt
hiii im Deepit
my site deepitp5.wordpress.com
zodiac sagittarius
loves music and to travel
birthday 11 dec
linux
windows
ccna
cloud computing
tricks android

So this how you can break your file and joint your file .

HOW TO GIVE LIMITED LVM(LOGICAL VOLUME) IN VG (VOLUME GROUP)

HOW TO SPLIT VG (VOLUME GROUP) IN LINUX.

HOW TO OPEN AN .ISO FILE IN LINUX

 

 

2 thoughts on “HOW TO BREAK FILE INTO MANY FILES TO SECURE YOUR DATA IN LINUX

  1. Enjoyed reading the article above , really explains everything in detail,the article is very interesting and effective.Thank you and good luck for the upcoming articles

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s