How To Create Fake File | Vim File | Empty File In Linux

In This Tutorial We Are Going To Learn How To Create Fake File empty File And Vim File With Secure Password

Firstly Open The Linux And Login With Root 

Now How To Create Empty File 

touch a.txt {a.txt is a file name }
ls -l {How To Check File Is Created Or Not}
rm -rf a.txt {How To Delete The Empty File}

Now How To Create Vim File

vim a.txt {a.txt is a file name }
Now How To secure This File By Password
vim -x a.txt {Then Give The Password }
Now How To Delete Them 
rm -rf a.txt

Now How To Create Fake file Of 500Mb

fdisk -l
dd if=/dev/sda of=a.txt bs=1M count=500 
ls -l  {How To Check File Is Created Or Not}
cat a.txt {To See The Contend Of The File}
For More Information Or Query Check This Video And Watch Till The End
This Is All How We Create Fake,Empty Or Content File Or How To Secure With  Password Or How To Delete Then In Redhat Linux Rhel 4&5

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s