Redirection in Linux - Linux Tutorial 8

  Рет қаралды 188,477

Guru99

Guru99

11 жыл бұрын

www.guru99.com/linux-redirect... this video explains the concept of re-direction in Linux.
Click on the time points below to view different sections!
0:03 Redirection
2:08 Input Redirection
3:16 Any Program/ Command
3:34 Error Redirection
3:48 Why Error Redirection?
What is Redirection?
Redirection is a feature in Linux such that when executing a command, you can change the standard input/output devices.
Like, share and subscribe our channel for more videos.
Watch more videos on our KZbin channel at / @guru99com
READ this as a book on Amazon by viewing at amzn.to/2gZGjbE
Visit our website for more! www.guru99.com
Read our blogs in www.guru99.com/blog/
FACEBOOK! Would you prefer to watch more about us? Like our page for more / guru99com
TWITTER! Tweet for us on Twitter with #guru99 and follow us on / guru99com
LinkedIn! Follow us here / guru99
THANKS! We appreciate you reading this and hope you have a wonderful day!
Sincerely,
Guru99

Пікірлер: 44
@guru99com
@guru99com 5 жыл бұрын
Check out COMPLETE LinuxTutorials: kzbin.info/aero/PLckPQEKYlbxebubMWdjcGR7K_ukm35ZjN
@xigong3009
@xigong3009 2 жыл бұрын
Interesting! The idea that "everything in linux is a file" is still abstract to me. But it does help with my understanding to know that "every file has a number called FD (file descriptor)" and that a screen also a file descriptor. Additionally, we can also do chained redirection!
@NeverwinterSTORM
@NeverwinterSTORM 5 жыл бұрын
Thank you so much for sharing your knowledge, it was difficult for me to understand 2>&1 construction until i've found your video !
@nawazrockon
@nawazrockon 8 жыл бұрын
rm music :P
@lamparaa
@lamparaa 5 жыл бұрын
lol
@kr4k3nn
@kr4k3nn 3 жыл бұрын
Very very informative and easy understand. Thank you very much.
@Rendergears
@Rendergears 11 жыл бұрын
very nicely explained. keep up the good work :)
@abhijeetbachate2864
@abhijeetbachate2864 7 жыл бұрын
guruJI please remove the background music. it's really damn irritating. otherwise, the video is very helpful.
@hafizahmed4105
@hafizahmed4105 8 жыл бұрын
A lot of thanks for the video!
@vinaytigadi7991
@vinaytigadi7991 6 жыл бұрын
Great job!! Nice explaination. Tomorrow is my exam thanx for the video
@eduardorpg64
@eduardorpg64 5 жыл бұрын
Awesome tutorial!
@shizyninjarocks
@shizyninjarocks 7 жыл бұрын
music > /dev/null
@xrafter
@xrafter 3 жыл бұрын
permission denied
@GuitarreroDaniel
@GuitarreroDaniel 3 жыл бұрын
That's why he didn't explained the bit-bucket
@theabyel26
@theabyel26 5 жыл бұрын
Incredibly useful!
@kwanguwanjara2146
@kwanguwanjara2146 9 жыл бұрын
You are super good teacher Mr Guru99. Well done! How can I get some powerpoint slides of your lectures?
@TheGodlessGuitarist
@TheGodlessGuitarist 2 жыл бұрын
good stuff, thanks. Very helpful. My Linux abilities are taking off with this stuff!
@ORA268P
@ORA268P 2 жыл бұрын
Thank you! I finally understand what the & is doing !!😀
@Rico-Suave_
@Rico-Suave_ 8 жыл бұрын
good video, thank you very much
@mrgogate
@mrgogate 9 жыл бұрын
Thanks for the video !
@tanyasahu7748
@tanyasahu7748 8 жыл бұрын
awesome lectures
@timocarliermusic
@timocarliermusic 2 жыл бұрын
Very well explained!
@andromeda4641
@andromeda4641 6 жыл бұрын
Very helpful tutorial
@carlosp.1395
@carlosp.1395 4 жыл бұрын
Great Video!!!!!
@huskieification
@huskieification 9 жыл бұрын
Good video
@sumiransinha3707
@sumiransinha3707 2 жыл бұрын
Very nice!
@vipulberiwal
@vipulberiwal 7 жыл бұрын
what is that "echo" word in listings ?
@ndeyesokhnasow7048
@ndeyesokhnasow7048 Жыл бұрын
Très intéressant Machallah merci beaucoup ça nous aide beaucoup
@anandupadhyay5581
@anandupadhyay5581 6 жыл бұрын
can anyone tell me on which video I will get head and tail command
@pruthvirajkadam1472
@pruthvirajkadam1472 5 жыл бұрын
nice video
@karips49
@karips49 4 жыл бұрын
Perfect tutorial! I have a minor question: Why instead of: ls Documets ABC > dirlist 2>&1 cannot I use?: ls Documets ABC > dirlist 2> dirlist Is there a reason to use the file descriptor instead of the actual name of the file? Thanks in advance!
@xrafter
@xrafter 3 жыл бұрын
Because fd 1 is stdout of the terminal
@tsilikitrikis
@tsilikitrikis 2 жыл бұрын
Good point man. I actually tried that and it was made the same result but in different order (The stoutput was at the top and the error was below that. If I typed with 2>&1 the order was reversed) So I suspect that if you want to redirect both output and error at the same time is faster to use 2>&1 but if you want to write error in different file name you use >nameOfFile. Great point again!
@TheEmily3010
@TheEmily3010 3 жыл бұрын
Thanks!
@kunjandesai4341
@kunjandesai4341 2 жыл бұрын
2:25, is anyone who understands that input redirection (
@rajandigital1026
@rajandigital1026 5 жыл бұрын
when I click youtube video it needs to redirect to my website. how can I do this?
@RecluseAbomination
@RecluseAbomination 3 жыл бұрын
Hack KZbin
@xrafter
@xrafter 3 жыл бұрын
Also every terminal device have his own stdout and stdin and err
@hafizahmed4105
@hafizahmed4105 8 жыл бұрын
Please remove sound. I can not get your words properly bcoz of souds. Please! Please!
@FiveMissiles
@FiveMissiles 11 жыл бұрын
@mworthen3250
@mworthen3250 4 жыл бұрын
ю
@jeanrodrigues6249
@jeanrodrigues6249 2 жыл бұрын
Floppy
@matthewcardinal4186
@matthewcardinal4186 Жыл бұрын
Thanks for the info, very helpful =) I will add that (at least on my distro) redirecting both stderr and stdout is just &> ... so$ somecommand &> commandlog.txt
Pipes, Grep, Sort Commands: Linux Tutorial 9
5:58
Guru99
Рет қаралды 251 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 95 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
Eccentric clown jack #short #angel #clown
00:33
Super Beauty team
Рет қаралды 25 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Linux Crash Course - Data Streams (stdin, stdout & stderr)
17:13
Learn Linux TV
Рет қаралды 48 М.
How to Redirect Text Input/Output in Linux (cat, tee)
9:45
Cyberspatial
Рет қаралды 14 М.
The Confusion With Linux Shells
12:19
DistroTube
Рет қаралды 12 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,3 МЛН
Shell Scripting Tutorial in Linux
7:20
Guru99
Рет қаралды 289 М.
Linux File Permissions in 5 Minutes | MUST Know!
6:03
Travis Media
Рет қаралды 46 М.
Linux Commands for Beginners 16 - Output Redirection
15:18
Learn Linux TV
Рет қаралды 27 М.
grep: A Practical Guide
13:55
Navek
Рет қаралды 68 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 95 МЛН