How to create null files in solaris ?
Answers were Sorted based on User's Feedback
Answer / kumarsaneesh
To make a null file use touch command
eg.
$ touch file_name
use the following to make an existing file empty.
$ :> file_name
| Is This Answer Correct ? | 12 Yes | 3 No |
Answer / murali thangavel
# touch <filename> ----> new empty file will create
# cat /dev/null> <filename> ---> existing file will empty
# > <filename> ---> existing file will empty
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / kitchimca
#using touch cmd
Ex:touch <filename>
#using cat cmd
Ex:cat /dev/null > <filename>
| Is This Answer Correct ? | 6 Yes | 3 No |
What is difference between swap -l & swap -s?
how to clear inode usage?
Explain the difference between swap -l & swap -s?
Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?
I have 20 GB free space in my file system but my inode size full. how will i increase or how will i fix this issue.
After adding LUNs disk is not showing in the format command. How to resolve that?
How can abiword be compiled for solaris using gcc?
How can a user boot in solaris as root if the password is non functional?
What does ssh?
how to create passwords in nis?
how to add your own run control script in server?
what are the ILOM commands are used to troubleshooting sunv490 server on ILOM console mode?