Geeky Wrap-up: Week of Jun 14, 2010

by Ramesh Natarajan on June 19, 2010

While the Lakers were celebrating their championship, and Roger Federer was getting ready to defend his Wimbledon title, this is what happened at The Geek Stuff this week.


The Magic ~: Bash Tilde Expansion with 5 Examples

Other than “cd ~”, to jump to your home directory, ~ can do lot more tricks. For example:

  • ~username
  • ~+
  • ~-
  • cd ~+2
  • cd ~-5

Promise me that you’ll never disrespect the ~ again.

Read the full post here.


Understand at, atq, atrm, batch Commands using 9 Examples

Lazy sysadmin is the best sysadmin. Use the at* commands explained here to schedule your routine jobs.

  • at -f watch-soccer.txt now + 1 min
  • atrm 10
  • at noon

Now that you’ve scheduled your jobs, get back to work! – Watch the world cup soccer.

Read the full post here.


4 Easy Steps to Install and Configure VMware Server 2 on Linux

This is a new series of VMware article we started. In the future articles we’ll be discussing about the following:

  • ESXi installation
  • vSphere installation
  • VM creation
  • datastore management etc.,

Read the full post here.


Perl Array Reference and Dereference Tutorial With Practical Examples

  • $array_ref = \@array; – Reference
  • @{ $array_ref }; – Dereference

We also spoke how to to convert the following ugly looking Perl code-snippet to something readable.

$ { $ { $ { $array_ref } [2] } [2] } [1]

Read the full post here.


How to do Perl Hash Reference and Dereference

As a follow-up to our array reference and dereference, this is a quick FAQ on how to do the same on Perl Hash.

  • $hash_ref = \%author; – Reference
  • $name = $ { $hash_ref} { name }; – Dereference

We also combined few quick FAQs on how to install / remove packages on following OS.

Linux Sysadmin Course Linux provides several powerful administrative tools and utilities which will help you to manage your systems effectively. If you don’t know what these tools are and how to use them, you could be spending lot of time trying to perform even the basic administrative tasks. The focus of this course is to help you understand system administration tools, which will help you to become an effective Linux system administrator.
Get the Linux Sysadmin Course Now!

If you enjoyed this article, you might also like..

  1. 50 Linux Sysadmin Tutorials
  2. 50 Most Frequently Used Linux Commands (With Examples)
  3. Top 25 Best Linux Performance Monitoring and Debugging Tools
  4. Mommy, I found it! – 15 Practical Linux Find Command Examples
  5. Linux 101 Hacks 2nd Edition eBook Linux 101 Hacks Book

Bash 101 Hacks Book Sed and Awk 101 Hacks Book Nagios Core 3 Book Vim 101 Hacks Book

{ 2 comments… read them below or add one }

1 NetSpider June 20, 2010 at 9:38 am

[root ~]# ~root
bash: /root: is a directory
[root ~]# ~+
bash: /root: is a directory
[root ~]# cd ~+2
bash: cd: ~+2: No such file or directory
[root ~]# cd ~-5
bash: cd: ~-5: No such file or directory

did i miss something?

2 NetSpider June 20, 2010 at 9:47 am

Ohh, sorry, i’m not very familiar with bash)

Leave a Comment

Previous post:

Next post: