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 is difference between swap -l & swap -s?

0 Answers  


how to clear inode usage?

1 Answers  


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

0 Answers  


Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

0 Answers  


I have 20 GB free space in my file system but my inode size full. how will i increase or how will i fix this issue.

2 Answers  


After adding LUNs disk is not showing in the format command. How to resolve that?

3 Answers   IBM,


How can abiword be compiled for solaris using gcc?

0 Answers  


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

0 Answers  


What does ssh?

2 Answers   Satyam, Wipro,


how to create passwords in nis?

3 Answers   DELL, IBM, TCS,


how to add your own run control script in server?

0 Answers  


what are the ILOM commands are used to troubleshooting sunv490 server on ILOM console mode?

1 Answers   CSC,


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)