How to Redirect Text Input/Output in Linux (cat, tee)

  Рет қаралды 15,474

Cyberspatial

Cyberspatial

Күн бұрын

Пікірлер: 58
@xE92vD
@xE92vD 4 жыл бұрын
You made it, you finally got 11k subs I was the guy who posted a comment on UR video when u was like 500 or 1k subs I really don't know but yeah I posted a comment on the learn VirtualBox video. You really work hard on your videos you deserve even more subs keep going like this!!!
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Thanks for the early support!
@fakihakhan1911
@fakihakhan1911 4 жыл бұрын
very interesting playlist, loved it despite already knowing linux basics
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Thanks a lot! Eventually we'll get to some of the more advanced commands and tricks.
@shobhitsharan2027
@shobhitsharan2027 4 жыл бұрын
kudos for the efforts you put in making these videos
@Cyberspatial
@Cyberspatial 4 жыл бұрын
shobhit sharan thanks!
@krutikpednekar6842
@krutikpednekar6842 4 жыл бұрын
hey there loved this video series a lot !!! I have a request to make... an informative video for digital forensics and roadmaps for it would be awesome as there is not a single channel giving clear descriptions for the same..Cheers !!!
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Appreciate the kind words. Will add your recommendation on our project list :)
@AmusaVictorAyo
@AmusaVictorAyo Жыл бұрын
To be honest, I love it! Such a wonderful video! Thanks alot, I'm really grateful 🎉❤❤❤
@amolkale3651
@amolkale3651 3 жыл бұрын
Hey Ricky great video literally understand everything.. Please make more videos like this. Doing good job thanks bro
@Cyberspatial
@Cyberspatial 3 жыл бұрын
Will do. Thank you :)
@SatishKumar-uw1je
@SatishKumar-uw1je 4 жыл бұрын
🤗🤗🤗 Make more videos series for this
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Working on it 😅
@SatishKumar-uw1je
@SatishKumar-uw1je 4 жыл бұрын
@@Cyberspatial 😇🙌🙌
@uniquechannelnames
@uniquechannelnames 2 жыл бұрын
Hey what's the music you use in the background. Sounds relaxing. Great video btw!
@imuser007
@imuser007 4 жыл бұрын
Hey bro one more great content bro Which video editor ur using is that open source
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Hi Naveen, we're using Adobe Premiere and Adobe After Effects.
@imuser007
@imuser007 4 жыл бұрын
@@Cyberspatial thanks brother
@hpp6116
@hpp6116 3 жыл бұрын
Nice presentation! At 1:57 though, I think the statement on standard input and cat is not quite accurate. Although, `command somefile' and `command < somefile' will most of the time produce the same result, it is not exactly the same, at least as far as I understand it. In the former case, the file `somefile' acts as an argument to the command, whereas in the latter one it operates on the standard input. In general, the ommission of `
@Cyberspatial
@Cyberspatial 3 жыл бұрын
Thanks for the comment! Believe it varies depending on how the command handles arguments vs stdin. So yeah, not exactly the same.
@maheshrajpandit8964
@maheshrajpandit8964 4 жыл бұрын
Thanks for this video . It will be great if you make tutorials in bash !
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Noted! We got more coming.
@maheshrajpandit8964
@maheshrajpandit8964 4 жыл бұрын
@@Cyberspatial thanks
@cygmoid
@cygmoid 3 жыл бұрын
Really nice and simple for a beginner to understand. I had a suggestion, you can use dos2unix which comes in busybox to convert Windows text files to Linux. Nice video Cyberspatial
@Cyberspatial
@Cyberspatial 3 жыл бұрын
Dos2unix is great, though often it's not pre-installed by default on many distros. Sometimes you just have to live off the land with tr 😅
@cygmoid
@cygmoid 3 жыл бұрын
​@@Cyberspatial Okay, I get it now
@mohammedalbatati5529
@mohammedalbatati5529 3 жыл бұрын
Loved it so much as I learned a lot Many thanks
@TadTheTame
@TadTheTame 4 жыл бұрын
Loving the videos! Really interested in all this
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Wumzyy thanks!
@barackuse
@barackuse 4 жыл бұрын
The video is well done but I am still a bit confused. I have a game server and I start it by running ,/start-server.sh In this file contains screen -S Arma ./arma3Server_x64 -servermod=@extDB3 -mod@CBA_A3 -config=server.cfg This sends a lot of text to the terminal, I want to record that text output to a file, so I can analyze it for errors. I tried the > and the tee commands, but nothing works. Any ideas?
@Cyberspatial
@Cyberspatial 4 жыл бұрын
A lot of programs aren't configured to flush standard out. Check to see if the arma3Server_x64 script or binary has a way to log its output via a command switch. Another trick that may work is putting that command in a bash script (prepend with #!/bin/bash at the beginning, then chmod +x to make executable). You should be able to redirect the output of the script to a log file.
@santhosh54
@santhosh54 4 жыл бұрын
I installed kali Linux on windows powershell and downloaded the wsl 2 and all done but it's still shows system has not been boot with systemmd (pid1) Userd service openvas start but not worked. what's the problem
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Dot Explore WSL2 does not come with Systemd, I don’t think. To start and run services you’ll need to use service start/stop instead of systemctl. Honestly I think it might be easier just running Kali in a VM instead of in WSL
@Bang6484a
@Bang6484a 3 жыл бұрын
Can you please tell me how to redirect builded c program output to a text file? (From Bangladesh)
@Cyberspatial
@Cyberspatial 3 жыл бұрын
Your C program should be able to print text. Then use > to redirect. You can also have the program just write to a file.
@armincal9834
@armincal9834 4 жыл бұрын
Is fhere a significant difference between an ethical hacker and a cyber forensics guy?
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Cyber forensics is typically defensive-oriented, while the other is offensive-oriented. Best to learn both.
@armincal9834
@armincal9834 4 жыл бұрын
@@Cyberspatial thanks for you answer. At the moment I'm learning networking basics(trying to get network +) and am learning python and django for basic web development (already know basic javascript and php) i want to get a CEH cert one day and i think it's important to know programming(web dev) and networking in order to be able to come up with my own attack vectors. Do you agree with my plan? I hope to become an ethical hacker one day but my degree has nothing to do with comp sci or comp eng.
@Cyberspatial
@Cyberspatial 4 жыл бұрын
@@armincal9834 Learning Web Dev is a great way to build out useful cyber security tools. It'll also help you have a deeper understanding of webapp vulnerabilities and pentesting. Most of what you'll learn in CS is less relevant to software dev and cyber than you think. Read books cyber professionals have already published!
@armincal9834
@armincal9834 4 жыл бұрын
@@Cyberspatial thank you very much for your help! Actually one of the main reasons why i decided not to get a degree was that where I'm from, comp sci is still a sub-department of math and is full of (IMHO) useless and overly complicated math. I have developed some simple apps with django and express and not once did i use math even simple arithmetics :) the only time i needed math was the subnetting part for compTIA network+ :))
@Cyberspatial
@Cyberspatial 4 жыл бұрын
@@armincal9834 Learning Web Dev is a great way to build out useful cyber security tools. It'll also help you have a deeper understaning of webapp vulnerabilities and pentesting. Most of what you'll learn in CS is less relevant to software dev and cyber than you think. Read books cyber professionals have already published!
@Desi_bikers108
@Desi_bikers108 4 жыл бұрын
mindblowing
@Cyberspatial
@Cyberspatial 4 жыл бұрын
More coming!
@Jo_Wick
@Jo_Wick 5 ай бұрын
Am I the only one to notice that the poem at 9:06 has a different indentation at line 5?
@akshitchauhan6999
@akshitchauhan6999 4 жыл бұрын
From where to start to become a cyber security specialist
@akshitchauhan6999
@akshitchauhan6999 4 жыл бұрын
Should learn phython first 🤔
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Akshit Chauhan our video here is a great place to start: kzbin.info/www/bejne/gamXqmyZbNxlgLM These are the top 5 skills to get into cybersecurity!
@luLAAsAsOoooooooooO
@luLAAsAsOoooooooooO 4 жыл бұрын
Good job keep going
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Saurabh Srivastav thanks!
@Jure1234567
@Jure1234567 3 жыл бұрын
How about outputting both stdin and err by &>
@Cyberspatial
@Cyberspatial 3 жыл бұрын
Both these should work. &> file.txt 2>&1 1> file.txt
@joshualacson9982
@joshualacson9982 4 жыл бұрын
What app is that?
@Cyberspatial
@Cyberspatial 4 жыл бұрын
That's right! GNOME Terminal, specifically en.wikipedia.org/wiki/GNOME_Terminal
@xE92vD
@xE92vD 4 жыл бұрын
@@Cyberspatial isn't that terminal you use in the video Linux terminal???
@joshualacson9982
@joshualacson9982 4 жыл бұрын
Can it be used in android
@xE92vD
@xE92vD 4 жыл бұрын
@@joshualacson9982 no lol
@muhammadtijjani3203
@muhammadtijjani3203 4 жыл бұрын
Please if possible stop appearing while showing terminal because is really distracting. Thank u for the videos
@Cyberspatial
@Cyberspatial 4 жыл бұрын
Thanks for the input, but we're not sure everyone feels the same way.
Essential Linux Commands - Cat, Tac and Tee
21:07
DistroTube
Рет қаралды 24 М.
Linux PIPES and REDIRECTS: Command Line Ninja Skillz
17:06
Shawn Powers
Рет қаралды 19 М.
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 123 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 117 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 58 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 79 МЛН
Redirecting standard output in C
15:39
CodeVault
Рет қаралды 93 М.
Linux Crash Course - Data Streams (stdin, stdout & stderr)
17:13
Learn Linux TV
Рет қаралды 55 М.
Linux Commands for Beginners 16 - Output Redirection
15:18
Learn Linux TV
Рет қаралды 30 М.
How To Deal With Arrogant People in Cyber Security
13:21
Cyberspatial
Рет қаралды 22 М.
Linux Crash Course - The diff Command
22:21
Learn Linux TV
Рет қаралды 18 М.
Cyber Defense Tips to Rival the NSA
18:38
Cyberspatial
Рет қаралды 35 М.
Linux Command Line Pipes and Redirection
10:34
Engineer Man
Рет қаралды 26 М.
My 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency)
11:06
​Why Good SOC Analysts Know Offense & Defense
13:58
Cyberspatial
Рет қаралды 12 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 123 МЛН