public marks

PUBLIC MARKS from orieg

2020

5 Simple Steps On How To Debug A Bash Shell Script

Learn how to quickly debug scripts in Bash with those 5 simple steps that use some of the Bash shell special properties.

The Complete How To Guide Of Bash Functions

Learn how to write shell scripts with bash functions. This guide includes examples and best practices on how to define, call, and debug functions in bash.

What Is The Right Way To Loop In Bash?

Looping over a list of numbers or words is a building block in shell scripts. Learn how to write Bash loops, including for loop, while loop, and until loop.

What Is The Best Way To Count Files In A Directory?

Learn how to count the number of files in a directory using the Linux command line ls, find, and a native bash shell solution with globs and arrays.

5 Mistakes To Avoid For Writing High-Quality Bash Comments

Adding comments in your Bash scripts is necessary to ensure maintainability over time. This post covers 5 Bash comments mistakes to avoid in your shell scripts.

How To Script Powerful Bash If Statement?

Learn how to script a Bash If statement with the then, else, and else if / elif clauses. This post covers the Bash conditional expressions, and how to avoid common pitfalls when using the Bash If statement.

Performing Math Calculation In Bash

Find out how to do math with integer and floating-point arithmetic in Bash. We cover addition, subtraction, division, multiplication, and also floating-point precision.

What Is The Bash Null Command?

Learn about the Bash null command, also known as the POSIX shell colon command. This post cover concrete use cases and pitfalls to avoid.

A Complete Guide On How To Use Bash Arrays

Learn how to use bash array variables and associative bash arrays. This guide covers how to declare a bash array, iterate over a bash array, and access keys and values.

How To Format Date And Time In Linux, MacOS, And Bash?

Find out how to manipulate date and time on linux and macOS systems as well as natively in the Bash shell. This post covers all you need to know to format a date from your shell.

2008

Shell Tips ! » Cheap SAN and secure backup solution for small-sized platform

Here is a quick post about a cheap SAN and secure backup architecture solution for small-sized platform (5/10 servers). In this study case we will see how to use Network Block Devices (nbd) and soft-raid with mdadm.

2007

Shell Tips ! » Bind 9.5.0 - Patch dlz MySQL 5 for auto reconnect

Here is a quick post of a “quick and dirty” patch for Bind 9.5.0a6 and its dlz mysql driver. The patch resolve the problem of a lost connection to the database.

Shell Tips ! » Bash Help Sheet

Useful cheat sheet with commands and shortcuts for the bash shell.

2006

Shell Tips ! » Fine tuning a Linux Apache MySQL PHP (LAMP) server

Fine post about tuning a Linux Apache MySQL PHP (LAMP) Server. From the software approach to the TCP tuning. Many clues about tuning a linux server.

Shell Tips ! » CLI workaround for Windows XP : Doing a pause in a batch script

Nice tips for producing a simple delay with batch on windows XP by doing a ping or adding the windows server 2003 sleep.exe

Shell Tips ! » Using bash wildcards

Usefull bash wildcards for better shell usage. Wildmark are question mark, curly brackets, square brackets and asterix.

Shell Tips ! » Help Sheet for vi editor

usefull pdf/jpg file for remember usefull vi/vim commands. Great for working quickly !

Shell Tips !» Working quickly with some usefull BASH Shortcuts

Usefull bash shortcuts. Nice tips for working and moving quickly on it's shell

Shell Tips !» CLI workaround for Windows XP : Using LIST (LESS-Like)

LESS-Like usage on a windows XP by using LIST command line tool. Nice Tips.

Shell Tips !» CLI workaround for Windows XP : Using GREP (QGREP)

Another usefull tips for Windows XP admins. A GREP-Like command : QGREP.

Shell Tips !» CLI workaround for Windows XP : Using TAIL

Usefull workaround for missing tail command on windows XP. Good tips for windows admins.

Shell Tips !» Removing ^M in imported Windows files

Quick reminder about cariage return and line feeds convention on different operating system. Some tips for simple convertion.

Shell Tips !» Blog Archive » Raid 5 Monitoring on Dell Power Edge 2650 with afacli

Interesting way to monitor Raid 5 of PE 2650 running under debian using the dell afacli tool.

Shell Tips !» Blog Archive » Delete old files by the last access date

A case study about a scheduled method with a batch file for deleting some old files by their last access date on a Windows XP Workstation.

orieg's TAGS

search:

limit:50 100 200

2003   2650   afs   aoe   bash   bash array loop   bash array value   bash date   bash dictionaries   bash functions   bash if statement   bash null command   bash tutorial   batch   carriage return   cli   coda   commands   conditional expressions   convert   count files   cp   cr   cr+lf   curly bracket   date   date format   dd   debug   delay   delete   delete file   dell   dlz   drdb   driver   edge   edit   file   file edit   Grep   help   help sheet   if statement   insert   iscsi   kit   legionfs   lf   line feeds   linux   log   losetup   lost connection   LS   math   mdadm   modprobe   mogilefs   monitor   monitoring   MV   mysql   nbd-client   nbd-server   perc   ping   power   profile   programming   qgrep   question mark   raid   reconnect   recover   resource   san   schedule   server   shell   shell scripts   shell tips   shortcut   shortcuts   sleep   soliddb   square bracket   tail   tcp   tips   trace   tune   tuning   undo   vim   wait   wildcards   windows   xp   yank