Useful Linux Commands

Yes, I know.  This is pretty thin.  But as I stumble through my infrequent tasks in Linux, I need to write down the little bits that I need to remember.  Feel free to chip in!

To Delete a Folder With Contents

[sourcecode language="bash"]
rm -rf {folder}

Show full path of current dir in linux command prompt

[sourcecode language="shell"]
PS1="[\u@\h \w]\\$ "

Leave a Reply