Jump to content

Useful Commands: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 13: Line 13:
So, I'm adding it
So, I'm adding it


Useful Mail Stuff -
== Useful Mail Stuff ==


mutt -Z :-: Opens mutt, with a folder with new mail open
mutt -Z :-: Opens mutt, with a folder with new mail open
Line 20: Line 20:


mutt -s <subject> <email address> :-: pipe/redirect stuff to this to send email
mutt -s <subject> <email address> :-: pipe/redirect stuff to this to send email
== Useful Bash Stuff ==
mesg n  :-: sets your tty permissions to -w All. Useful to stop people dumping stuff on your terminal
vim    :-: The coolest text editor ever
type    :-: This is a bash builtin (I think) that tells you what you're running (where it is, whether it's a builtin, or whatever). I prefer it to which, since its A: always there, and B:knows more about your aliases and stuff
write  :-: like hey, but nor formatting
who    :-: gives you a list of logged in users. Useful for playing with when your scripting
last    :-: gives you a list of the users who *have* logged in. On RB, its in the last month
wget    :-: downloads websites
man -k  :-: is a synonym for apropos, but easier to spell. Searches for manpages, based on some kind of meta data