LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2022, 03:11 AM   #16
Iwan154
LQ Newbie
 
Registered: Nov 2022
Posts: 13

Original Poster
Rep: Reputation: 11

Quote:
Originally Posted by Turbocapitalist View Post
Hmm. The best practice is to use it daily for your tasks. If you are just getting started then you might try to learn your way around the shell, too, while you are at it. Bash is ubiquitous but you will also find Zsh and some others increasingly popular. The main thing to learn there is the tab completion and how to use it. Then find an overview of the differences between Bash and some of the other shells.

As for tasks here is a short list in no particular order:

update the OS
install a package
remove a package
reboot now
reboot at a scheduled time
suspend the desktop
read the manual page for a specific utility
find which text file contains a specific string
edit a text file
check permissions on a file
change permissions on a file
list the files in a directory
list the files oldest first, newest last
change to the previous directory (by shortcut)
pull from Git
run a script
restart a service
view a text file in a pager
stop a service
start a service
delete a file
generate some SSH keys with a comment and a specific file name
check the SHA256 fingerprint of a local SSH key
set up SSH key-based authentication for an account
remove a bunch of files at once
make symbolic links

That's maybe a start.

What are you interested in doing and what kind of things have the tutorials focused on? Again, just using it to solve regular tasks is about the best experience.
This is perfect. If you can send more task like this (for beginners) and more complex tasks, I would be very thankful. In this way I can try things and learn something new, because I had no idea that something like SHA256 exists
 
Old 11-24-2022, 03:37 AM   #17
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
There are some good resources named in the other posts too, especially the Shotts book. The whole book is good but section four is especially important.

Here are a few more for the interactive shell:

configure sudoers to run a script as another, but non-root, account
run a script as another non-root account using sudo
configure doas to allow starting, stopping, restarting, and reloading a service
start, stop, restart a service using doas
edit a service's configuration
reload that service using doas
fetch an ISO image using wget
verify the integrity of the ISO using sha512sum
verify the authenticity of the ISO using sq or gpg
list nftables rules
add a (temporary) rule to nftables
add a (permanent) rule to nftables
start a tmux session
detach the tmux session
reattach the same tmux session
make an new window in tmux
view a log file with a pager
track the log file as it grows using tail
pipe tail into grep or awk to select only specific log entries
switch windows in tmux
check the local date and the UTC date
check a remote service with netcat
use openssl to view the valid period of an x509 certificate
use SSH keys to log into a remote host (-i)
set up a while loop to re-log into the remote host automatically on an intermittent network
use zenity to pop up a notice at a specific time or upon script completion (hint DISPLAY=:0.0)
find out which accounts are logged in and active with w
find process ids with a certain name using pgrep (-d)
find details for said process ids using ps (-p, -o)

YMMV.

Some of those are common tasks in general others might be common for some people in some activities but not others. Be sure to at least skim the manual pages for each utility. It'll be very useful to be comfortable doing that and learning how to look up the details easily when you need them. So it is more important to learn to find and skim manual pages than to try to remember any specific utilities. That'll come automatically with repetition anyway. Though if you are interested in servers, I would recommend finding your way around tmux, ssh, sudo or doas, and some basic shell scripting.

Again, see posts #6 and #10 among the others above.
 
Old 11-24-2022, 04:13 AM   #18
axolinx
Member
 
Registered: Dec 2020
Posts: 55

Rep: Reputation: Disabled
There are a bunch of good beginner tutorials in youtube. Look for the complete courses that follow some sort of line, otherwise you can get lost learning a gazillion different things here and there. Here are a few good starting points for begginers, follow their playlists:

Linux sysadmin basics
https://www.youtube.com/watch?v=bju_...PmiRarU7hrpnwK

CentOS tutorial (98% of this one applies to any linux distribution)
https://www.youtube.com/watch?v=Mi6G...mi5FmBGIZ8cNJE

Take it easy and have fun, everything starts clicking and making sense after some time, then it gets REALLY fun and productive.
 
Old 11-24-2022, 10:29 AM   #19
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
MLL

http://minimal.idzona.com/the_dao_of...linux_live.txt

(I use MLL [a M$Win VM] to $0 phone-tutor beginners on kernel & core CLI)


IF I were to buy just one book: https://www.amazon.com/Linux-Adminis.../dp/1260441709
would probably beat out the best one: How Linux Works & various Linux Bibles

Last edited by !!!; 11-24-2022 at 12:40 PM. Reason: Mll &_links
 
Old 11-24-2022, 10:48 AM   #20
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
https://www.unixmen.com/linux-in-edu...-and-teaching/
 
1 members found this post helpful.
Old 11-24-2022, 05:13 PM   #21
Iwan154
LQ Newbie
 
Registered: Nov 2022
Posts: 13

Original Poster
Rep: Reputation: 11
Thank you everyone. Community on this forum is very helpful.
I didn't expect so many replies. Every reply is important for me and
reach me something new. Have a nice day everyone
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Put Design Thinking into practice with the Open Practice Library LXer Syndicated Linux News 0 07-22-2022 01:02 AM
can't connect to rha-server to grade online exercises jbishop Linux - Newbie 1 10-13-2011 01:27 AM
Linux Script Exercises SBN Programming 8 01-19-2007 06:06 AM
new to linux, exhaustive command line exercises rajneesh_mangla Linux - Software 2 02-08-2006 02:56 PM
Learning Exercises - Where can I find them? BenChase Slackware 3 12-15-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration