using vi or cat
vi command
> vi test.txt
and press
"ESC" button
":wq"
done.. type "ls" you will see the new file has been created.
cat command
> "cat > test1.txt"
and then press "CTRL" + "D"
done.. see your directory..