Top 25 UNIX commands Interview Questions and Answers for Software Testing professionals
ฝัง
- เผยแพร่เมื่อ 3 พ.ย. 2020
- Here you will learn Top 25 UNIX commands interview questions and answers asked to software testers.
1. How to get the current directory?
2. How to create a new directory?
3. How to change or navigate to a particular directory ?
4. How to Navigate to HOME directory ?
5. How to move to one level up or directory up ?
6. How to create a new file ?
7. How to display the file content ?
8. How to join two files (file1, file2) and stores the output in a new file (file3) ?
9. How to Rename a file ?
10. How to Lists all files and directories ?
11. How to list files in sub-directories ?
12. How to list hidden files ?
13. How to delete a file ?
14. How to remove directory with files?
15. How to copy a file from one location to a new location ?
16. How to copy contents of a folder ?
17. How do you find out all processes that are currently running?
18. How do you kill a process ?
19. What would you use to view contents of a large error log file ?
20. How do you log in to a remote Unix box ?
21. How do you start a job on background ?
22. How do you know if a remote host is alive or not?
23. How do you copy a file from one server to your local system?
24. How to search a word inside a file ?
25. What is “chmod” command ?
Additional Info
Link for SDET/QA Interview Full Play List ► bit.ly/3frBpQZ
Link for API Testing Full Play List ► bit.ly/2BY0vHu
Link for Cypress Tutorial Full Play List ► bit.ly/3iMdi2a
Link for Web-services Full Play List ► bit.ly/3bfK0Ef
Link for Protractor Testing Full Play List ► bit.ly/2ztlEIK
Link for Java Programs for Software Testers Full Play List ► bit.ly/2ZGeBFC
Link for Java Tutorial Full Play List ► bit.ly/2Z3tP8L
Link for Selenium Tutorial Full Play List ► bit.ly/3vFR9X5
Link for TestNG Full Play List ► bit.ly/3jGJ3YT
Please subscribe to our channel ► bit.ly/2UIvFcm
and press the bell icon to get updates on latest tutorial.
#softwaretestingandautomation #subhasishmishra #softwaretesting #selenium #apitesting #java #restassuredapiautomation #testng #sql #unix #automationtesting #softwaretestinginterviewquestionandanswers #testautomation
Awesome list!. Thanks very much. Added timestamps to the questions..
0:36 How to get the current directory?
1:46 How to create a new directory?
3:06 How to change or navigate to a particular directory?
4:27 How to change or navigate to HOME directory?
5:47 How to move to one level up or directory up?
6:36 How to create a new file?
9:24 How to display the file content?
10:15 How to join two files(file1, file 2) and store the output in new file (file3)?
11:35 How to rename a file?
12:34 How to list all files and directories?
13:09 How to list all files in sub-directories?
15:38 How to list hidden files?
16:42 How to delete a file?
17:34 How to remove directory with files?
18:40 How to copy a file from one location to a new location?
21:50 How to copy contents of a folder?
23:21 How do you find out all processes that are currently running?
23:56 How do you kill a process?
25:04 What would you use to view contents of a large error log file?
26:18 How do you log into a remote Unix box?
26:53 How do you start a job in background?
27:32 How do you know if a remote host is alive or not?
28:21 How do you copy a file from one server to your local system?
29:37 How to search a word inside a file?
30:10 What is "chmod" command?
Thank you 😊
This is amazing!
I think I found the solutions to the tasking questions I was given as a fresher. It's so benefitial for me.
Thank you!!! Keep learning new things😊
I like the way that you are actually demonstrating the answer for the questions.
Thank you !! Keep learning and sharing with your friends 😊
really helpful…you have shown the commands with practical…thanks
First of all Thank you for your video. Awesome. I am beginner the Unix. I learnt quickly and ver easy understanding. And you voice slowly super. I liked you video. Then continue. Thank you.
Thank you !!!Keep learning new things 😊
Very Informative video. Thanks sir.
Clear explanation, Thank you so much.
Glad to hear that!! Keep learning and sharing with your friends 😊
thank you so much. was very helpful, to the point and very helpful.
Welcome 😊 Great to hear that!
Best overview video for a refresher I found, thanks!
Glad you enjoyed it!
Very useful and easy to understand the UNIX commands.
A great thanks.
Glad it was helpful!
#Super session.... I refer backed my subject.... Good session. Thank you!!!!
I am glad you liked it!
Very informative and imp commands..Thanks for such a great video
You are welcome. Keep learning and sharing with your friends 😊
Very useful. Thanks for sharing.
I am glad it was helpful! Keep learning and sharing with your friends 😊
Thank you so much Sir for sharing interview questions on Unix. If possible also kindly share some toughest questions on Unix for experienced
Thanks for your valuable information brother 🤝
Glad to hear that!! Keep learning and sharing with your friends 😊
Thank you sir.😊.... provide more videos please. You are a good teacher.
You are welcome. Videos are coming regularly, keep learning :-)
Very useful for freshers 👍
Thank You :-)
Thanks its really helpful
Thank you for the explanation
You are welcome! 😊
Very useful for beginners thank you
Welcome 😊 Keep learning new things 😊
It is very helpful and easily understand for beginner's. That for your video
Glad to hear that !! Thank you :-)
very helpful video Thank you..
Glad it was helpful!
Very informative video , thanks
You are welcome!!! keep sharing with your friends 🙂
very useful, thank you so much sir
Welcome, I am glad it was helpful 😊
Thank you very much
Very nicely explained👌🙏🙏🙏🙏
Thank you. keep learning new things :-)
Nice content
Just one question as an Automation developer where we could use UNIX command?
Thanks for this valuable video
Most welcome!!Keep learning and sharing with your friends 😊
We need more videos like this, will share to all my friends
Thank you 😊 sure I will continue that👍
thanku you so much for telling those imp cmd of linux
It's my pleasure
Very useful🥰. Keep sharing
Thank you, I will
The video is great, but I believe it lack some information, like you could've explained the purpose of all options that you're using with commands. For example, "ls -ltr" here you're using 3 options, so what is the exact purpose of l, t, and r separately and similarly for other commands also.
Your way of explanation is super
Thank you :-)
Thank you Sir.. 🙏
Most welcome :-)
It is very useful to me tq dear 🙏🙏🙏
Welcome 😊
Thank you so much sir. This is helpful to me
You are most welcome !! Keep learning and sharing with your friends 😊
Yes sir , thank you
In ques 16, for me it is copying the entire directory inside other directory and not just its content.. is there any other way to do so?
Tq sir it's useful for my interviews
Glad to hear that!! Keep learning and sharing with your friends 😊
Very useful 👍
Thank you
Very good useful for me
Glad to hear that :-)
Thank you so much bro
Welcome!! Keep learning and sharing with your friends 😊
Excellent sir👍👍
Thank you!!! Keep learning new things :-)
Discuss some questions for awk,sed,head and tail ps command
Superb......
Thank you! Cheers!
Thank you
You are welcome!!! keep sharing with your friends 🙂
Thank you sir
Welcome. Keep sharing with your friends 😊
For question 14th- the question was how to remove a directory with files but you mentioned rm -rf command which is used to remove folder. Is folder and directory the same thing here?
yes folder and directory are the same thing here.
What is the ls option that prints the author of a file please ?
🔥🔥🔥
Thank you so much for sharing your knowledge with us. Just a small suggestion, please don't use Red background for your future videos.
Thank you for the honest feedback 😊 I have changed the background in my new videos.
thanku sir, very help full. please provide some new advance commands
Glad yo hear. It will come soon.
I like the way you say OKAY?
😊
Thank you for this video...
& are you having any telegram channel
Thank you :-) No not yet.
hello sir very vey thankful to u sir...I mean all your videos are apt and to the point....Sir i wanted to ask a question...is this video ok for 2 years of exp person who is trying to move to Unix testing....hoping for a reply from u....🙂
Thank you. These are basic commands and good for 1-4 Yr experience candidates. But you can always learn more and be prepared for advanced level questions.
can anyone please tell where to practise unix commands in online ?
I cant understand the 18th question. What is pid you are refeering to ?
Thank you sir.....very well done.
You are welcome
thank you sir ...if any chance we need xtra clarification about 18-25 questions... if possible to put new vdo then pls do it sir .. thanks..❤️
Sure I will do that, please let me know your queries.
@@SoftwareTestingAndAutomationSir, we need practical explain like other questions..
Can you share the slides?
the search/find command was not viewed on the screen but overall it is very useful
Thank you 😊
How to shutdown, restart server in linux ? How can i view the properties config file and change it ? Could you please explain that in details ?
Sure, I will prepare a video on this topic.
Ans to Ques 6: We can also create file using "touch" command.
Real purpose of touch command is to update the timestamp on a file.
Thank for kind information.
But I want to correct you one thing.
You are saying CD.. Will to one step up.
But actually it will one step down
Thank you. cd . . is used to shift one level above the current directory
24. I tried the "grape" command and nothing happened. I got an error.
Hi Sir. ls -ltr and ls -l produces the same result? I don't see any differences between them.
Ls -ltr is used to get the last modified file at the bottom
L for long list
T for time
R fir recursive
This is different
Touch command can also be used to create a File
correct.
bro 6 questions ki main command cheppaledu vi and cat chepparu kani you forgot the (touch) command . touch command is used to create a multiple files at a time .
Video is awesome but at end of videos commands are not executed practically can you please share those command with examples
Thank you. sure I ll add it.
Unix can create only txt files ?
You can create any kind of file, just use that file extension.
Is this only for interview?!
You can use it for normal learning as-well.
is unix commands and linux commands are same or not??
It's not same but very much similar.
Question 8. Cant see two files under new file
These are unix commands or Linux commands??? Please any one tell me.
These commands can be used in both Unix and Linux.
Made videos fir experience one candidate, 2-3-5 years experience
Sure
Sir where is it practice tel me...
You can use a Linux machine Terminals or if you have mac you can use terminal. Also you can search Online Linux Terminals to practice.
Lectures are good but the red background should be changed. Eyes start to suffer after watching continue. Light color background is needed.
Dissapointed with the explanation for question from 20 to 23. It's not very well explained like others questions which you have done very well.
No examples for main commands. Simple commands your going in detail
Very Basic questions
yes
How to list files in sub directories ls *
ls -R
Just say PWD means Print Working Directory!!!!
yes, pwd stands for Print Working Directory.
Present working directory
Sir ur odia Or bengali
Odia 😊
I don’t understand 24th question
How to find or search a word inside a file ?
The grep command searches through the file, looking for matches to the pattern specified.
To use it type grep , then the pattern you are searching for and finally the name of the file (or files) you are searching in.
Example :- grep java book.txt
In which website is he practicing
Vi ab.txt is command to open file to write something not to create a file. to create a file command will be touch ab.txt
Sir I need some help I want to switch into automation testing from manual testing,