Some basic File Manipulation commands
HI,
1. What is the command-lines for creating and deleting sub-directories. 2. what is the command-line for creating a zero-length file 3. what is command for saving a file under VIM |
1) if you mean what i think you mean then mkdir -p and rm -r
2) touch 3) :w to write and quit :wq or ZZ |
You can also create a zero-length file using ">". For example:
lyle@bowman:~/empty$ > testfile lyle@bowman:~/empty$ ls -l testfile -rw------- 1 lyle users 0 Sep 24 20:35 testfile lyle@bowman:~/empty$ Lyle |
All times are GMT -5. The time now is 08:29 AM. |