Наши партнеры



Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Танец на выпускном взорвал сеть: смотреть без детей
Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Этот танец невесты оставит вас без слов! Пересмотрела 10 раз!
Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Диалог бабушки и внучки! Такое видео вызывает смех сквозь слезы…
Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Женатым лучше не смотреть: танец роскошной Татьяны (видео)
Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Танец на выпускном взорвал сеть: смотреть без детей



Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Этот танец невесты оставит вас без слов! Пересмотрела 10 раз!

6.4. Performing more than one command

Executing═the═second═command═only═if═the═first═is═successful

To do this you would type:

command1 && command2

command2 will be executed if command1 successfully completes (if command1 fails command2 won't be run). This is called a logical AND.

Executing═the═second═command═only═if═the═first═fails

To do this you would type:

command1 || command2

command2 will be executed if command1 does not successfully complete (if command1 is successful command2 won't be run). This is called a logical OR.

Executing═commands═sequentially

To execute commands sequentially regardless of the success/failure of the previous you simply type:

command1; command2

command2 will execute once command1 has completed.

TipMore than two commands
 

You can continue to use ';' (semicolon) characters to do more and more commands on the one line.


Реклама
  • ИП Попов А.П.
  • ИНН: 602715631406
Танец на выпускном взорвал сеть: смотреть без детей