12-07-2007
Answer them if u can...
Try to answer these questions on Unix:
1.what will be the segment() function do?
2.How Unix is more powerful than Windows?
3.Where ownership details will be stored of a particular file in Unix?
4.State different uses of ^ symbol in regular expressions.
5.What does export command used for?
6.Diff. between ordinary file & directory in terms of Unix file system.
7.Different Uses of set command.
8.What is the file .profile used for?
9.Write command to display : Friday,May 21,2006
10.Write grep command to select lines which start with capital letters.
11.How can u create hidden file?How can u see a list of hidden files?
12.What permissions a directory & its parent directory must have when u want to modify a file?
13.Use of $(string)?
14.How will u create a subshell?How will u move to parent shell after creating subshell?
15.what grep '^//*' tmpfile look for?
16.what does command grep "$SHELL$"/etc/passwd|cut -d:f1 do?
17.Write expr command to extract last 2 character of variable x.
18.Which command can be alternativel yused to achieve the purpose of run level 0?.Diff. between run level 1,2,3.
19.How device files are similar to ordinary files?which command is used to create a device file?
20.What type of linked list is used by kernel to maintain a free list of buffer?
21.What will happen when value of sem_op; whixh is no. of sembuf structure, is +ve?
22.While creating shared memory region, which system call is useful to specify its size?
23.Write a command to display only filenames of regular files having read & execute permission for user?
24.What does a shell process will do when we hit enter key after typing a command to be run?
25.What is back reference in sed?
26.Explain any 2 hold space command by giving example in sed.
9 More Discussions You Might Find Interesting
1. Programming
Hi ,
how can i get the system reply from a system() command ?
is it possible to evaluate the return of a system command ? (4 Replies)
Discussion started by: Sven28
4 Replies
2. Programming
Q.1 Diffrence between terminal and pseudo-terminal ?
Q.2 What is terminal login ? What is a netwok Login ?
Q.3 What is meant by baud rate of a terminal ?
Q.4 which structure is used for job control in Unix/Linux ?and where these structure are means in which directory ? (2 Replies)
Discussion started by: mobile01
2 Replies
3. Solaris
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"...
what does this error mean.....
help me in solving this issue...
Thanks in advance
shivamasam (3 Replies)
Discussion started by: shivamasam
3 Replies
4. Shell Programming and Scripting
Hey, I am very new to scripting and could use a bit of help.
I have a situation where I have an ascii file and I want to delete all lines beneath a particular string.
EXAMPLE:
The contents of a file named example.txt looks like the following:
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE... (7 Replies)
Discussion started by: LaLonde
7 Replies
5. UNIX for Dummies Questions & Answers
i know by posting this people are going to get mad at me but, when i try to download unix for my Windows XP i find a whole bunch of files that i dont know what to do with, so please help, sorry if this has already been posted... or is a stupid question :o (9 Replies)
Discussion started by: DarkestEvil
9 Replies
6. Programming
How do I get the answer of a system call that is printed in the terminal?
for example:
I execute system("pwd");
and get the answer /home/user/
But because I need to send this result to somewhere, I need to store it in a string.
Thanks in advance. (7 Replies)
Discussion started by: eldaran
7 Replies
7. Shell Programming and Scripting
Hello everyone
I update my question.
Thanks for your reply joeyg
If I type the last command and send to a text file. I get this
last >usuarios.txt
root pts/0 160.40.35.277 May 22 11:08 still logged in.
root pts/0 alopez02 May 22 09:23 - 10:11 (00:47)
root pts/0 160.40.35.277 May 20... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies
8. UNIX for Advanced & Expert Users
Hi Friends,
I have siebel installed in one of my aix machines and while opening a file it gives below error.
$ vi SmSiebelSSO.conf
History file has no read permission. q
Please note the file has rwxr-xr-x for oracle:dba and i am trying to open using oracle id itself which is the owner... (1 Reply)
Discussion started by: DJ2176
1 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,,
I am new to the forum...but not to Unix.
I have gathered few questions from my mates who attended interviews in various companies as I have to attend one on dec 3rd for Sys admin position. Please respond with the answers you know and also help with various other interview... (2 Replies)
Discussion started by: impawan
2 Replies
LEARN ABOUT DEBIAN
os_type
os_type(3alleg4) Allegro manual os_type(3alleg4)
NAME
os_type - Stores the detected type of the OS. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
extern int os_type;
DESCRIPTION
Set by allegro_init() to one of the values:
OSTYPE_UNKNOWN - unknown, or regular MSDOS
OSTYPE_WIN3 - Windows 3.1 or earlier
OSTYPE_WIN95 - Windows 95
OSTYPE_WIN98 - Windows 98
OSTYPE_WINME - Windows ME
OSTYPE_WINNT - Windows NT
OSTYPE_WIN2000 - Windows 2000
OSTYPE_WINXP - Windows XP
OSTYPE_WIN2003 - Windows 2003
OSTYPE_WINVISTA - Windows Vista
OSTYPE_OS2 - OS/2
OSTYPE_WARP - OS/2 Warp 3
OSTYPE_DOSEMU - Linux DOSEMU
OSTYPE_OPENDOS - Caldera OpenDOS
OSTYPE_LINUX - Linux
OSTYPE_SUNOS - SunOS/Solaris
OSTYPE_FREEBSD - FreeBSD
OSTYPE_NETBSD - NetBSD
OSTYPE_IRIX - IRIX
OSTYPE_DARWIN - Darwin
OSTYPE_QNX - QNX
OSTYPE_UNIX - Unknown Unix variant
OSTYPE_BEOS - BeOS
OSTYPE_MACOS - MacOS
OSTYPE_MACOSX - MacOS X
SEE ALSO
allegro_init(3alleg4), os_version(3alleg4), os_multitasking(3alleg4)
Allegro version 4.4.2 os_type(3alleg4)