Putorius Linux Tutorials
Putorius Linux Tutorials
  • Видео 44
  • Просмотров 201 380
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
Просмотров: 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
Introduction to Using Snap Packages
Просмотров 5304 года назад
Introduction to Using Snap Packages
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
Linux Uniq Command Video Tutorial
Просмотров 3404 года назад
Linux Uniq Command Video Tutorial
Linux Column Command Tutorial
Просмотров 4,7 тыс.4 года назад
Linux Column Command Tutorial
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

Комментарии

  • @markantinozzi4970
    @markantinozzi4970 6 дней назад

    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?

  • @williamnessanbaum7464
    @williamnessanbaum7464 Месяц назад

    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.

  • @okkultsss
    @okkultsss Месяц назад

    Does it also detect viruses in wine/proton?

  • @duey121
    @duey121 3 месяца назад

    The podman Generate command is DEPRECATED. I get the following message. "It is recommended to use Quadlets for running containers and pods under systemd. "

  • @afriquelesud
    @afriquelesud 4 месяца назад

    You don't need any. The biggest malware risk is between the keyboard and the seat. 😊

  • @palodoxaliqua5809
    @palodoxaliqua5809 4 месяца назад

    This was very useful

  • @stevelindsay3643
    @stevelindsay3643 5 месяцев назад

    Is there a text version with these codes that can be copied and pasted?

    • @freedom45
      @freedom45 Месяц назад

      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.

  • @shreepowar867
    @shreepowar867 5 месяцев назад

    Hello, When you scanned eicar_com.zip the data read is 0.00MB why is that?

  • @wraaqsdafsadf4486
    @wraaqsdafsadf4486 7 месяцев назад

    difficult

  • @chetanghadge3075
    @chetanghadge3075 8 месяцев назад

    Thanks sir.... ❤ from india

  • @iplayminecraft833
    @iplayminecraft833 8 месяцев назад

    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

  • @Heart0rHead
    @Heart0rHead 9 месяцев назад

    This is not multiple choice. It's single choice from the multiple options list.

    • @RateZell100
      @RateZell100 2 месяца назад

      literally the definition of multiply choice question. dense ?

  • @sniperghost7317
    @sniperghost7317 9 месяцев назад

    You could do it much easier by using this expression : egrep -o '([0-9]+\.){3}[0-9]+' filename.txt

  • @rootcanal7188
    @rootcanal7188 10 месяцев назад

    Hi, when I ran "sudo freshclam", I got...."ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf"

    • @JuanDeLaRosaTV
      @JuanDeLaRosaTV 6 месяцев назад

      what I did was run "sudo killall freshclam" and then ran "sudo freshclam" again

    • @rootcanal7188
      @rootcanal7188 6 месяцев назад

      @@JuanDeLaRosaTV Thank you!

  • @priteshugrankar6815
    @priteshugrankar6815 Год назад

    Came here from your blog. It is _the only one_ that clicked for me. Thank you man.

  • @Hunter-x3b
    @Hunter-x3b Год назад

    hey you I mean in kali linux You know how to mount

  • @RobertoRubio-ij3ms
    @RobertoRubio-ij3ms Год назад

    Awesome video. Thanks a lot :)

  • @melikeozen9624
    @melikeozen9624 Год назад

    Hey anyone know how to access ClamAV GUI on eks cluster ?

  • @nahuelworks
    @nahuelworks Год назад

    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

  • @RickyRicheRebelle
    @RickyRicheRebelle Год назад

    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

    • @lovell8983
      @lovell8983 Год назад

      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 /"

    • @PutoriusLinux
      @PutoriusLinux Год назад

      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

    • @tanmay5070
      @tanmay5070 7 месяцев назад

      just run "sudo clamscan -r /"

  • @bharat_wagh
    @bharat_wagh Год назад

    A video on advanced configuration will be much appreciated.

  • @TheDuderino
    @TheDuderino Год назад

    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!

  • @StevenPenny
    @StevenPenny Год назад

    I know this is old but I can mount it but its read only. Any ideas?

  • @AlOqab_
    @AlOqab_ Год назад

    10:32 ,can i use different service other then virus total? just curious

    • @PutoriusLinux
      @PutoriusLinux Год назад

      I am not sure what you are asking. Can you be more specific?

  • @edreel
    @edreel Год назад

    `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.

    • @kelvin-nz
      @kelvin-nz Год назад

      your a legend 😎👍

    • @edreel
      @edreel Год назад

      @@kelvin-nz Thanks mate, glad you figured it out.

  • @andrewkamoha4666
    @andrewkamoha4666 Год назад

    4:19 23 seconds to scan one single file ?!?!?!?!

    • @AlOqab_
      @AlOqab_ Год назад

      clamav doesn't uses all the resounds available ,it will only uses one thread of cpu by default

  • @LamarHarrisOffical
    @LamarHarrisOffical Год назад

    how to download

  • @asiyasyeda8385
    @asiyasyeda8385 Год назад

    can you please also include curl commands all options and different ways of using it effectively

  • @farizbey
    @farizbey 2 года назад

    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

    • @PutoriusLinux
      @PutoriusLinux 2 года назад

      Sorry I don't have a MAC to help you.

    • @AlOqab_
      @AlOqab_ Год назад

      @@PutoriusLinux mac uses zsh/bash ,i don't think it will be much different

  • @itsathejoey
    @itsathejoey 2 года назад

    When you mount at boot editing the fstab file, folders can't be written to by normal users

    • @PutoriusLinux
      @PutoriusLinux 2 года назад

      What kind of share is it? What options are you using the fstab? Did you check selinux?

  • @AxelWerner
    @AxelWerner 2 года назад

    uhhhhh..... 2022 and no word/demo of the "scan no access" feature and how to install and configure it ?!? uh... guys ?!?! You there ?!?!?

  • @pelipoyasdetarde1946
    @pelipoyasdetarde1946 2 года назад

    Putorius jajajajajja

  • @mdp9696
    @mdp9696 2 года назад

    for me there's nothing in /run/user/$UID/gvfs/, even after connect in google account

  • @thecelticprince4949
    @thecelticprince4949 2 года назад

    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.

    • @PutoriusLinux
      @PutoriusLinux 2 года назад

      Sorry, but that is too deep to address in a comments section. I would recommend hitting a Linux forum and asking for help.

  • @SargsyanGagik
    @SargsyanGagik 2 года назад

    Thanks a lot !

  • @muralitangellapalli8144
    @muralitangellapalli8144 2 года назад

    How checkdown time??

  • @diegoibarra4045
    @diegoibarra4045 2 года назад

    Duuuude thank you

  • @christianvanguers4672
    @christianvanguers4672 2 года назад

    I usually use who command to define the tty of the user I want to kick and then use the command "fuser -ku <TTY>"

  • @omarcontinued2373
    @omarcontinued2373 2 года назад

    very good ❤❤

  • @royjose9986
    @royjose9986 2 года назад

    👍

  • @giovannisardisco4541
    @giovannisardisco4541 2 года назад

    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 :)

    • @PutoriusLinux
      @PutoriusLinux 2 года назад

      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.

  • @irfanrashidbhatti9144
    @irfanrashidbhatti9144 2 года назад

    thanks it really helped.

  • @RajendraBadri
    @RajendraBadri 2 года назад

    Great thanks! really helpfull

  • @birdy8406
    @birdy8406 2 года назад

    wonder thank you so muchj

  • @huntersneed4025
    @huntersneed4025 2 года назад

    Good condensed video with valuable knowledge

  • @jcrivas5462
    @jcrivas5462 2 года назад

    Dónde está el banner

  • @fire_3221
    @fire_3221 2 года назад

    $Awesome .

  • @DjConvertido
    @DjConvertido 2 года назад

    Tankyou :)

  • @binhlethanh4121
    @binhlethanh4121 2 года назад

    I added a password correct in passwordlist.txt ...then i use hydra but result "0 valid passwords found" ? what happend?

  • @afara2000
    @afara2000 3 года назад

    Good video. You should have logged out and login again to demonstrate shell has changed.