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

Root mirroring in SVM, in Veritas ?

4 Answers   HP, IBM, Satyam, Wipro,


How do you copy files from remote system using ftp?

0 Answers  


how to create passwords in nis?

3 Answers   DELL, IBM, TCS,


How to add route (gateway) to n/w interface?

2 Answers   Satyam, Wipro,


in a global zone we are created a zone. how can we know whether it is a sparse root model or whole root model.

3 Answers  


how to clear inode usage?

1 Answers  


How do you update OBP firmware?

2 Answers   Satyam, Wipro,


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

2 Answers   Satyam, Wipro,


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

0 Answers  


What is the cmd used to print default values get by user? Useradd –D

2 Answers   Satyam, Wipro,


Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?

0 Answers   IBM, Satyam, Wipro,


Solaris booting process?

2 Answers   Satyam, Wipro,


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)