Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create null files in solaris ?

Answers were Sorted based on User's Feedback



How to create null files in solaris ?..

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

How to create null files in solaris ?..

Answer / hyma

Using touch command to create null file

Is This Answer Correct ?    10 Yes 4 No

How to create null files in solaris ?..

Answer / sandeep

1.by using touch
2.cat /dev/null>filename

any one can be used

Is This Answer Correct ?    6 Yes 3 No

How to create null files in solaris ?..

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

How to create null files in solaris ?..

Answer / 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

More Solaris General Interview Questions

what are bootloaders in solaris booting? bootblk, ufsboot

3 Answers   Satyam, Wipro,


How to add gateway in solaris ?

1 Answers   Satyam, Wipro,


environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?

0 Answers   Satyam, Wipro,


Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?

0 Answers  


Diffrence between Paging & swap?

4 Answers   Satyam, Wipro,


How to change the default values ( home dir, shell, role, min, max, expire) get by user ?

2 Answers   Satyam, Wipro,


If system got crashed. How do u troubleshoot? What are starting steps?

5 Answers   Satyam, Wipro,


How to upgrade diskgroup? Vxdg upgrade

1 Answers   Satyam, Wipro,


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

0 Answers  


What are the raid levels in solaris?

0 Answers  


How to discover Global zone name from local Zone?

4 Answers  


How do you view shared memory statistics?

3 Answers   IBM,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)