How to create null files in solaris ?

Answer Posted / kitchimca

#using touch cmd
Ex:touch <filename>

#using cat cmd
Ex:cat /dev/null > <filename>

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between swap -l & swap -s?

761


How can the user in solaris check the status of processes?

758


How can a user login to solaris? What is the login shell?

727


Tell me how to set the path for core file?

724


what is the importance of swap memory and how it will supports?

2032


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

793


Tell me how to discover global zone name from local zone?

736


How can a user boot in solaris as root if the password is non functional?

763


What can be done to protect the system from overflow exploits?

768


How many run levels are there and what are they?

735


What are the ways in which replication agreements between directory structures be arranged?

794


How can threads be created in a solaris environment? Write an example

773


How can a user increase the number of pseudo-ttys?

766


Explain custom jumpstart procedure?

2684


Explain the types of installations in solaris

764