- Видео 44
- Просмотров 201 380
Putorius Linux Tutorials
США
Добавлен 25 янв 2019
Putorius is a blog featuring Linux tutorials, how-tos and general technology information in a method that benefits all skill sets.
How to Securely Work with Temporary Files in Linux Shell Scripting
In this tutorial we will discuss the some security issues with using temporary files and how to ensure you are following best practices.
Also see, Using Trap to Exit Bash Scripts:
www.putorius.net/using-trap-to-exit-bash-scripts-cleanly.html
Also see, Using Trap to Exit Bash Scripts:
www.putorius.net/using-trap-to-exit-bash-scripts-cleanly.html
Просмотров: 290
Видео
How to start podman containers on boot in 3 easy steps.
Просмотров 1,7 тыс.Год назад
How to use systemd service units to start podman containers at boot.
Exporting Logs to a File using Journalctl
Просмотров 1,4 тыс.2 года назад
In this #Linux quick tip we will show you how to export logs to a file using journalctl. We will quickly cover how to specify which logs you want and what format you want them exported in. Referenced articles: I/O, Standard Streams and Redirection www.putorius.net/linux-io-file-descriptors-and-redirection.html#redirection-operators Viewing Logs with Journalctl Primer www.putorius.net/viewing-lo...
How to Grep an IP Address From a File in Linux
Просмотров 1,8 тыс.2 года назад
In this #Linux quick tip we will discuss how to grep and IP address from a file using regular expressions. We will show you some basic regex and why they fail. They we will show you extended regular expressions and how to ensure you to grep a valid IP address only. Text version of this tutorial can be found here: www.putorius.net/grep-an-ip-address-from-a-file.html
Virus Scanning on Linux - How to Install, Configure, and Scan with ClamAV AntiVirus.
Просмотров 42 тыс.2 года назад
Learn the basics of installing, configuring, and scanning for viruses on Linux with ClamAV and it's GUI interface ClamTk. These open source tools are a great option for antivirus on any system. 00:00 Introduction 00:38 Installing ClamAV and ClamTk 01:42 Updating the ClamAV Virus Signature Database 03:30 How to Scan Files & Directories Using ClamAV and ClamTk 07:24 Taking Action on Infected Files
How to Flush Local DNS Cache on Linux
Просмотров 1,8 тыс.2 года назад
In this Linux quick tip we will show you how to flush the local DNS cache on your Linux system. Here is a link to the text version of this video: www.putorius.net/how-to-flush-local-dns-cache-on-linux.html
Linux fmt Command Tutorial - Formatting Text on the Command Line
Просмотров 1,2 тыс.3 года назад
In this short tutorial we will show you how to use the fmt command to format text files on the command line. 0:00 Introduction to the fmt command 0:39 fmt Basics - Formatting Text without options 1:36 Setting your preferred width 2:11 Create uniform spacing with the fmt command 2:28 First line indentation 2:45 Split Lines Only - Do not fill
The sponge command is an interesting utility that "soaks up" all input and writes it to a file.
Просмотров 5213 года назад
A demonstration of how the sponge command soaks up, or reads in, ALL input before opening a file for writing. This is important in a few ways, hopefully this will be clear after seeing some examples!
How to kick (disconnect) a user off of a Linux machine
Просмотров 4323 года назад
Learn how to kick a user off of a Linux machine. Written article: www.putorius.net/kick-user-off-linux-system.html 0:00 Introduction to kicking users 0:28 Find logged in users 1:05 Notify user of impending disconnect 1:38 Kick User Method #1 1:55 Kick User Method #2
Print the execution time of your Linux shell scripts
Просмотров 9473 года назад
Did you ever wonder, how long did it take that script to run? Well in this 2 minute Linux quick tip we will show you how to print the time it took a script to run. Links: This article (formatting function code): www.putorius.net/time-execution-of-script.html Countdown timer code: www.putorius.net/how-to-make-countdown-timer-in-bash.html 0:00 Introduction to the SECONDS Bash builtin 0:38 Using t...
Linux Tutorial - Add, Convert, and Format Linux Timestamps with the ts Command
Просмотров 6243 года назад
Learn how to add timestamps to any output using the ts command. You can also use ts to convert and format Linux and UNIX timestamps. Written Article: www.putorius.net/ts-command-add-convert-timestamps-linux.html 0:00 Introduction to the Linux ts Command 0:35 Installing the moreutils package 0:52 Using the ts Command to Add Timestamps to any output 1:51 Creating incremental timestamps 2:45 Creat...
How to Generate a Random Number in Linux
Просмотров 2,7 тыс.3 года назад
Several methods for generating a random number in Linux. Written Article Here: www.putorius.net/generate-random-number-linux.html 0:00 Introduction to Random Number Generating in Linux 0:29 Using the RANDOM Bash Built in 1:06 Seeding the Random Generator 1:24 Creating a Random Number in a Specific Range 2:07 Using the shuf Command to Generate a Random Number in Linux 2:44 Using /dev/urandom to ...
Linux Tutorial - Bash Brace Expansions for Beginners
Просмотров 1,2 тыс.3 года назад
Learn how to use brace expansions to become more efficient on the command line and shell scripting. 0:00 Introduction 0:38 What is brace expansion and why do I need it? 1:26 Using Sequential Brace Expansions 3:04 Using Non-Sequential Brace Expansions 3:53 Conclusion
How to change your current or default shells in Linux.
Просмотров 5083 года назад
In this Linux quick tip we discuss how to change your current or default shells. We also show you how to view the shells that are installed on your system.
How to make a multiple choice menu in Bash.
Просмотров 7 тыс.3 года назад
In this Linux quick tip we show you how to use select and case statement to make a nice multiple choice menu in Bash. Written article can be found here: www.putorius.net/create-multiple-choice-menu-bash.html 0:00 Intro 0:40 Multiple Choice Menu Example 0:48 Example of the Script in Action 1:05 Explanation of each line of code 3:41 Example of how the catch all works
List Installed and Currently Running Kernel on your Linux System
Просмотров 5573 года назад
List Installed and Currently Running Kernel on your Linux System
Linux Uptime Command Options and Output Explained
Просмотров 1,7 тыс.4 года назад
Linux Uptime Command Options and Output Explained
Easy Way to Mount Google Drive in Linux
Просмотров 8 тыс.4 года назад
Easy Way to Mount Google Drive in Linux
BMON - Network Interface Monitor for the Linux Command Line
Просмотров 1,2 тыс.4 года назад
BMON - Network Interface Monitor for the Linux Command Line
Creating Encrypted and Password Protected Archives on Linux Command Line
Просмотров 2,2 тыс.4 года назад
Creating Encrypted and Password Protected Archives on Linux Command Line
Penetration Testing Basics - Linux Banner Grabbing Tutorial
Просмотров 1,7 тыс.4 года назад
Penetration Testing Basics - Linux Banner Grabbing Tutorial
Brute Force Attack Demo Using Hydra and RSMangler
Просмотров 9 тыс.4 года назад
Brute Force Attack Demo Using Hydra and RSMangler
Linux Cheat Sheets on the Command Line
Просмотров 2,1 тыс.4 года назад
Linux Cheat Sheets on the Command Line
Using Trap to Exit Bash Shell Scripts Cleanly - Linux Tutorial
Просмотров 4,9 тыс.4 года назад
Using Trap to Exit Bash Shell Scripts Cleanly - Linux Tutorial
Create a Custom MOTD or Login Banner in Linux
Просмотров 26 тыс.4 года назад
Create a Custom MOTD or Login Banner in Linux
How to Mount a Windows Share on Linux Video Tutorial
Просмотров 31 тыс.4 года назад
How to Mount a Windows Share on Linux Video Tutorial
Grep Email Address from Text File with Regular Expressions
Просмотров 1,1 тыс.5 лет назад
Grep Email Address from Text File with Regular Expressions
I copied the script letter by letter, and when I run it, it says, line 3 Pho: command not found Why does mine get hung up there?
Disregard this video. It is obsolete. The maintainer has retired. He posted an entire laundry list of reasons why he dropped this project. This included being hit by a drunk driver. Dave said that Clam-TK should be rewritten, from scratch in a new language.
Does it also detect viruses in wine/proton?
The podman Generate command is DEPRECATED. I get the following message. "It is recommended to use Quadlets for running containers and pods under systemd. "
You don't need any. The biggest malware risk is between the keyboard and the seat. 😊
This was very useful
Is there a text version with these codes that can be copied and pasted?
I'm pretty sure there is a readme or something on the web. I made a script with arguments to launch a scan and I created a cron to schedule daily scans.
Hello, When you scanned eicar_com.zip the data read is 0.00MB why is that?
difficult
Thanks sir.... ❤ from india
Linux has a low attack surface its open source so desktop exploits dont really exist and it dossent need a antivirus it has perfectly good secuirty fetures built in that you can configure and enable flatpaks snaps and nix packages run in a sandbox are secure you can sandbox appimages if you want secuirty for a deb rpm or pacman you can use firejail the only reason to use a antivirus on linux is for .sh scripts witch you shoudent be running from third partys anyway
This is not multiple choice. It's single choice from the multiple options list.
literally the definition of multiply choice question. dense ?
You could do it much easier by using this expression : egrep -o '([0-9]+\.){3}[0-9]+' filename.txt
Hi, when I ran "sudo freshclam", I got...."ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf"
what I did was run "sudo killall freshclam" and then ran "sudo freshclam" again
@@JuanDeLaRosaTV Thank you!
Came here from your blog. It is _the only one_ that clicked for me. Thank you man.
hey you I mean in kali linux You know how to mount
Awesome video. Thanks a lot :)
Hey anyone know how to access ClamAV GUI on eks cluster ?
This video does not show the initial configuration of the antivirus, the creation of the configuration files, manipulating the options to make it run, it does not work in the first instance, but this information is when you already have it configured
i don't get it... i kinda feel that this is something that experts don't bother explaining and neebies don't dare to ask... just HOW TO SCAN THE ENTIRE SYSTEM for god's sake... for the record i come from windows, i just want to scan my whole system to find whether it's infected by anything since i find my computer behave strangely lately, but i can't seem to figure out HOW. i mean, clamTK provides buttons for scanning a file and a directory... euh... how's that gonna help me scan the whole SYSTEM ????? if it can only scan one directory then what do i need it for ? and since the directory tree is soooo diffrent from windows', i don't even know where the equivalent of C:/ is, how am i gonna scan the system file ? why has it to be so complicated jesus
imo Linux directory tree is easier to comprehend. For your question, it's / (forward slash symbol). It is the primary hierarchy root and root directory of the entire file system hierarchy. So to scan the entire system the command will be "clamscan --recursive /"
In the article is does explain how to scan the whole system. At the end of the section called "Virus scanning files from the Linux command line" it explains in detail. see here: www.putorius.net/install-configure-and-scan-for-viruses-on-linux-with-clamav.html#scanning-directories-and-sub-directories-from-the-command-line
just run "sudo clamscan -r /"
A video on advanced configuration will be much appreciated.
I loved this video and how it was only 1 year ago from me watching it now. It was really really helpful for linux longtime beginners like me. I even bookmarked the video, liked and subscribed. Thanks for your help!
I know this is old but I can mount it but its read only. Any ideas?
10:32 ,can i use different service other then virus total? just curious
I am not sure what you are asking. Can you be more specific?
`systemd-resolve --statistics` didn't work for me due to the error `Failed to get DNSSEC supported state: Unit dbus-org.freedesktop.resolve1.service not found.` I had to run `sudo systemctl enable systemd-resolved.service` to fix.
your a legend 😎👍
@@kelvin-nz Thanks mate, glad you figured it out.
4:19 23 seconds to scan one single file ?!?!?!?!
clamav doesn't uses all the resounds available ,it will only uses one thread of cpu by default
how to download
can you please also include curl commands all options and different ways of using it effectively
hi, can you teach me how to use this on mac? I have installed the app but I couldn't find it on the applications. Thank you
Sorry I don't have a MAC to help you.
@@PutoriusLinux mac uses zsh/bash ,i don't think it will be much different
When you mount at boot editing the fstab file, folders can't be written to by normal users
What kind of share is it? What options are you using the fstab? Did you check selinux?
uhhhhh..... 2022 and no word/demo of the "scan no access" feature and how to install and configure it ?!? uh... guys ?!?! You there ?!?!?
Putorius jajajajajja
for me there's nothing in /run/user/$UID/gvfs/, even after connect in google account
What I need t ok know is how to scan for a virus all the commands you've given and I still can't open clamav. Because something is locked in root and it can't fetch the package it needs. Scanned only those directories that are opened on ClamTk and found 87 possible positives all in Libreoffice suite. And a virus running amok on my system, causing lost time at work. Causing problems with files being corrupted. What happens is if there is a type window open it starts typing periods to try and stop it with the backspace or delete key. I need someone who can talk me through this and also scan the locked sections to find this thing, also ClamTk won't update no matter what I try.Im running 20.04 Focal because my computer is too slow and underrammed for anything bigger.
Sorry, but that is too deep to address in a comments section. I would recommend hitting a Linux forum and asking for help.
Thanks a lot !
How checkdown time??
Duuuude thank you
I usually use who command to define the tty of the user I want to kick and then use the command "fuser -ku <TTY>"
very good ❤❤
👍
I like this video. How can I scan all my mounted disks, move the virus in quarantene folder (under [root] / directory) and don't scan quarantene folder again? I'd like to view an advanced configuration video on clamav :)
Try this: First make a quarantine directory: mkdir /root/quarantine then use --exclude-dir to skip that directory like so: clamscan -r --exclude-dir=/root/quarantine --move=/root/quarantine / This command will start clamscan in recursive mode (traverse all sub-directories), it will exclude the quarantine directory with --exclude, move any infected files into that quarantine directory with --move, and the final slash is telling it to start at the root directory which should include all your mounted disks. Please reply and let me know how it works out.
thanks it really helped.
Great thanks! really helpfull
wonder thank you so muchj
Good condensed video with valuable knowledge
Dónde está el banner
$Awesome .
Tankyou :)
I added a password correct in passwordlist.txt ...then i use hydra but result "0 valid passwords found" ? what happend?
Good video. You should have logged out and login again to demonstrate shell has changed.