WordPress database error: [Disk full (/tmp/#sql-temptable-1-259ee8-2c3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")]SHOW FULL COLUMNS FROM `markjacobsen_options`
Ever want to pass in a command line argument to an alias? You would think you could just do it with $1, but actually you have to create a function and then call that function. So, for instance if you want to pass a portion of a log file name, you could set your alias like this…<\/p>\n
alias catlog='function _catIt() { cat \/var\/logs\/$1.log; };_catIt'<\/code><\/pre>\nthen, when you want to see the XX00D log, you just call your alias like so…<\/p>\n
catlog XX00D<\/code><\/pre>\nPlease remember to subscribe to the newsletter<\/a> to stay up to date!<\/i>
\n
\nYou or someone you know looking to buy or sell?<\/i>\n<\/a>
\nDisclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself. You would think this should be self evident these days, but apparently not...<\/small><\/i>","protected":false},"excerpt":{"rendered":"Ever want to pass in a command line argument to an alias? You would think you could just do it with $1, but actually you have to create a function and then call that function. So, for instance if you want to pass a portion of a log file name, you could set your alias … Continue reading Pass a Command Line Argument to an Alias<\/span>