Need help cleaning/tightening your open-source CMS…

Need help cleaning/tightening your open-source CMS (Joomla, etc)? #NetPres customers can contact us for quick help. netpr.es/contactus

Posted in Tweets | Leave a comment

Some Shell Shortcuts

The following describes some common and useful “Shell” (/bin/sh) or “Bash” (/bin/bash) Unix and Linux command-line ‘shell’ key based shortcuts for commands or actions:

a) CTRL-a brings the cursor to the start of the current line and CTRL-e puts it to the end of the current line

b) CTRL-z will “suspend” the current running command and return you to the shell prompt, where if you then type “bg” & enter, that command will be allowed to run again, but be “in the background” and you’ll be back at the shell prompt. Type “jobs” to see the still running backgrounded command and “fg” to return to it.

c) CTRL-w will delete the word _behind_ the current cursor position & CTRL-u will delete the whole line behind the current cursor position

d) CTRL-k will delete the rest of the line after the current cursor position

e) CTRL-l will clear the current shell screen/window, same as the “clear” command

f) The “reset” command in a shell will clear the screen and ‘reset’ the shell’s character-set and other settings (useful if the screen gets binary chars output on it)

g) !! (“bang bang”) on a command-line will re-run the previous command

h) !* (“bang star”) on a command-line will include “the previous command line EXCEPT its last parameter”) at the place where the !* chars are located in the current command-line

i) !$ (“bang dollar”) used on a command-line will include the “last parameter of the previous command line” at the place where the !$ chars are located in the current command-line
Eg: if the previous command was: ls –l /a/directory/path/here then !$ on the next command-line will be “/a/directory/path/here” and you could easily cd to that dir with: cd !$

j) Adding the chars “:p” to the !* or !$ commands will just print what they’d insert, not actually insert those chars, but will put them into the history list

k) You can change text in the previous command line with the ‘^text-to-change^replacement-text^’ character sequence at the start of a new command-line
Eg: If the previous command had a typo like: ls –latr /a/directory/pathhereismissingsome/
And you want to add some missed ‘/’ char after the ‘path’ directory name, start the next command line with ^path^path/^ and the command-line executed will be: ls –latr /a/directory/path/hereismissingsome/

There’s lots of pages on these shortcuts, here’s a useful one from a useful site:

http://www.techrepublic.com/article/master-the-linux-bash-command-line-with-these-10-shortcuts/5827311

FYI,
Richard.

Posted in Network Presence, Rich | Tagged | Leave a comment

To see the filenames in a .rpm file without using…

To see the filenames in a .rpm file without using ‘rpm’, try: rpm2cpio file.fpm | cpio -it #NetPres

Posted in Tweets | Leave a comment

Startup that needs Cloud Hosting?

I’ve run and worked at Startup IT businesses and I know the need to “keep runways long” and “powder dry”, so Network Presence is able to help you get your startup business’ Internet and Cloud requirements online with great value. For selected Startups, we can provide 50% off our products, or even no cost for equity terms if desired, so please contact us to discuss your cloud or hosting requirements.

Posted in Network Presence, Sales | Tagged , | Leave a comment

“We migrated key functions from Windows to Linux b…

“We migrated key functions from Windows to Linux because we needed an operating system that was stable and reliable” extremetech.com/extreme/155392…

Posted in Tweets | Leave a comment

10 days left on our VPS OzBargain Sale & disco…

10 days left on our VPS OzBargain Sale & discount coupon code. See ozbargain.com.au/node/100423 #NetPres

Posted in Tweets | Leave a comment

All our VPS Plans include IPv6 Addresses, with IPv…

All our VPS Plans include IPv6 Addresses, with IPv6 ‘subnets’ available too. See networkpresence.com.au and click our Hosting Plans #NetPres

Posted in Tweets | Leave a comment

Need Linux or Open-Source SysAdmin help for just a…

Need Linux or Open-Source SysAdmin help for just a month? We’re here for you netpr.es/managed1 #NetPres

Posted in Tweets | Leave a comment

We include cPanel Backup from your current provide…

We include cPanel Backup from your current provider/host & Restore into your #NetPres cPanel VPS in your 1st month. netpr.es/cpanelvpsplans

Posted in Tweets | Leave a comment

You can use our “Checkout as Guest” option in our…

You can use our “Checkout as Guest” option in our Store when purchasing our services without needing to create an account/login on our site.

Posted in Tweets | Leave a comment