Recent questions tagged unix

0 0 votes
0 0 answers
212
212 views
An example of a memory management system call in $\text{UNIX}$ is :fork.mmap.sigaction.execve.
1 1 vote
1 1 answer
1.7k
1.7k views
MSQ Consider the following statements, which one of the following is/are TRUEIn fork() system call, child process inherits all the open file descriptors of parent process...
0 0 votes
1 1 answer
545
545 views
An example of a directory found in most $\text{UNIX}$ system is :$\text{usr}$$\text{waitpid}$$\text{brk}$$\text{unmap}$
0 0 votes
1 1 answer
421
421 views
Which of the following is not an Unix Command?WhoamiwcIsput
0 0 votes
4 4 answers
2.6k
2.6k views
Match the following for Unix file system : $\begin{array}{clcl} & \textbf{List-I} & {} & \textbf{List-II} \\ \text{a.} & \text{Boot block} & \text{i.} & \text{Informat...
1 1 vote
2 2 answers
2.5k
2.5k views
Which statements is not correct about “init” process in Unix?It is generally the parent of the login shell.It has PID $1$.It is the first process in the system. Init fork...
0 0 votes
0 0 answers
419
419 views
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the hard disk after periods of inactivity. A user...
0 0 votes
1 1 answer
959
959 views
Many versions of UNIX use an unsigned $32$-bit integer to keep track of the time as the number of seconds since the origin of time. When will these systems wrap around (y...
0 0 votes
0 0 answers
736
736 views
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their...
0 0 votes
0 0 answers
571
571 views
Implement a program to measure the impact of application-level buffer sizes on read time. This involves writing to and reading from a large file (say, $2$ GB). Vary the a...
0 0 votes
0 0 answers
486
486 views
Write a new version of the UNIX ls program. This version takes as an argument one or more directory names and for each directory lists all the files in that directory, on...
0 0 votes
0 0 answers
534
534 views
Write a program that scans all directories in a $UNIX$ file system and finds and locates all i-nodes with a hard link count of two or more. For each such file, it lists t...
0 0 votes
0 0 answers
386
386 views
It has been suggested that the first part of each UNIX file be kept in the same disk block as its i-node. What good would this do?
0 0 votes
0 0 answers
438
438 views
We discussed making incremental dumps in some detail in the text. In Windows it is easy to tell when to dump a file because every file has an archive bit. This bit is mis...
0 0 votes
1 1 answer
956
956 views
Is the open system call in $UNIX$ absolutely essential? What would the consequences be of not having it?
0 0 votes
0 0 answers
522
522 views
In early UNIX systems, executable files (a.out files) began with a very specific magic number, not one chosen at random. These files began with a header, followed by the ...
1 1 vote
0 0 answers
549
549 views
Examine and try to interpret the contents of a UNIX-like or Windows directory with a tool like the UNIX od program. (Hint: How you do this will depend upon what the OS al...
0 0 votes
0 0 answers
952
952 views
Figure $1-23$ shows that a number of UNIX system calls have no Win32 API equivalents. For each of the calls listed as having no Win32 equivalent, what are the consequence...
0 0 votes
0 0 answers
1.1k
1.1k views
0 0 votes
1 1 answer
799
799 views
​​​​​​​In Linux operating system environment ____ command is used to print a file.printptrprlpr
0 0 votes
0 0 answers
640
640 views
Where can I study the UNIX portion of OS? That is relavent for GATE.
0 0 votes
0 0 answers
227
227 views
0 0 votes
2 2 answers
2.2k
2.2k views
Which UNIX/Linux command is used to make all files and sub-directions in the directory "progs" executable by all users?chmod - R a + x progschmod - R 222 progschmod - X a...
0 0 votes
1 1 answer
1.7k
1.7k views
Choose the incorrect statement Shell scripts can accept arguments Shell scripts are interpretedShell is a programming languageShell scripts are compiled
1 1 vote
1 answers 1 answer
594
594 views
The command cat x in unixis invalidcreates a file x and displays an error messagecreates a file x and waits for the user to give input from the keyboardnone of the above
1 1 vote
0 0 answers
804
804 views
how 3 could be ans?
1 1 vote
2 2 answers
1.0k
1.0k views
Consider the following statements:UNIX provides three types of permissionsReadWriteExecuteUNIX provides three sets of permissionspermission for ownerpermission for groupp...
3 3 votes
1 1 answer
1.2k
1.2k views
0 0 votes
1 1 answer
1.0k
1.0k views
Which of the following changes permission to deny write permission to group and others ?Chmod go-w filex Chmod go w filex Chmod go=w filex N...