Ready to Start Your Career?

By: bjacharya
February 1, 2016
Kali Linux Command Lines Part 3 – Working with Files

By: bjacharya
February 1, 2016

file kali.png
- Command touch:One easy way to create an empty file is with touch. (We'll see many other ways for creating files later in this tutorial series.)e.g. If we want to create file with filename 'cybrary', then we execute a command like:touch cybrary
- Command rm:When you no longer need a file, use rm to remove it. When you use rm to remove a file, the file is gone. Therefore, be careful when removing files!To prevent ourselves from accidentally removing a file, we can type rm -iCommand rm -i
e.g. rm -i cybrary
- Command cp:To copy a file, use cp with a source and a target argument. For this, we execute command like:cp 2.txt 3.txt (makes new 3.txt and holds the content of 2.txt)
Ok, this was about working with files in Kali Linux command line. If you have any questions, please ask via comments.Note: Video Demo/Lab for this part is available here : VIDEO