Найденные страницы с тегом bash всего 35640

NEW

Когда я набираю «python -V» в моем терминале… почему я вижу Python 2.7.10 – 2 Ответа

Вероятно, произошло то, что у вас есть 2 версии Python в вашей среде: 3.6, который вы установили... Вопрос по теме: python, bash, macos, conda.

Reverse of Basename – Bash

The reverse of the basename command in Bash is the dirname command that extracted the directory path from the file path. Read this guide for more details.

Композитор не работает с версией php при передаче --no-dev – 2 Ответа

Решено !!! Похоже, что мой файл- composer был сценарием bash, который не передавал параметры в... Вопрос по теме: php, composer-php.

How to Switch from Zsh to Bash on macOS, and Back Again

To switch from Zsh to Bash on macOS, and back again there are two ways one is through the terminal and the other is through system preferences.

How to Extract File Basename Without Path and Extension in Bash

To extract file basename without path and extension, use the basename command along with the parameter substitution and expansion features of bash.

How to Create Multiline Comments in Bash

There are three ways to create multiline comments in bash: using # symbol, using here documents and using a function. Read this guide for more details.

How to Create a Timestamp Variable in Bash

Timestamps are a crucial component of logging and file management in Bash programming. Read this guide for more details.

How Do I Compare Two String Variables in an ‘If’ Statement in Bash?

Comparing string variables in Bash can be done using various operators such as '==' and ‘!='. Read this guide for more details.

How Can I Run Bash in a New Container of a Docker Image

To run Bash in a new container of a docker image, just use the run command by stating the image name. Read this guide for more details.

How to Block Comments in a Shell Script-Bash

Block comments can span multiple lines of code. In shell scripting, we can create block comments by enclosing the comments within the <<'EOF' and 'EOF' markers.

Bash-Difference Between Wait and Sleep

The wait command is used to pause a script until all child processes have completed, while sleep is used to pause a script for a specified time.

Поднимаем медиа-сервер и хостинг с помощью Docker / Хабр

Приветствую Хабр в моей первой статье. Было много предпосылок для создания этого проекта: локальное хранилище для музыки и фильмов, которые достойны большего чем &quot;сохраненка&quot; в чужом облаке,...

Транскрибация в Linux + lifehack / Хабр

Скрипт работает Нет, это не ругательное слово (для тех, кто не в курсе). Транскрибация это перевод голоса в текст. На протяжении нескольких лет я подрабатывал этим делом. Титры для видео (использовал...

Обходим файловый кэш Google Drive в Colab / Хабр

Про colab знают, наверное, все. Этот инструмент позволяет независимым исследователям использовать облачную инфраструктуру с GPU и TPU бесплатно или почти бесплатно. Как всегда, проблемы возникают на...

Как я перестал пользоваться консолью (почти) / Хабр

Я достаточно давно, уже больше 18 лет (капец я уже старый :`( ), использую консоль. Пробовал разные оболочки: bash, sh, zsh, ksh, но остановился на тех, что стоят по умолчанию на системах. Пожалуй,...

Сага о том, как я клеил ROS и Docker / Хабр

Это в общем-то первая статья на хабре, пробная и экспериментальная. Цель статьи изложить процесс создания темплейта под разработку для ROS (Robot Operating System) внутри контейнера и сделать это в...

Экспорт записей SQL с Bash – 1 Ответ

Не знаете, что находится в вашем ../db.config но ответ должен быть следующим: .i1a { width:... Вопрос по теме: mysql, bash.

Пакетный цикл цикла через файлы CSV в MySQL – 1 Ответ

Пытаться: Файл: load_csv.sh(-rx------ user user load_csv.sh*) #!/bin/bash for current_csv in... Вопрос по теме: mysql, csv, batch-file, windows.

Отказ от некоторых HTML-тегов в BeautifulSoup – 1 Ответ

Вы пытались просто найти конкретный тег, который хотите? .i1a { width: 336px; height: 280px;... Вопрос по теме: html, bash, linux, text, beautifulsoup.

CalledProcessError код состояния выхода 5 – 1 Ответ

Для записи здесь, как вы должны запускать ваш.py файл: result = subprocess.check_output([ ... Вопрос по теме: python, bash, runtime-error, subprocess, exit-code.

What Is the Difference between the Bash Operators [[ vs [ vs (Vs ((

The Bash operators [[ ]], [ ], ( ), and (( )) have different uses and syntax. Read this guide to understand the difference between all operators.

What Is the Meaning of $ in Bash Script

The dollar sign ($) is a versatile special character in Bash scripting that is used for various tasks in scripting. Read this guide for more details.

What Does “ ||” Mean? (Double Pipe) – Bash

The double pipe || is an OR operator. It means that if one of the conditions is true, then the operation will automatically quit, as one condition is already true.

Syntax for Single Line While Loop in Bash

A single-line while loop is used to execute a set of commands repeatedly as long as a certain condition is true. Read this guide for more details.

How to Wake Up a Sleeping Bash Script

To wake up a sleeping bash script from sleeping there are two ways: one is through kill -15 and the other is through kill -TERM command.