Horje
bash change variable in while loop Code Example
bash change variable in while loop
i=1
while read x; do
   i=$(($i + 1))
   echo $i
done <<<$(find tmp -type f)
echo $i




Shell

Related
tail journalctl last 100 lines Code Example tail journalctl last 100 lines Code Example
sudo apt install powerman Code Example sudo apt install powerman Code Example
phoenix liveview setup Code Example phoenix liveview setup Code Example
create eth1 interface in ubuntu without any physical interface Code Example create eth1 interface in ubuntu without any physical interface Code Example
To check the Logs in Ubuntu and Debian Code Example To check the Logs in Ubuntu and Debian Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10