Filter interviews by
To search for a string in a file, you can use tools like grep or findstr.
Use the grep command in Unix/Linux systems: grep 'search_string' file_name
Use the findstr command in Windows systems: findstr 'search_string' file_name
You can also use text editors like Vim or Notepad++ to search for a string in a file
Relative paths are based on the current directory, while absolute paths start from the root directory.
Relative paths are shorter and do not include the full path from the root directory.
Absolute paths start from the root directory and include the full path to the file or directory.
Example of relative path: 'folder/file.txt'
Example of absolute path: '/home/user/folder/file.txt'
The echo command is used to display a line of text or a variable value in the terminal.
Used to print text or variable values to the terminal
Can be used to create simple scripts or display messages to users
Commonly used in shell scripting to output information
grep is a basic pattern matching tool, while egrep is an extended version with support for regular expressions.
grep is a basic command-line utility for searching plain text data for lines that match a regular expression pattern.
egrep is an extended version of grep that supports extended regular expressions.
egrep is equivalent to grep -E, enabling the use of extended regular expressions like +, ?, |, () in the patt...
To check the computer name or hostname in Linux, you can use the 'hostname' command.
Use the 'hostname' command to display the current hostname of the system.
To change the hostname, use the 'hostnamectl set-hostname' command followed by the new hostname.
To view the fully qualified domain name (FQDN), use the 'hostname -f' command.
To check the current user in Linux terminal, you can use the 'whoami' command.
Use the 'whoami' command to display the current user's username.
Alternatively, you can also use the 'id' command to display information about the current user.
The command 'chmod' is used to change permissions of a file in Linux.
Use 'chmod' command followed by the permission code and the file name to change permissions of a file.
For example, 'chmod 755 file.txt' will give read, write, and execute permissions to the owner, and read and execute permissions to group and others.
To rename a file in Linux, you can use the 'mv' command.
Use the 'mv' command followed by the current file name and the new file name
Make sure to specify the full path if the file is not in the current directory
You can also use relative paths for the file names
To check the current path/directory, use the 'pwd' command in Unix/Linux or 'cd' command in Windows.
In Unix/Linux, type 'pwd' and press Enter
In Windows, type 'cd' and press Enter
To edit an existing file on a Linux server, you can use a text editor like Vim or Nano.
Use a text editor like Vim or Nano to open the file for editing
Make the necessary changes to the file
Save the changes and exit the text editor
I applied via Job Fair and was interviewed in May 2023. There were 2 interview rounds.
The echo command is used to display a line of text or a variable value in the terminal.
Used to print text or variable values to the terminal
Can be used to create simple scripts or display messages to users
Commonly used in shell scripting to output information
To check the computer name or hostname in Linux, you can use the 'hostname' command.
Use the 'hostname' command to display the current hostname of the system.
To change the hostname, use the 'hostnamectl set-hostname' command followed by the new hostname.
To view the fully qualified domain name (FQDN), use the 'hostname -f' command.
To check the current user in Linux terminal, you can use the 'whoami' command.
Use the 'whoami' command to display the current user's username.
Alternatively, you can also use the 'id' command to display information about the current user.
To check the current path/directory, use the 'pwd' command in Unix/Linux or 'cd' command in Windows.
In Unix/Linux, type 'pwd' and press Enter
In Windows, type 'cd' and press Enter
Relative paths are based on the current directory, while absolute paths start from the root directory.
Relative paths are shorter and do not include the full path from the root directory.
Absolute paths start from the root directory and include the full path to the file or directory.
Example of relative path: 'folder/file.txt'
Example of absolute path: '/home/user/folder/file.txt'
The command 'chmod' is used to change permissions of a file in Linux.
Use 'chmod' command followed by the permission code and the file name to change permissions of a file.
For example, 'chmod 755 file.txt' will give read, write, and execute permissions to the owner, and read and execute permissions to group and others.
To edit an existing file on a Linux server, you can use a text editor like Vim or Nano.
Use a text editor like Vim or Nano to open the file for editing
Make the necessary changes to the file
Save the changes and exit the text editor
To rename a file in Linux, you can use the 'mv' command.
Use the 'mv' command followed by the current file name and the new file name
Make sure to specify the full path if the file is not in the current directory
You can also use relative paths for the file names
To search for a string in a file, you can use tools like grep or findstr.
Use the grep command in Unix/Linux systems: grep 'search_string' file_name
Use the findstr command in Windows systems: findstr 'search_string' file_name
You can also use text editors like Vim or Notepad++ to search for a string in a file
grep is a basic pattern matching tool, while egrep is an extended version with support for regular expressions.
grep is a basic command-line utility for searching plain text data for lines that match a regular expression pattern.
egrep is an extended version of grep that supports extended regular expressions.
egrep is equivalent to grep -E, enabling the use of extended regular expressions like +, ?, |, () in the pattern.
e...
Top trending discussions
I applied via Referral and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jan 2021. There were 3 interview rounds.
In five years, I envision myself as a senior analyst, leading projects and mentoring junior team members while driving impactful data-driven decisions.
I aim to develop expertise in advanced analytics tools, such as Python and R, to enhance data modeling capabilities.
I plan to take on leadership roles in projects, guiding teams to deliver actionable insights that align with business goals.
I aspire to mentor junior analy...
To debug a particular program without affecting others, use breakpoints and step through the code.
Set a breakpoint in the program you want to debug
Step through the code using a debugger to identify the issue
Use logging statements to track the flow of the program
Check the call stack to see which functions are being called
Use conditional breakpoints to stop the program at specific points
I applied via Walk-in and was interviewed before Jun 2021. There were 2 interview rounds.
HR told about the company on the first day, how it works, told the rules, showed the management and a lot
I applied via Approached by Company and was interviewed before Jul 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
If and Switch Case statements are used for conditional branching in programming.
If statements are used for simple conditional branching.
Switch Case statements are used for multiple conditional branching.
If statements are more flexible than Switch Case statements.
Switch Case statements are more efficient than If statements for large number of conditions.
If statements can be nested, but Switch Case statements cannot.
Exam...
Yes, algorithms and pseudocodes are still important in IT Services.
Algorithms are used in various fields of IT such as machine learning, data analysis, and cryptography.
Pseudocodes are used to plan and design algorithms before coding them.
Understanding algorithms and pseudocodes is essential for software engineers to write efficient and optimized code.
Examples of algorithms include sorting algorithms, search algorithms...
Yes, I am comfortable using both CLIs and IDEs for my daily tasks.
I have experience using various CLIs such as Git Bash, Windows Command Prompt, and Terminal on macOS.
I am proficient in using IDEs such as Visual Studio Code, Eclipse, and IntelliJ IDEA.
I understand the benefits and drawbacks of both CLIs and IDEs and can choose the appropriate tool for the task at hand.
I applied via Referral and was interviewed in Dec 2020. There were 4 interview rounds.
based on 1 interview experience
Difficulty level
Duration
based on 62 reviews
Rating in categories
Software Engineer
89
salaries
| ₹3 L/yr - ₹9 L/yr |
Softwaretest Engineer
32
salaries
| ₹3.6 L/yr - ₹7.2 L/yr |
Software Developer
31
salaries
| ₹3 L/yr - ₹9.5 L/yr |
QA Engineer
28
salaries
| ₹3.8 L/yr - ₹5 L/yr |
Devops Engineer
23
salaries
| ₹4 L/yr - ₹9 L/yr |
TCS
Accenture
Wipro
Cognizant