Saturday 6 December 2014

Create a file in Redhat

In this page i am just gonna trach you how to create a file in Redhat using the Terminal
so seat tight

Create a File
  • type touch (file name)
  • Then type ls (shows the list of files)
  • then type Cat > (file name)
  • Enter file data (eg.your name,DOB,Contact number, etc)
  • then type ls

To show the file data 

type Cat (File name)



important notes:-
Logout command will only work when use "-" during the SU commands
(su - student)

without "-" we have to use the exit command to logout

0 comments:

Post a Comment