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 |
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
How do you copy files from remote system using ftp?
how to create passwords in nis?
How to add route (gateway) to n/w interface?
in a global zone we are created a zone. how can we know whether it is a sparse root model or whole root model.
how to clear inode usage?
How do you update OBP firmware?
How to change the default values ( home dir, shell, role, min, max, expire) get by user ?
How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?
What is the cmd used to print default values get by user? Useradd –D
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?
Solaris booting process?