Тёмный

Linux Interview Question: How to Find Largest or Biggest file in a Linux Directory | In Hindi 

M Prashant
Подписаться 82 тыс.
Просмотров 22 тыс.
50% 1

‪@MPrashant‬
#mprashant #linux #interviewquestions
Alright dosto, ki haal chaal
In this video I have covered, How to find biggest or largest file on Linux server in a given directory?
this is a most asked interview question for Linux and also an important Linux concept to understand and useful in day to day life and scripting.
To find biggest or largest file on linux server we can use the following methods:
using find command
using du command
using ls command
----------------------------------------------------------------------------------
linux interview questions,
linux interview questions and answers,
linux interview questions for freshers,
linux interview study
In this video, we'll be discussing how to find the largest or biggest file in a directory in Linux. We'll be using the command line and Hindi to explain the technique.
If you're looking to gain some experience working with the Linux command line, this video is for you! In this video, we'll be discussing how to use the command line to find the largest or biggest file in a directory. We'll be using Hindi to explain the technique, so be sure to pay attention! After watching this video, you'll be able to use the command line to find large files in a directory with ease.
in this video, we'll be answering a Linux interview question about how to find the largest or biggest file in a directory in Linux. This question is common on various Linux interview questions, and we hope to help you learn the answer!
If you're looking to score a Linux interview, this is a question you need to be able to answer! In this video, we'll walk you through the steps necessary to find the largest or biggest file in a directory in Linux. We'll also include a Hindi translation so you can be sure to understand the answer correctly!
In this video, we are going to learn how to find the largest or biggest file in a directory in Linux. This is an important question to know for any Linux interviewer and is important for any software engineer.
We will be using the du command to find the largest files in a directory. We will also be using the filter option to show us only the largest files. Finally, we will learn how to output the information in a human readable format.
So, in this video, we are going to learn how to find the largest file in a directory in Linux. We will be using the du command, the filter option and the human readable format to do this.
Linux exam
Linux interview study
linux interview questions and answers
linux interview questions and answers for freshers
linux interview
linux interview questions
top linux interview questions
linux interview questions for freshers
linux interview study
linux interview preparation
best linux interview questions
Linux questions and answers
Linux qna
linux job interview questions
Linux questions
linux quiz
linux exam
60 Linux questions
Linux job question
Linux questions for job interview
Linux most useful commands
Linux most useful questions
Linux questions for job interview
Linux Job questions
Linux interview questions 2022
Best Linux video
Best Linux tutorial for beginners
Linux viral videos
Linux best channel
Best channel to learn Linux
linux tutorial for beginners,
linux command line,
linux tutorial,
linux interview questions,
linux interview,
linux interview questions and answers,
linux interview questions for freshers
,linux interview study
,biggest file on linux,
linux largest file
,largest file on linux
,large file in linux
,linux large file,
linux big file
,how to find largest file on linux server,
find largest file using find command,
find largest file using du command
linux interview questions and answers for experienced

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@techyrecon7922
@techyrecon7922 Год назад
after seeing first command i was literally like "kyu hila dala na" but at the end of the video everything were easy nice explanation bhaiya 😎😎
@MPrashant
@MPrashant Год назад
Glad it helped 😀
@the_chessian
@the_chessian Год назад
thanks for this keyword - maxdepth 🤗 this one is from my side 😇 find . -maxdepth 1 -type f -exec ls -lhS {} + | head -1 or find . -maxdepth 1 -type f -exec ls -lhS {} + | head -1 | awk '{print $5, $9}'
@MPrashant
@MPrashant Год назад
great!
@prashantdgabhane4526
@prashantdgabhane4526 Год назад
Sir ji ek video ap How to do troubleshoot in Linux server ispe bana do
@prashantdgabhane4526
@prashantdgabhane4526 Год назад
What is troubleshooting
@MPrashant
@MPrashant Год назад
sure, thanks for the suggestion.. Video on troubleshooting will be coming soon :)
@prashantdgabhane4526
@prashantdgabhane4526 Год назад
Thanks sir ji
@veriverithanam2867
@veriverithanam2867 Год назад
@@MPrashant waiting
@veriverithanam2867
@veriverithanam2867 Год назад
Also plz try to post most common incidents/issue faced by a Linux Admin
@evergreen1612
@evergreen1612 4 месяца назад
great brother✌✌
@varnikaajain5004
@varnikaajain5004 Год назад
I can't express in words how much your videos are helping me😊
@MPrashant
@MPrashant Год назад
It's my pleasure!
@gautamraja2012
@gautamraja2012 Год назад
Really appreciate your effort .I am watching all your videos.
@MPrashant
@MPrashant Год назад
Thanks a ton!
@PrashantChaudhary-ye3bc
@PrashantChaudhary-ye3bc Год назад
Why we didn't expand the ls command to ls -lsh , to sort it by size, instead of adding new command after pipe
@MPrashant
@MPrashant Год назад
Yeah we could expand that as well
@shivadasdey7019
@shivadasdey7019 Месяц назад
I have concern here instead of awk command can we use cut to cut that particular field
@MPrashant
@MPrashant Месяц назад
Yes we can use Cut command too
@nitinjan18
@nitinjan18 7 месяцев назад
Excellent
@MPrashant
@MPrashant 7 месяцев назад
Thanks
@nikhiltyagi7706
@nikhiltyagi7706 Год назад
I like the way you teach .Could you able to share the notes in one video as well ?
@MPrashant
@MPrashant Год назад
thanks for the feedback!, I will try to include notes as well
@targetachiever5014
@targetachiever5014 Год назад
Please request you sir that will be helpful
@pratikbhor5519
@pratikbhor5519 Год назад
Thank you so much Prashant sir your teaching style is very superb 🔥
@MPrashant
@MPrashant Год назад
It's my pleasure, and thanks for the feedback!
@audumbarbhosale5217
@audumbarbhosale5217 Год назад
Hi Prashant sir please make video on Debugging, deployment and Log Analysis
@MPrashant
@MPrashant Год назад
This is noted, I will try soon!
@audumbarbhosale5217
@audumbarbhosale5217 Год назад
Thanks sir please try it soon
@hash.e.d
@hash.e.d 11 месяцев назад
Also confirm how to find the file which is having maximum size in whole server.. i tried below but unable to understand the output. -r--------. 1 root root 128T Oct 10 08:07 kcore [root@localhost bin]# find / -exec ls -lh {} \; |sort -k5rh | head -1
@pawaryash007
@pawaryash007 Год назад
Useful. Thank you.
@MPrashant
@MPrashant Год назад
Glad it was helpful!
@surajpawar550
@surajpawar550 8 месяцев назад
ls -lrta|sort -nk5
@naveen.singhh
@naveen.singhh Год назад
Ls -Sr | tail -1
@naveen.singhh
@naveen.singhh Год назад
But bro.. Ls -Sr | tail -1 Will do the job
@MPrashant
@MPrashant Год назад
There may be different ways to do a task 😀
@MPrashant
@MPrashant Год назад
Only difference is Find command gives you more flexibility
@karimmulla5452
@karimmulla5452 Год назад
You are the best as always
@MPrashant
@MPrashant Год назад
Thank you 😊
@luciferkhan7906
@luciferkhan7906 Год назад
Hello bro i am have a question ? How to set temprory prompt on terminal with the help of shell scripting means when we execute script so our prompt set on terminal whatever we give in prompt.Please give me reply if you know ans
@MPrashant
@MPrashant Год назад
You can use 'sleep' like for given no. of seconds or min (as you mentioned temporary)
@MahendraKumar-zc3xx
@MahendraKumar-zc3xx Год назад
I am laughed alot at the time hiladiya na
@MPrashant
@MPrashant Год назад
Haha
@eurekamani6874
@eurekamani6874 Год назад
Awesome explanation
@MPrashant
@MPrashant Год назад
Thanks!
@veriverithanam2867
@veriverithanam2867 Год назад
Keep posting 🥰🥰
@MPrashant
@MPrashant Год назад
sure thing!
@Unknown-rh5jh
@Unknown-rh5jh Год назад
awk -F/'{print $NF}' just by using this at last it gives only file name no need for extra awk '{print $NF}'.What say?
@MPrashant
@MPrashant Год назад
Yeah am from MP :)
@Unknown-rh5jh
@Unknown-rh5jh Год назад
@@MPrashant matlab?
@explorer15194
@explorer15194 Год назад
plz share sql tutorials also
@MPrashant
@MPrashant Год назад
I am trying to best
@veriverithanam2867
@veriverithanam2867 Год назад
If you make video on SQL I'll definitely understand that topic/concept/usage🤣😵‍💫
@HikeWithAK
@HikeWithAK Год назад
Sir sirf log file find krna ho uske liye kaise karenge please reply
@MPrashant
@MPrashant Год назад
For only searching log file, you can use wilcard etc example: *.log files only
@aniketvishwakarma1119
@aniketvishwakarma1119 Год назад
Nohup air sandbox run pr video chaeyh sir
@MPrashant
@MPrashant Год назад
noted
@ashishgupta3788
@ashishgupta3788 Год назад
Why am not getting result as this way? find / -size +50M -exec ls -lSh {} \; Its not sorting as per size from descending to ascending.
@akshayfitnessseries7231
@akshayfitnessseries7231 2 месяца назад
Sir pdf link send kariye na
@mohdaadil9852
@mohdaadil9852 10 месяцев назад
Yeh sab kya dekhna pad rha he
Далее
Самое неинтересное видео
00:32
Просмотров 508 тыс.
Linux File Permissions in 5 Minutes | MUST Know!
6:03
60 Linux Commands you NEED to know (in 10 minutes)
10:50
Top 10 Linux Job Interview Questions
16:04
Просмотров 2,3 млн
Learning Awk Is Essential For Linux Users
20:02
Просмотров 296 тыс.