Christian Forums

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • Focus on the Family

    Strengthening families through biblical principles.

    Focus on the Family addresses the use of biblical principles in parenting and marriage to strengthen the family.

  • Guest, Join Papa Zoom today for some uplifting biblical encouragement! --> Daily Verses
  • The Gospel of Jesus Christ

    Heard of "The Gospel"? Want to know more?

    There is salvation in no other, for there is not another name under heaven having been given among men, by which it behooves us to be saved."

Learning to use the "Bash" command line

2024 Website Hosting Fees

Total amount
$1,048.00
Goal
$1,038.00
I read back into the string and you had to enter a password and uncheck the need for it on boot. Sudo is Super User Do and the SU always requires the password. Sorry, I've been in a long sleep period.
 
Okay, I didn't set a password when I set up Linux, but now I need one. Open the terminal and type this into the command line:

The traditional method to set a password is this command:
sudo passwd [user]
Where [user] is replaced with your username.
It should let you set a password without prompting for one since none currently exists.

My first successful Linux improvement with Bash!
 
Okay, I didn't set a password when I set up Linux, but now I need one. Open the terminal and type this into the command line:

The traditional method to set a password is this command:
sudo passwd [user]
Where [user] is replaced with your username.
It should let you set a password without prompting for one since none currently exists.

My first successful Linux improvement with Bash!
LOL! You are growing.
 
Okay, here are four more harmless Bash commands. Open a terminal and try these; they will not harm your computer.

top List all running processes

w Display who is online

info 7 gives you the main information menu

help gives you an online list of commands
 
the only thing I remember from using Linux is that sudo is the magic word
*snatches that PDF in case I need to relearn some bash in the future*
 
Okay, this stupid but harmless command actually works

sudo apt install sl

After it is installed, type sl
 
I have a new puppy and now seem to be perpetually early and was thinking of new users and this string. As Vince discovered, a password is required to update anything and since the requirement of a password is so strong, it keeps the average Black Hat Hacker out of your puter. When you install the Operating System, on the last, the seventh option page, near the bottom is the option to boot without signing in.

So fear not, you can allow the children the use of your puter but they cannot install and they cannot allow anything from the Internet to infect your unit with viruses.
 
I need to clarify:

Bash is not an operating system. It is a "shell" whose primary purpose is to help developers write programs. However, people have written various Bash programs that you can download for free, using the sudo command. But Bash actually includes some built-in programs. Here are three of them:

cal prints this month's calendar with today's date.

factor (number) breaks any number down into its prime factors. For those who forgot your high school math, a prime number can only be divided by itself and 1. Type factor 4 into the command line, and it will tell you 4: 2 2. Since 2 is a prime number, it cannot go lower than 2. No matter how large the number, the factor command will break it down into prime numbers. Factor 456 will tell you that 2 2 2 3 19 are the prime factors of 456.

for i in {1..9}; do for j in $(seq 1 $i); do echo -ne $i×$j=$((i*j))\\t;done; echo;done This prints the times tables up to 9. You can replace the numbers 1 and 9 with other numbers. I actually typed in 111 and 999, and it gave me all the times tables for them.
 
Back
Top