bash shell function

How do I convert hex number to decimal number using a shell script under UNIX / Linux operating systems?

{ 16 comments }

Q. How do I pass all command line args to my alias called foo. For example: alias foo=”/path/to/command $@” However $@ get interpreted when creating the alias instead of during the execution of the alias and escaping the $ doesn’t work either. How do I solve this problem? A. You need to use shell function [...]

{ 10 comments }