abani kumar mahana


{ City } bangalore
< Country > india
* Profession * software engineer
User No # 67748
Total Questions Posted # 0
Total Answers Posted # 8

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 0
Questions / { abani kumar mahana }
Questions Answers Category Views Company eMail




Answers / { abani kumar mahana }

Question { IBM, 12242 }

Give Command that will move a single file
called "unix.txt"


Answer

mv filename dest_location --> to move the file to other location
mv filename filename1 --> to rename the file

Is This Answer Correct ?    0 Yes 0 No

Question { 6965 }

In Unix file permissions what does the second field denotes?


Answer

It is for group i.e what the group is having permission it will display

Is This Answer Correct ?    0 Yes 0 No


Question { TCS, 14299 }

How to get the operating system's information in unix?


Answer

uname,
uname -a

Is This Answer Correct ?    1 Yes 0 No

Question { 8733 }

what are the different commands used to create files?


Answer

touch, cat, vi, vim, pico
A) touch: touch
B) cat: cat >
C) vi: vi
D) vim: vim
E) pico: pico

Is This Answer Correct ?    0 Yes 0 No

Question { 8041 }

What is the use of pipes?


Answer

Pipe command is used sending one command's output to other command input
ex:- ls -l | wc -l
here ls -l will show details of files available and wc -l will show how many rows(total no of rows) the previous command diaplayed

Is This Answer Correct ?    0 Yes 0 No

Question { IBM, 20810 }

how to find the 51th record of a file containing 100 records
in unix.


Answer

head -51 | tail -1

Is This Answer Correct ?    0 Yes 0 No

Question { 6569 }

to list a particular line in the file


Answer

sed -n '1p'
head -n filename | tail -1
(change n as per your requirements)

Is This Answer Correct ?    0 Yes 0 No

Question { Amazon, 10682 }

Which is the command used to find out currently executing
Process in UNIX?


Answer

ps -ef

Is This Answer Correct ?    1 Yes 0 No