約124件1ページ目

日本語のみで絞り込む

2022/6/5 -I am doing a script to evaluate the last connection of a user, for this, I get the last time it was connected, and I extract the user + the date ...

2013/7/25 -If you want to compare with the current date, use $EPOCHSECONDS instead of one of the dates. Share.

2019/12/10 -I all I have written a bash script for compare two date. One of those is a result of query, and another is current date.

2014/11/19 -I need to compare 2 strings of the following formatting: 2013-12-31T00:00:00 2014-11-19T15:40:30. Its a custom datetime format. I tried ...

2019/4/25 -#!/bin/bash currenttime=$(date +%H%M%S); peak_time="10:05:31" peak_time=$(date -d "+1 hour" '+%H%M%S'); num1=$(($peak_time-$currenttime)) ...

2011/6/9 -In Bash script, I would like to compare two dates and if one is greater than the other, carry out a task. Two dates that I'm comparing are:.

2026/10/21 -Bash string comparison using equal, not equal, regex, and pattern matching operators. Includes examples for empty strings, case-insensitive ...

How to compare strings in Bash Bash Compare Strings: How to Check if Two Strings Are Equal Compare a string using sh shell - Stack Overflow ...

YouTubeTechnical Rajni

2026/2/4 -Here you can see that bash does not treat numbers stored in variables in any special way. Conversions between string and numbers are done ...

2025/9/21 -Learn how to compare strings in Bash. This guide covers equality, inequality, and testing string length with examples for Linux systems.