GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Operating System  >  Solaris Admin
Go To First  |  Previous Question  |  Next Question 
 Solaris Admin  |  Question 155 of 177    Print  
What is difference between "touch"and "cat" commands

  
Total Answers and Comments: 1 Last Update: June 10, 2008     Asked by: krishnaraghava 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 10, 2008 09:29:29   #1  
sumitkhanna Member Since: June 2008   Contribution: 5    

RE: What is difference between "touch"and "cat" commands
Touch command is to create the 0 kb file and we can create several file at the same time. Example

Touch a b c d e

It will create 5( a b c d e) 0 KB files at the same time.

However, cat command help to create the file in writable format. once you write cat > file name it will allow you to type the text, enter ctrl+d to save and exit. if you will check  with the commant cat filename it will show the content of the file

 
Is this answer useful? Yes | No

 Related Questions

boot -r , The other is to type touch /reconfigure, and then reboot 
Latest Answer : There are 3 ways to achieve rebuilding of device tree after adding a new device:1.    touch /reconfigure   --> Creation of this file causes the Solaris OS to check for the presence of any new devices the next time you reboot ...

Which of the following commands can tell you whether packets are being delayed or dropped on your network?
spray 

Probe-scsi probes for local/onboard devices/peripherals off the onboard SCSI controller whilst probe-scsi-all identifies all devices attached to the onboard/local controller and separate Sbus , PCI controllers 
Latest Answer : ok probe-scsi” To identify the devices attached to the on-board SCSI controller ok probe-scsi-all”  To identify the devices attached to the on-board SCSI controller and all peripheral devices attached to separate SBus or PCI ...

Latest Answer : Process:Process is nothing but the job which get executed at CPU.Deamon:Can say its background process (or) This is the process which is started since system is started and it will not be shutdown unless the system is shutdown or kill by any command. ...
Read Answers (3) | Asked by : Deepak Mandloi

Latest Answer : Every disk device has an entry in both the /dev/dsk and /dev/rdskdirectories for the block and character disk devices, respectively. ...
Read Answers (6) | Asked by : praveen

Latest Answer : Hard mount tries repeatedly until it gets timeout from server.soft mount throughs error if the source server is not responding ...
Read Answers (4) | Asked by : ajay

Latest Answer : Format command is used to see and modify disk available at that timeThrough format we can partition,label and modify diskMount command helps us in making a given file system assesable to different users ...
Read Answers (1) | Asked by : Ramesh

Latest Answer : Priority schedulingIn priority scheduling scheduler selects tasks on basis of their priority. The process with higher priority will run first and its completion another will start. The disadvantage is this that processes with lower priority are not given ...
Read Answers (1) | Asked by : prakash

Latest Answer :   The ufsdump command copies files. directories, or entire file systems from a hard disk to tape or from disk to disk. The only drawback of using ufsdump is that the file system must be inactive ( that is, unmounted or read-only) before you can conduct ...
Read Answers (1) | Asked by : mrsreeni

NIS+ was mainly designed to address problems that NIS cannot address. 
Latest Answer : NISNIS+Machine name and user's name can be the sameMachine name and user names must be unique. Furthermore, you cannot have a dot (.) in your machine or user name.Domains are flat--no hierarchy.Domains are hierarchical--data stored in different levels ...
Read Answers (1) | Asked by : bhaskar


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

SQL Table Commands

SQL Table Commands Overview As mentioned previously in this series of SQL articles, databases are primarily composed of tables. The “columns and rows” structure of the table allows data to be efficiently inserted, manipulated, updated, and deleted from the database. The three mos
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape