• Love God, and love one another!

    Share your heart for Christ and others in Godly Love

    https://christianforums.net/forums/god_love/

  • Want to discuss private matters, or make a few friends?

    Ask for membership to the Men's or Lady's Locker Rooms

    For access, please contact a member of staff and they can add you in!

  • Wake up and smell the coffee!

    Join us for a little humor in Joy of the Lord

    https://christianforums.net/forums/humor_and_jokes/

  • Need prayer and encouragement?

    Come share your heart's concerns in the Prayer Forum

    https://christianforums.net/forums/prayer/

  • Desire to be a vessel of honor unto the Lord Jesus Christ?

    Join Hidden in Him and For His Glory for discussions on how

    https://christianforums.net/threads/become-a-vessel-of-honor-part-2.112306/

  • Have questions about the Christian faith?

    Come ask us what's on your mind in Questions and Answers

    https://christianforums.net/forums/questions-and-answers/

  • CFN has a new look and a new theme

    "I bore you on eagle's wings, and brought you to Myself" (Exodus 19:4)

    More new themes coming in the future!

  • Read the Gospel of our Lord Jesus Christ?

    Read through this brief blog, and receive eternal salvation as the free gift of God

    /blog/the-gospel

  • 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.

Learning to use the "Bash" command line

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
 
Okay, this stupid but harmless command actually works

sudo apt install sl

After it is installed, type sl
I like to know what sl is/does before I type something in
can you tell us/me
 
Install it and then, in the Terminal type and enter sl. Have the kids watch.
 
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.
 
I dont useit much. just upgraded from 14.4 to 16.4. I do use sudo often to get or remove things.
 
Back
Top