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 are nfs daemons?
Ip classes, OSI layers,its significance, ?
What causes the rpc.ttdbserverd process to be cpu bound?
what is the difference between sc> and lom> ?
How can a user access a dos-format disk in solaris?
How do you copy files from remote system using ftp?
Explain the difference between pid and ppid with example.
how can we know the time of creation of zone in solaris
List out a few performance monitoring tools.
In solaris 10 root Disk is 98% full what steps to be taken?
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed ndd -get /dev/hme0 link-mode
what are all the procedures i have to follow while patching a machine which has root mirroring ( SVM ).