Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, 26 June 2021

Basic Linux Commands Set for QA and SDET 2023? Linux commands for Manual Testers, DevOps?




"Linux FUN FACTS"100% of the world’s 500 fastest supercomputers run Linux.

Let's learn Linux commands for SDET/QA/DevOps profile, do check previous posts with 40+ Linux commands and make your own cheat sheet with the entire list.
Happy Learning!

  Linux Commands Set-01 for SDET/DevOps INterview Questions

  Linux Commands Set-02 for SDET/DevOps

Linux Commands set-03 for SDET/DevOps Interview Questions


  • How to search first line of file file3.txt

head -n 1 file3.txt

  • How to search last 3 line of file file3.txt

tail -n 3 file3.txt

  • HOW TO GET ALL THE LINES IN THE FILE “file3.TXT” which CONTAINS Test?

grep Test file3.txt

  • HOW TO GET ALL THE LINES IN THE FILE “file3.TXT” which has the word Test?

grep -w Test file3.txt

  • HOW TO GET ALL THE LINE number IN THE FILE “file3.TXT” which has the word Test?

grep -w -n Test file3.txt


Top 21 GIT interview questions: Click Here


  • How to provide CHMOD?

It is used to change read, write and execute permission 


0: no permission

1: execute

2: write

3: write and execute

4: read

5: read and execute

6: read and write

7: read, write and execute



  • What is top command ?

It is same as Task Manager in windows machine. The output will look like below


  • rmdir command vs rm command?
The rm command is used to delete directories and the contents within them but rmdir only allows you to delete empty directories.
  •  What is the use of traceroute in Linux?
Click Here For Answer
  • How to edit a file in Linux?
Use vi editor, for example let we want to edit file with name as file3.txt then we can use below steps:

-   vi files3.txt

- Use “i” to insert inside editor

- Press esc to come out of editor mode and then use :wq

- :wq : save the file and quit

Infact you can use :q or :w for below-->

:w :save the file

:q quit without saving


Tips: K j h l to move cursor inside vi editor (up/down/left/right)


Know About DevOps-Click Here

  •  How to create a file with name as file3.txt?

touch file3.txt or cat > file3.txt


  • What is the use of PWD command?

Use the pwd command to find out the path of the current working directory,  it  will return an absolute  path like :/Users/Sishukla




*************************************************

API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API

 
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes

 
Docker Interview Question Set
https://automationreinvented.blogspot.com/2020/02/top-18-docker-commands-for-aytomation.html

 
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux

 
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign


Java Related Interview Question Set

https://automationreinvented.blogspot.com/search/label/Java


GIT Interview Question Set:
https://automationreinvented.blogspot.com/search/label/GIT


Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions








Friday, 8 January 2021

Top 50 Linux Commands for SDET/Software QA and DevOps Interview question Set - 04? Linux Commands for Admin Profile 2021?


"Linux FUN FACTS"100% of the world’s 500 fastest supercomputers run Linux.

Let's learn Linux commands for SDET/QA/DevOps profile, do check previous posts with 40+ Linux commands and make your own cheat sheet with the entire list.
Happy Learning!

  Linux Commands Set-01 for SDET/DevOps INterview Questions

  Linux Commands Set-02 for SDET/DevOps

Linux Commands set-03 for SDET/DevOps Interview Questions

 45. Cron- set up scheduled tasks to run.
want to know more about cron job with examples: https://en.wikipedia.org/wiki/Cron#CRON_expression

46. nmcli – network management.
47. ping – send ICMP ECHO_REQUEST to network hosts.
48. traceroute Click Here For Answer
49. mtr – network diagnostic tool.
50. nslookup 
Click Here For Answer
51. host – perform DNS lookups in Linux.

Top 21 GIT interview questions: Click Here

 
52.
fdisk Click Here For Answer
53. wget – retrieve files over HTTP, HTTPS, FTP, and FTPS.
54. curl – transferring data using various network protocols. (supports more protocols than wget)

Know About DevOps-Click Here

 
55. dd – convert and copy files.
56. 
nc Click Here For Answer
57. 
parted – for creating and manipulating partition tables.

Top Kubernetes Commands-Click Here

 
58. blkid – command-line utility to locate/print block device attributes.
59. mkfs – build a Linux file system.
60. fsck – 
Click Here For Answer

  • What is Kali Linux:

Kali Linux is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali Linux was released on the 13th March 2013 as a complete, top-to-bottom rebuild of BackTrack Linux, adhering completely to Debian development standards.
Refer the link to learn more on Kali Linux: https://www.kali.org/docs/introduction/what-is-kali-linux

  • ncdu – a disk utility for Unix systems.
  • touch – used to update the access date and/or modification date of a computer file or directory.

                                           

Linux Commands Set-01 for SDET/DevOps INterview Questions

  Linux Commands Set-02 for SDET/DevOps

Linux Commands set-03 for SDET/DevOps Interview Questions

 

What is LILO in Linux?

LILO (Linux Loader) is basically a bootloader for Linux that is used to load Linux into memory and start the OS. It is also known as a boot manager that facilitates a dual boot of a computer. It can function as either a master boot program or secondary boot program and performs various functions such as locating kernel, identifying other supporting programs, loading memory, and starting the kernel. If you want to use Linux OS, then you need to install a special bootloader i.e., LILO for it as it allows fast boot of Linux OS.

Python Interview Question Set for QAE - SDET - SDE:
https://automationreinvented.blogspot.com/search/label/Python

 API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API

 
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes

 
Docker Interview Question Set
https://automationreinvented.blogspot.com/2020/02/top-18-docker-commands-for-aytomation.html

 
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux

 
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign


Java Related Interview Question Set

https://automationreinvented.blogspot.com/search/label/Java


GIT Interview Question Set:
https://automationreinvented.blogspot.com/search/label/GIT


Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions

All Time Popular Posts

Most Featured Post

𝗦𝘁𝗶𝗹𝗹 𝘀𝘁𝗿𝘂𝗴𝗴𝗹𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝗝𝗮𝘃𝗮 𝗰𝗼𝗱𝗶𝗻𝗴 𝗿𝗼𝘂𝗻𝗱𝘀?

❓ 𝗦𝘁𝗶𝗹𝗹 𝘀𝘁𝗿𝘂𝗴𝗴𝗹𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝗝𝗮𝘃𝗮 𝗰𝗼𝗱𝗶𝗻𝗴 𝗿𝗼𝘂𝗻𝗱𝘀? The issue isn’t your logic—it’s the lack of pattern recogniti...