Linux Terminal 201: How to Configure Startup Files - HakTip 146

preview_player
Показать описание
Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
Today on HakTip we're learning about the terminal environment and customizations
-------------------------------
------------------------------
Commands you'll need to know:

printenv

printenv USER

set

alias

ls -a

nano .bashrc
umask 0002
export HISTCONTROL=ignoredups
export HISTSIZE=1000
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'

source .bashrc

-~-~~-~~~-~~-~-
Please watch: "Bash Bunny Primer - Hak5 2225"
-~-~~-~~~-~~-~-
____________________________________________
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.
Рекомендации по теме
Комментарии
Автор

Great segment Shannon, thanks! A couple of other user-friendly resources for start-up files and beyond, The Bash Hackers Wiki and "all the things" 😉 on the TLDP website. Glad to see Terminal 2.0 alive on HakTips. Be well!

sh_tinydynamite
Автор

Great work guys, love your show as always. Quick question. I have been tinkering with the functions of google::voice api. One of them being the capability now to send sms messages from the linux command line. I have a script I have been working on that uses a perl module to send me the sms texts. I want to pipe small information I collect into flat text files but how do I get the information in my text file directed into a flag. An example is the use of the -t "here is your text message" . How could I have the -t flag use a text file instead of a manual input like -t <text.file> Thanks ahead of time.

thjckl
Автор

Please make more of these Linux tutorials :)

SudeeptoDutta
Автор

I had to hunt this down on YT as the hak5 site links to some mega old video (from 2005?)

michaeltrickert
Автор

Shannon's T-shirt says "Death" in Chinese, which is pretty weird.

frgging
Автор

You sure .profile is in bash? It says it's not read by bash. You sure it's not sh or csh?

digital_underground
Автор

"haktip"
"do u know wat an alias is"

faslger
Автор

bash is a scripting language, not a programming language.

pizzadude