How To Use Shell Functions Pt 2 | Linux Terminal 201 - HakTip 181

preview_player
Показать описание
Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
Shannon explains how to use shell functions in the context of a shell script.

#HakTip #Hak5

This HakTip is sponsored by OpsGenie. Your next incident doesn't stand a chance.

-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆

-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆
____________________________________________
Founded in 2005, Hak5's mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community – where all hackers belong.
Рекомендации по теме
Комментарии
Автор

Useful one liner to show top ten programs using the most resources: ps axch -o cmd:15, %mem --sort=-%mem | head

MrGFYne
Автор

Hey, Can you organize some playlists for different purposes? Thanks, love you Shannon!

allentools
Автор

I find these tips very handy, thanks 👍😀😁

tomormiston
Автор

the .dbus directory is probably created because of running some command with root privs.(e.g. sudo) since it is just cache for inter-process communication and thus owned by root. it is okay to ignore this (in this usecase) so you could redirect stderr to /dev/null (2> /dev/null) on that command.

tomio
Автор

Can you do a video on fixing your boot partition? I have the same issue and I can't fix it.

TVJAY
Автор

WHY would someone ever want to use HTML tags inside of a shell script ?!? you want it havin called by a webserver directly or have it called by cron and put the html result on a webserver dir or sumthin?

AxelWerner
Автор

Please use the awk command to only display what you actually want and not all the bloat

demian
Автор

This is great step by step process with using shell functions. Will the final step be using "shc" linux command to convert your shell script to a executable binary file? Might be handy for folks that want to keep others from modifying the original script.

bradleyeverson