The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unix doubts ashishshah.engg UNIX for Dummies Questions & Answers 0 04-24-2008 08:42 AM
How to post a new thread (Regarding Unix related doubts) in Unix Forums indusri Forum Support Area for Unregistered Users & Account Problems 1 03-12-2008 02:01 AM
Doubts About C Compiler In Unix/linux vrs High Level Programming 1 09-13-2005 05:19 PM
Unix Administration doubts ******** dreams5617 SUN Solaris 1 07-30-2004 10:46 PM
unix & C doubts krishna UNIX for Advanced & Expert Users 1 08-21-2001 03:09 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-05-2008
aswathy aswathy is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 1
Unix doubts

Hello All,

I am very new to UNIX. Please help me to find answers of below questions.

1.A script is saved with name ls. When we execute the script what it will execute?
a) Will execute ls command
b) Will execute the script
c) Will execute script or command depends on the path

2. “chmod u+t mydir” command will:
a) Add stickybit to file mydir
b) Add sticky bit to dir mydir
c) Add universal bit to file mydir
d) Add universal bit to dir mydir

3. Which is the control key to initiate SIGINT signal to current process
a) ctrl-c
b) ctrl-d
c) ctrl-s
d) ctrl-k

4. Which is invalid:
a) while [0]
b) while [$? –eq 0)
c) while [$count –le 0.1]
d) none of the above

5. One file is created with fields’ city, state and country. What is the command to sort it with respect to state?

6. What is the difference between compress and pack?

Regards
Aswathy
  #2 (permalink)  
Old 03-05-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
read the rules before posting.

(6) Do not post classroom or homework problems.
  #3 (permalink)  
Old 03-07-2008
justinwyllie justinwyllie is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 3
or at least disguise them
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0