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
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
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
Create a file in Redhat