Overview for nano

How to create executable from everywhere bash script in Devuan? [with screenshots] [ex.#1]

Bash scripts are very helpful took for work routine and simplifying your work with linux.

Let's create a simple bash script, which writes something in terminal.

#!/bin/bash

for i in  {1..10}
do
  echo Hello number $i
  sleep 3s
done

What does this script? Echo command prints "Hello number #" precisely ten times, but with delay 3 seconds.

Save the code as delayed_hello.sh:

dima@computer:~/scripts$ cd /home/dima/scripts
dima@computer:~/scripts$ ls
delayed_hello.sh

Read more

Written by Administrator on Wednesday April 22, 2020

Devuan apt-get installer asking to insert installation disc - Solution [with screenshots]

You've fresh installation of Devuan and trying to install package, but system is asking for installation media?

Media change: please insert the disc labeled
 'Devuan GNU/Linux 2.1 (ascii) amd64 DVD1 - 2019-12-21 07:24:54 UTC'
in the drive '/media/cdrom/' and press [Enter]

If you continue to click buttons in terminal, system will start downloading packages from repositories, because in your /etc/apt/sources.list file, where all installation media (and their priorities) internet repositories are present as well.

But in case you want Devuan to not ask you for installation media every time, you can edit sources file this way:

Read more

Written by Administrator on Wednesday April 22, 2020