![]() |
| 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 |
![]() Related Questions A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command. Example : ls Latest Answer : The Unix commands alone are powerful, but when two or more commands get combine together, we can accomplish complex task with ease.In unix we can combine the two or more commands together to perform multiple action simulatenously with the help of Pipe ... Directing the flow of data to the file or from the file for input or output.Example : ls > wc Latest Answer : Whenever we run a command on shell prompt we get some output on shell prompt.In case we don't want to appear the output on the shell prompt we can redirect the output to the somewhere else. We can make the output which go into the file or may be directly ... ‘inode’, each file has a separate inode and a unique inode number. Latest Answer : The data structure that is used to maintain the In-Core Inode Information is "Inode Table". This table (logical representation) has the following information abt the file:- - type of the file - permissions on the link - Owner Id - ... Yes, wc-stands for word count.wc -c for counting number of characters in a file.wc -l for counting lines in a file. Latest Answer : Yes,It is possible to count the words,lines,characters in a file..In Unix,i used..$wc -c filename -> for characters$wc -l filename ->for lines$wc -w filename ->for words ... Yes, ‘mkfs’ is used to create a new file system. Latest Answer : Yes,mkfs -t filesystem device name.for e.gmkfs -f ext3 /dev/hda2 ... $od -cbd file_namec - character, b - binary (octal), d-decimal, od=Octal Dump. Latest Answer : to change the output in binery format the command is :%!xxd -b ... Cat displays file contents. If the file is large the contents scroll off the screen before we view it. So command 'more' is like a pager which displays the contents page by page. Latest Answer : The cut command cuts bytes, characters, or fields from each line of a file and writes these bytes, characters, or fields to standard output. If you do not specify the File parameter, the cut command reads standard input.The more command reads files and ... ‘grep’ is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s). Syntax : grep Example : Latest Answer : Grep - stands for Globally Search a Regular Expression and Print. It is used to search a given string/pattern under the given path and list out all the occurances of it in a file or set of files. Following are the options available for grep ... After the command line is terminated by the key, the shel goes ahead with processing the command line in one or more passes. The sequence is well defined and assumes the following order.Parsing: Latest Answer : when processing a command the searchs for the utility for the command in the directories specified in the PATH varible and it in invokes that utility. That utility will execute the command with help of kernel and the output is given to shell. And then ... is the output redirection operator when used it overwrites while >> operator appends into the file. Latest Answer : ">" operator redirects the output to a file, if the file already existst and contains some data in it, the ">" would cause the data over written with new data.">>" Redirects the output to be appened to the end ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||