مدیریت سرورها

آموزش مدیریت سرورهای لینوکس و ویندوز

مدیریت سرورها

آموزش مدیریت سرورهای لینوکس و ویندوز

سایت در باره انواع آموزشها در زمینه IT می باشد.
مانند: لینوکس، ویندوز، سیسکو، میکروتیک، طراحی وب
به دلیل شخصی بودن وبلاگ ارائه مطالب متفرقه در آن بلامانع است.
با تشکر

طبقه بندی موضوعی

۵ مطلب در تیر ۱۳۹۵ ثبت شده است

۲۳
تیر
echo -e ' \t '

will echo 'space tab space newline' (-e means 'enable interpretation of backslash escapes'):

$ echo -e ' \t ' | hexdump -C
00000000  20 09 20 0a   
  • طاهر ضیائی
۲۳
تیر
# a.sh
num=42
# b.sh
. ./a.sh
echo $num

The variables in "a" do not need to be exported.

  • طاهر ضیائی
۱۰
تیر

پاورقی ها با اعداد 1 ، 2 ، 3 ، ... شماره گذاری شده  و به صورت زیر عمل می کنیم :

1- درون سند و بعد از عبارتی (یا کلمه ) که می خواهید پاورقی مربوط به آن را اضافه کنید ، کلیک نمایید.
2- روی سربرگ  References   کلیک کنید.
3- روی گزینه Insert Footnote  (همون جایی که آیکن AB هستش)  کلیک کنید.
برنامه شماره مربوط به پاورقی را در متن سند و در پاورقی نشان خواهد داد.

نکته : برای اینکه پاورقی در صفحه جدید دوباره از شماره یک شروع بشه باید مراحل زیر را انجام بدین :

1 ـ روی سربرگ  References   کلیک کنید.

2 ـ  روی فلش کوچیک سمت راست در زیرسربرگ footnotes کلیک کرده یک پنجره باز میشه در قسمت format  و در زیر قسمت numbering  گزینه restart each page رو انتخاب کنید.

3 - مشکل حل شد

  • طاهر ضیائی
۰۶
تیر
if your login shell is csh or tcsh, and you have installed

bash in /usr/gnu/bin/bash, add the following line to ~/.login:

if ( -f /usr/gnu/bin/bash ) exec /usr/gnu/bin/bash --login

  • طاهر ضیائی
۰۴
تیر

The ANSI/VT100 terminals and terminal emulators are not just able to display black and white text ; they can display colors and formatted texts thanks to escape sequences. Those sequences are composed of the Escape character (often represented by ”^[” or ”<Esc>”) followed by some other characters: ”<Esc>[FormatCodem”.

In Bash, the <Esc> character can be obtained with the following syntaxes:

  • \e
  • \033
  • \x1B

Examples:

Code (Bash) Preview
echo -e "\e[31mHello World\e[0m"
Hello World
echo -e "\033[31mHello\e[0m World"
Hello World

NOTE¹: The -e option of the echo command enable the parsing of the escape sequences.

NOTE²: The ”\e[0m” sequence removes all attributes (formatting and colors). It can be a good idea to add it at the end of each colored text. ;)

NOTE³: The examples in this page are in Bash but the ANSI/VT100 escape sequences can be used in every programming languages.

  • طاهر ضیائی