alias diskspace="du -S | sort -n -r |more" # Command line mplayer movie watching for the win.alias mp="mplayer -fs" # Show me the size (sorted) of only the folders in this directory alias folders="find .
An Interactive shell is used where a user can interact with the shell, i.e. Whereas a non-Interactive shell is used when a user cannot interact with the shell, i.e. The difference is simple, the Benjamin is a Systems Architect working in the financial services industry focused on platforms that require Continuous Availability.
He has been working with Linux and Unix for over 10 years now and has recently published his first book; Red Hat Enterprise Linux Troubleshooting Guide.
# some more ls aliases alias ll='ls -alh' alias la='ls -A' alias l='ls -CFlh' alias woo='fortune' alias lsd="ls -al F | grep /$" # This is GOLD for finding out what is taking so much space on your drives!
and would not even accept the values being the applications own start scripts.
After doing a bit of researched I learned a little bit more about what exactly these files do, the differences between them and when they are executed.
I figured this would be a good thing to share as it is not a topic that comes up very often.
If you have been using Linux for a while you are probably familiar with the but only if the users shell is a Interactive Shell (aka Login Shell) The difference between when these two files are executed are dependent on the type of login being performed.
Hi, today I want to tell you, that I am very much upset about the result of the latest ARMBIAN Update!
After updating I figured out, that the latest update erased my bash.bashrc.custom, which took me a long time to set it right! I am very much upset, that an armbian update erases configuration files WITHOUT any further notices!!!
# update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 update-alternatives: using /usr/bin/python2.7 to provide /usr/bin/python (python) in auto mode # update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2 update-alternatives: using /usr/bin/python3.4 to provide /usr/bin/python (python) in auto mode option take multiple arguments from which it will be able to create a symbolic link.
The last argument specified it priority means, if no manual alternative selection is made the alternative with the highest priority number will be set.