CyberSecurity part 10-1
So far, this series as presented links to a good series on the BASH shell, so you should now be able to navigate and carry out basic and may be more advanced tasks. The series of posts, will now move on to other topics. I am aware that much of this may be new to people.
As I mostly hangout on IRC (Internet Relay Chat), which is a text based real time chat system, I am happy to provide basic support via IRC, probably early evenings (UTC). So between 19:00 and 21:00. I am on irc as zleap.
I have included a direct link below to the web based chat area [2], so using channel #phillw. I know the owner due to being involved with testing big blue button.
You are encouraged to read up a little on IRC [3], For transparency, we are using the Libera Chat network [4]. The web client is hosted with KiwiChat [5].
Discuss
1 Tuxiversity Forum
Further help with this series of posts
2 IRC Chat
3 What is irc
4 Libera Chat
5 Kiwi Chat
Tags
#CyberSecurity,#BASHShell
CyberSecurity part 10
So on to video 8 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

This video completes this 8 part series, the next video that I found covers using the nano editor. After which I have found some more videos that cover shell scripting in more detail. I think it is important to be familiar with an editor before moving. So you may want to skip ahead to tomorrows video watch that, then come back to this if you want to be more familiar with nano going forward.
Discuss
Summary
I am not providing a summary for this.
Tags
#CyberSecurity,#BASHShell
CyberSecurity part 9
So on to video 7 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

Discuss
Summary
- free & free -h
- df & df -h
- du & du | les
- watch – real time monitoring
- watch free -h – ctrl q to quit
- dmesg – kernel actions, lots of output so...
- to view the last entries in syslog
- tail / var/log/syslog
- tail / var/log/syslog > syslog.txt – redirect to a file
- System d
- journalctrl – displays messages from boot
- top – display processes etc
- htop – as above but nicer program with more control
- killall – kills a process
- Network
- video uses ifconfig, which is depreciated so ..
- ip addr show – will show your ip and network info
- ping – tests a website or computer is up
- ping www.youtube.com
- ping ipaddress e.g ping 192.168.2.100
- Mounting file systems
- lsblk – lists block devices
- sudo mount /dev/sda2 /mnt – mounts a device (note this is the example from the video)
- sudo umount /dev/sda2 – unmounts a device
- sudo fdisk -l – display info on devices
- UUID
- sudo blkid – lists devices and uuid info
- uname -a – lists system info e,.g kernel version and architecture
- history – display command history
- history | less or
- history 10
- pressing tab after a partly typed command auto completes e.g :
- cal displays calender
- Disk defrag, as video says this may not be needed, but IS useful if needed
- sudo ex4defrag /home -c this checks to see if you need to defrag – degrag s only for older hard disks, does not work on solid state devices
- sudo reboot – will reboot the system
- sudo shutdown -r – will reboot
- sudo shutdown -h halts the system
- sudo shutdown -t 20 – sets a 20 minute timer
- sudo shutdown -c cancels the shutdown timer
Again, all these commands do have a related man page.
Tags
#CyberSecurity,#BASHShell
Overleaf Webinar May 17
Date & Time(s): Tuesday, May 17, 2022, 10AM ET / 3PM BST / 7AM PT.
Topic: Intro To Overleaf Part II: Intermediate Features
Description
Our Intro to Overleaf Part II webinar is perfect if you want a deeper insight into how to best use Overleaf and make the most of your account access or subscription. In this webinar we’ll be covering:
Related Links
Tags
#TeXLaTeX,#Overleaf,#OverleafWebinars
CyberSecurity part 8
So on to video 6 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

Discuss
Summary
So the topics looked at here are, and this specific to apt, so most of the commands work on Debian, and one or two such as the PPA management is Ubuntu specific. Again watching the video is really useful
- apt update
- sudo apt upgrade
- sudo apt dist-upgrade
- sudo apt remove
- sudo apt install
- apt cache search – for lots of output you can use
- downloading deb packages with wget
- installing downloaded deb packages with dpkg
- installing from PPA (personal package archive – ubuntu specific)
- cleaning the system
- sudo apt clean
- sudo apt autoclean
- sudo apt autoremove
- sudo apt autoclean
Again the man pages have a lot more information.
Tags
#CyberSecurity,#BASHShell
CyberSecurity part 7
So on to video 5 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

Discuss
Summary
Not all of these will work with vfsync.
Add user accounts with adduser
To drop to that user from your account su – bob (the hyphen is important
display groups for a user su -c 'groups' bob
other commands mentioned include :-
useradd – adds user to a grop
gropdel / delgroup – manage groups
deluser – delete user
All these are covered in man pages
change user password
sudo passwd bob
lock a user out of their account : sudo passwd -l bob –
unlock a user account : sudo passwd -u bob
delete a user
sudo deluser bob will only remove a user, to remove their files use
cd /home
ls
rmdir -r bob (use recursive with extreme caution)
When you set up a user, you add info, this is called finger information, if you need to change this, then you can use the chfn command with
sudo chfn user
Again this is just a summary and should be used in combination with the video.
Tags
#CyberSecurity,#BASHShell
Code Club 7/5/2022 Write up
We had a quiet code club today, only 3 people turned up, nevertheless it was quite productive as the two young people and their mum who came were working with Roblox and we had a short discussion around Roblox studio and what they do at school with regard to coding. As we can't install anything on the computers, they were using online resources.
Links
Tags
#CodeClub,#FreeCodeCamp,#Microbit,#Scratch,#Python,#WebDesign,#Lego,#Coding,#Education,#LookingForWork,#LegoWeDo,
#Replit,#LookingForWork
Please contact Paignton Library.
Next week – 14th May is STEM Group.
Next Code Club – 21st May
CyberSecurity part 6
So on to video 4 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

Discuss
Summary
Find command allows you to find:-
man pages
man is short for manual, we cam use this to view the manual pages for commands e.g :-
On a similar note there are also info pages, which are another source of information.
If we want to find programs we can use the which command which outputs the path to a particular program.
Command : which htop
Output : /use/bin/htop
Finding files
find -name junk.txt
will find and display the path to the junk.txt file
As a normal user you can also search for files such as fstab, however as this is owned by root you will get permission errors.
Find text within files
grep (GNU Regular Expression Parser)
grep nano junk.txt
so here we have
command string to search for file to look in
we can direct the output of this with
grep nano junk.txt > grep.txt
will search junk.txt for the string nano, the direct the output to the file grep.txt
Tags
#CyberSecurity,#BASHShell
Code Club 7/5/2022
The next Club will be on Saturday 7th May 2022 @ Paignton Library.
We will carry on with what we were doing at previous sessions, hopefully do more with the Lego WeDo and Python. I have also been working on a series of posts on this website to introduce different topics, with the eventual aim of this leading to posts about cybersecurity. So the series starts off with some youtube videos (not mine, but they are an excellent introduction) to the BASH shell.
If you are following the activities provided by code club, please use the website link below. There are now many new activity links.
Links
Tags
#CodeClub,#FreeCodeCamp,#Microbit,#Scratch,#Python,#WebDesign,#Lego,#Coding,#Education,#LookingForWork,#LegoWeDo,
#Replit
Please contact Paignton Library.
Next week – 14th May is STEM Group.
Next Code Club – 21st May
CyberSecurity part 5
So on to video 3 of 8, I will maintain the login link so that you don't need to go hunting back through previous posts.

Discuss
Summary
Video starts off correcting an error from the first video, presenter forgot to cover the copy (cp) command, this is discussed at the start of the video.
Example 1 – make a backup of a file
cp file1.txt file2.bak.txt
Example 2 – Copy a file to home directory
Lets say we are in /home/user/junk (like in the video):-
cp file1.txt ~/ will copy to home directory. You can use cd,, to drop down a level in the file system to /home/user to confirm this.
Also use wildcards e.g
cp *.txt will copy any files with .txt as the extension.
User permissions
chmod – change mod
using sudo on its own has a time out
sudo -s assumes the root user to root until you type exit
root user has a # normal users have $
changing owner permissions
chown – change owner
chown user:group file.txt
You need to be root for this so use sudo chown user:group file.txt
Tags
#CyberSecurity,#BASHShell