cancel
Showing results for 
Search instead for 
Did you mean: 
Chetan_Tiwary_
Community Manager
Community Manager
  • 157 Views

Red Hat Linux Interview Series 33

Q.) Write a command that will give the sum total of the second column from below data file

cat data.csv

1,10,6
2,20,5
3,70,5 

 

Bonus Q. ) Modify the command to calculate the average value of the numbers in the second column of the data.csv file.

 

Q.) What are some of the most important skills one should have as a senior Linux administrator ?

Interviewers ask this question to assess a candidate's understanding of the critical skills and responsibilities required for a senior Linux administrator role. They want to gauge the candidate's experience, knowledge, and approach to system administration. You need to provide a comprehensive answer to this question.

 

Q.) What are your general day to day activities as a Linux administrator / Senior Linux administrator ?

The interviewer wants to understand the candidate's actual hands-on experience and daily responsibilities in a real-world Linux administration role.
This helps them evaluate if the candidate possesses the practical skills and knowledge required for the position.

 

 

Level L1 and above

 

I'll be posting a series of Linux-related questions covering various skill levels. Feel free to share your insights and expertise. Your contributions will benefit learners at all stages, from those in current roles to those preparing for Linux interviews.

 

4 Replies
TM
Flight Engineer Flight Engineer
Flight Engineer
  • 127 Views

For question 1 and its bonus

awk -F ',' ' { total += $2 } END { print total } ' data.csv

awk -F ',' ' { total += $2; number++ } END { print total/number } ' data.csv

Trevor
Starfighter Starfighter
Starfighter
  • 123 Views

Beautifully done!!!

Trevor "Red Hat Evangelist" Chandler
Trevor
Starfighter Starfighter
Starfighter
  • 107 Views

Q.) What are your general day to day activities as a Linux administrator / Senior Linux administrator ?

Answer:

I'm going to monitoring things.  The two primary areas that I'll be
monitoring are:
1)  resources
2)  logs

The primary resources I'll be monitoring are the three that are most
critical to the performance of my system:
- CPU
- Memory
- Storage

So, I'll be spending time with the indigenous tools, such as:
- top
- iotop
- htop
- vmstat
- iostat
- free

To monitor the log activity, I'll be spending time with the "journalctl"
utility.  Truly invaluable!!!


No user accout creations, password resets for the senior admin - too 
low level!

 

Trevor "Red Hat Evangelist" Chandler
Chetan_Tiwary_
Community Manager
Community Manager
  • 46 Views

@Trevor what about when 100 or more  linux servers that one typically has to manage in an organisation ?

0 Kudos
Join the discussion
You must log in to join this conversation.