Special msg for the Tuesday Group
WEEKLY NEWSLETTER 17 - 22 FEBRUARY 2025
Hello and Welcome,
Meeting This week
2025/02/18 — 10:00-12:00 — February, Tue — Tuesday Group
Meetings Next Week
NO MEETINGS
Schedule of Current & Upcoming Meetings
First Tuesday 18:00-20:00 — Main Meeting
Third Tuesday 10:00-12:00 — Tuesday Group
Third Saturday 14:00-16:00 — Web Design
----------
Go to the official Sydney PC Calendar for this month's meeting details.
----------
ASCCA News:Tech News:
Linux Cheat-Sheet
This special Newsletter is aimed at the regular attendees of the Tuesday Group
See the one-page Cheat-Sheet as a PDF from Loggly from 2015/05.
We will be installing WSL (Windows Subsystem for Linux) on the Club's Windows 10 machine, so here are a few Linux Commands we can try.
The above Cheat-Sheet from Loggly is just a single page, and the type is very small; I tried printing a few copies, but made a slightly more readable version here, instead.
That'll make the testing of our Linux less taxing...
We hope to see you this Tuesday from 10 am to 12 midday at the SMSA (trains permitting).
— Bob
Basic commands
| — Pipe (redirect) output
sudo [command] — Run <command> in superuser mode
nohup [command] — Run <command> immune to hangup signal
man [command] — Display help pages of <command>
[command] & — Run <command> and send task to background
>> [fileA] — Append to fileA, preserving existing contents
> [fileA] — Output to fileA, overwriting contents
echo -n — Display a line of text
xargs — Build command line from previous output
1>2& — Redirect stdout to stderr
fg %N — Go to task N
jobs — List task
ctrl-z — Suspend current task
File permission
chmod -c -R — Modify file read, write and execute permission
touch -a -t — Modify (or create) file timestamp
chown -c -R — Change file ownership
chgrp -c -R — Change file group permission
Network
netstat -r -v — Print network information, routing and connections
telnet — User interface to the TELNET protocol
tcpdump — Dump network traffic
ssh -i — OpenSSH client
ping -c — Print routing packet trace to host network
File management
find — Search for a file
ls -a -C -h — List content of directory
rm -r -f — Remove files or directory
locate -i — Find file using updatedb(8) database
cp -a -R -i — Copy files or directory
du -s — Disk usage
file -b -i — Identify the file type
mv -f -i — Move files or directory
grep, egrep, fgrep -i -v — Print lines matching pattern
File compression
tar xvfz — Create or extract .tar or .tgz files
gzip, gunzip, zcat — Create, extract or view .gz files
uuencode, uudecode — Create or extract .Z files
zip, unzip -v — Create or extract .ZIP files
rpm — Create or extract .rpm files
bzip2, bunzip2 — Create or extract .bz2 files
rar — Create or extract .rar files
File editor
ex — Basic editor
vi — Visual editor
nano — Pico clone
view — View file only
emacs — Extensible, customizable editor
sublime — Yet another text editor
sed — Stream editor
pico — Simple editor
Directory Utilities
mkdir — Create a directory
rmdir — Remove a directory
File Utilities
tr -d — Translate or delete character
uniq -c -u — Report or omit repeated lines
split -l — Split file into pieces
wc -w — Print newline, word and byte counts for each file
head -n — Output the first part of files
cut -s — Remove section from file
diff -q — File compare, line by line
join -i — Join lines of two files on a common field
more, less — View file content, one page at a time
sort -n — Sort lines in text file
comm -3 — Compare two sorted files, line by line
cat -s — Concatenate files to the standard output
tail -f — Output last part of the file
Scripting
awk, gawk — Pattern scanning
tsh —Tiny shell
" " — Anything within double quotes is unchanged except \ and $
' ' — Anything within single quotes is unchanged
python — "Object-oriented programming language"
bash — GNU bourne-again SHell
ksh — Korn shell
php — General-purpose scripting language
csh, tcsh — C shell
perl — Practical Extraction and Report Language
source [file] — Load any functions file into the current shell, requires the file to be executable
Memory & Processes
free -m — Display free and used system memory
killall — Stop all processes by name
sensors — CPU temperature
top — Display current processes, real time monitoring
kill -1 -9 — Send signal to process
service — Manage or run sysV init script
[start|stop|restart]
ps aux — Display current processes, snapshot
dmesg -k — Display system messages
Disk Utilities
df -h, -i — File system usage
mkfs -t -V — Create file system
resize2fs — Update a filesystem, after lvextend*
fsck -A -N — File system check & repair
pvcreate — Create physical volume
mount -a -t — Mount a filesystem
fdisk -l — Edit disk partition
lvcreate — Create a logical volume
umount -f -v — Unmount a filesystem
Misc Commands
pwd -P — Print current working directory
bc — High precision calculator
expr — Evaluate expression
cal — Print calendar
export — Assign or remove environment variable
` [command] — Backquote, execute command
date -d — Print formatted date
$[variable] — If set, access the variable
Fun Facts:
Meeting Location & Disclaimer
Bob Backstrom
~ Newsletter Editor ~
Information for Members and Visitors:
Link to — Sydney PC & Technology User Group
All Meetings, unless explicitly stated above, are held on the
1st Floor, Sydney Mechanics' School of Arts, 280 Pitt Street, Sydney.
Sydney PC & Technology User Group's FREE Newsletter — Subscribe — Unsubscribe
Go to Sydney PC & Technology User Group's — Events Calendar
Are you changing your email address? Would you please email your new address to — newsletter.sydneypc@gmail.com?
Disclaimer: We provide this Newsletter "As Is" without warranty of any kind.
The reader assumes the entire risk of accuracy and subsequent use of its contents.