Unix ( Multiple Choice Quistion ) 1. Which Symbol be used with grep command to match the the pattern pat at the beginning of a line ? a. ^pat b. $pat c. pat$ d. pat^ Correct Answer : a Explantion : Matching the lines that start with a string : The ^ regular expression pattern specifies the start of a line. This can be used in grep to match the lines which start with the given string or pattern. $ grep "^unix" file.txt 2. Which command is used to sort the lines of a data in a file in reverse order ? a. sort b. sh c. sort-r d. st e. None of the above Correct Answer : ...
Hello everyone , This is a boy , Mintu Burnwal , a engineering student from information technology department. In this website , we will learn about basic knowledge to complete knowledge about the corporate world education and knowledge . So , people from any feild can able to learn from this website . stay tuned , keep learning friends and keep support . thank you !