Search Results

Search: Posts Made By: creepy cripple
3,851
Posted By creepy cripple
try something like this: #!/bin/bash ...
try something like this:

#!/bin/bash

output=$(uptime)
length=${#output}

for ((i=1; i<=length; i++))
do
character=$(echo $output | cut -c$i)
case "$character" in
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy