34. OSPF Troubleshooting Lab 1.zip
113.7 MB
34. OSPF Troubleshooting Lab 1
35. OSPF Troubleshooting Lab 2.zip
123.7 MB
35. OSPF Troubleshooting Lab 2
36. OSPF Troubleshooting Lab 3.zip
72.7 MB
36. OSPF Troubleshooting Lab 3
❤16👍9
38. Packet Tracer Campus Network Part 1 - Part 01.zip
332.9 MB
38. Packet Tracer Campus Network Part 1 - Part 01
38. Packet Tracer Campus Network Part 1 - Part 02.zip
120.5 MB
38. Packet Tracer Campus Network Part 1 - Part 02
❤16👍5🥰1
39. Packet Tracer Campus Network Part 2 - Part 01.zip
291.5 MB
39. Packet Tracer Campus Network Part 2 - Part 01
39. Packet Tracer Campus Network Part 2 - Part 02.zip
355.9 MB
39. Packet Tracer Campus Network Part 2 - Part 02
39. Packet Tracer Campus Network Part 2 - Part 03.zip
47.7 MB
39. Packet Tracer Campus Network Part 2 - Part 03
❤19👍6
Please open Telegram to view this post
VIEW IN TELEGRAM
❤57🔥9
Linux tip of the day🐧
In Linux, the pipe(|) operator is very useful if you want to redirect the output of one command to serve as input to the next for further processing:
However, this does not redirect the errors. So, if the file does not exist, the grep command above will not return a match.
What if you want to redirect and process both errors and normal output🤔
This is where this "|&" redirection operator comes in handy.
This operator sends both the standard output (stdout) and standard error (stderr) of the first command over a pipe to the standard input (stdin) of the second command. Take a look at this example:
Notice the difference, the grep command was able to get a match.
The "|&" operator in bash is a shorthand for the "2>&1 |" redirection operator.
In Linux, the pipe(|) operator is very useful if you want to redirect the output of one command to serve as input to the next for further processing:
$ cat data.txt | grep "No such file"
However, this does not redirect the errors. So, if the file does not exist, the grep command above will not return a match.
What if you want to redirect and process both errors and normal output🤔
This is where this "|&" redirection operator comes in handy.
This operator sends both the standard output (stdout) and standard error (stderr) of the first command over a pipe to the standard input (stdin) of the second command. Take a look at this example:
$ cat data.txt |& grep "No such file"
Notice the difference, the grep command was able to get a match.
The "|&" operator in bash is a shorthand for the "2>&1 |" redirection operator.
$ cmd-1 2>&1 | cmd-2
❤55👍5🔥2
Please open Telegram to view this post
VIEW IN TELEGRAM
👍31❤14🔥10🥰6
🌀 Learn how to use bash scripting to automate common tasks on Linux.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤18🔥7👍3