Показаны сообщения с ярлыком hints. Показать все сообщения
Показаны сообщения с ярлыком hints. Показать все сообщения

20 авг. 2012 г.

Bash: Let me bash that for you, Part 1

Let's get the next dan of bash with the text processing.

The 1st note is the greatest idea of the whole unix is in that everything is file - classic file, directory, devices, file systems and so on.

Many commands expects the file for its input or it could be a simple standard input also known as stdin (refers as stream #0).

As well many commands put their output to standard output aka stdout (refers as stream #1) or to standard error output aka stderr (refers as stream #2).

There are several key text processing command and several techniques like stream redirection.

And once more! the most powerful command is man means manual.

14 авг. 2012 г.

Bash: Let me bash that for you, Part 0

I was going to write about some Unix-like shell hints which I usually use like grep, sed, for loop, variables and so on. I noticed that I do usually use lots of bash kung-fu beyond the shadow of a doubt.

I'm not going to start a holly war what shell is the best one - sh, ksh or whatever. I know how to cook bash tasty - it has lots in common with sh but some nuances happen.

That isn't a bash tutorial or so - it's more like commonly used hints and tips.

5 июл. 2009 г.

1 дек. 2008 г.

Linux: Dual head

В общем получилось так, что дома теперь я могу подключать нормальный монитор к своему ноутбуку. Тут и передача цветов значительно лучше, и размер монитора больше. Однако такое подключение, dual head возможно только дома - на работе только экран ноутбука.

23 окт. 2008 г.

Segmentation fault? Core dumped!

Приложение свалилось по Segmentation fault ? Таково c'est la vie и суровая действительность.
Разработчику на заметку:
Итак есть простое приложение, для наглядности оно обязано валиться

21 мар. 2007 г.

прощай xdm !

Предпосылки:
  • Таскать *dm (со всеми зависимостями) ради login'а, после чего *dm весит в памяти, но эффективно ничего не выполняет
  • При каждом login'е в консоли надоело писать startx, тем более, если кто-то уже занял нулевую графическую консоль.
  • Необходимо обеспечить должную безопасность.