Language : bash
|IBM MQ - Generate Channel Sequence Number Reset Commands||jtjiver||Bash||
Grab the saved SEQNUM and produce reset commands for channels - DOES NOT RUN THE COMMAND - ONLY ECHO IT
|Unix file timestamps||jtjiver||Bash||
|make your unix script executable||geekzspot||Bash||Shell||
Getting Permission Denied? How to make your unix shell script executable
|Unix Shell Script Usage||geekzspot||Bash||
Check for the correct usage of a script by counting the arguments or parameters. Here if there are less than two command line arguments we then display a helpful message and exit.
|convert unix date to a different timezone||geekzspot||Bash||
Want to display what the time is in a different time zone?
Valid timeZone values are based on the tz (timezone) database used by Linux and other Unix systems. See them at http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/timezone.html
|Simple Command Line Calculator||brownrl||Bash||Bash||
This is a simple wrapper to bc to perform basic calculator duties. with up to 4 decimal place precision. its just one of those things you might find useful. Then again all the os's out there have a gui calc easily ready too.
|Unix Make My Home Public||geekzspot||Bash||
Give All Read Write Permissions on my Home Directory Fodler
|Unix Delete Old Files||geekzspot||Bash||
-mtime +10 # older than 10 days -type f # only files -delete # Obvious! Remove it to see the files
|Reload dependencies cache in maven 2/3||alces||Bash||local||
How to reload dependencies cache in maven 2/3
|IBM MQ - Create Channel Reset Command||jtjiver||Bash||MQ||
IBM MQ Grab the saved SEQNUM and produce reset commands for channels - DOES NOT RUN THE COMMAND - ONLY ECHO IT
|Print 100 most often used commands||kuonirat||Bash||
For fun and work optimisation purposes :)
|Common @openshift RHC commands||chrisaiv||Bash||openshift||
I use these commands all the time while dealing with @openshift. I figured it would make sense to spell them out.
|Remove Unneeded Linux Kernels in Ubuntu||oxnard||Bash||linux||
Remove Unneeded Linux Kernels in Ubuntu
|Truncate UNIX File||geekzspot||Bash||
Empty out that file in a jiffy!
|How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB||developer||Bash||grub||
Grub 2 typically gets overridden when you install Windows or another Operating System. To make Ubuntu control the boot process, you need Reinstall (Repair/Restore) Grub using a Ubuntu Live CD.
Using the sudo command, especially from a Live CD can do serious damage to your system. Read all instructions and confirm you understand before executing any commands. When pasting into the Terminal, use Ctrl+Shift+V, NOT Ctrl+V.
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD) and find out. It is usually a EXT4 Partition. Replace the XY with the drive letter, and partition number, for example: sudo mount /dev/sda5 /mnt.