By Vignesh
Linux Interview Questions & Answers
Technology:
- What is Unix?
- What is Kernel?
- What is Shell?
- What is Shell Script?
- Why to use Shell Script?
- How will you edit files in Linux machine?
- How will you print messages in console?
- Write a sample code to perform Shell script arithmetic operations?
- How will you get the exit status of the previous command execution in Shell?
- How will you read user input using Shell script?
- How will you find list of files in a directory?
- How can you get the Schell Script name during script execution?
- How will you get the total number of arguments passed in the Shell script file?
- How will you append data to a file?
- How will you find the list of currently running process in the Linux system?
- How will you terminate a process?
- How will you stop all process running in your machine by executing a single command?
- Explain the command used to see the performance, memory and cpu usage in the Linux system?
- How will you debug a Shell script execution?
- what is the command to display the file content?
- What is the command to move to your home directory from any directory location?
- How will you move the content of file-1 and file-2 to another file named file-3 by single command execution?
- How will you display the first 20 lines of a file?
- How will you display the last 20 lines of a file?
- How will you find the list of all users logged in to the system?
- How will you find the details of the command user?
- How to enable FTP service in Linux?
- How will you find the Disk space details of your machine?
- How will you find the free space details of your machine?
- How will you change the time stamp of a file?