Linux consists of two things: FILES and PROCESSES -
http://johnmeister.com/linux/Overview/ |
5 commands: |
man, ls, cd, pwd,
more |
|
Linux consists of: |
FILES and PROCESSES |
manual pgs(RTM) and --help |
man ; also GNU "--help" |
|
special characters: |
& ; | * ? ' " ` [ ] (
) $ |
list - names only: |
ls |
|
special characters: |
<
> { } ^ # / \ % ! ~ - |
list,
including dirs: |
ls -al |
|
process control: ps, top |
using kill |
list, excluding ". and .." |
ls -Al |
|
stdin, stdout, stderr |
redirect
< > pipe: | 2>/dev/null |
many
options: ls --help |
ls
--help |
|
REGEX: |
|
list
SORTED by size |
ls -AlS |
|
Regular Expressions |
awk |
list by
TIME |
ls -Alt |
|
regex |
sed |
change
dir, return "home": |
cd |
|
regex |
grep |
chg dir
absolute or relative: |
cd
[path] |
|
tools and filters: |
head / tail |
present
working directory: |
pwd |
|
perl and find |
find / xargs / perl |
in
Linux, less
is... |
more |
|
display tools |
tee [-a] / echo |
vi Editor: |
|
|
filters |
tr /
col -b / expand |
vi Editor: (summary) |
vi <filename>
(link to vi 101) |
|
sort, eliminate dups |
sort / uniq |
hidden
cursor keys: |
h,j,k,l |
|
manipulate text |
cut / paste / join / split |
move
left |
h |
|
compare files |
diff /
cmp |
move
down |
j |
|
word count |
wc [-l] |
move up |
k |
|
SSH: |
|
more
right |
l |
|
user managed |
authorized_keys |
command mode |
<esc>
<command> |
|
system managed |
known_hosts |
edit or
INSERT mode |
i, I,
a, A, o, O <start
typing> |
|
rsync & scp |
scp
(-rp) |
beginning
of line |
0 |
|
ssh passwdless logins |
ssh [-l
<user>] hostname (ip) |
end of line |
$ |
|
id_rsa.pub |
ssh-keygen |
delete |
x, dd(line), D or d$(end of
line) |
|
NETWORK: |
|
to save: |
<esc> :w |
|
ip a |
ifconfig [-a] |
save as new file: |
<esc>
:w <filename> |
|
netstat |
nslookup |
exit w/out saving: |
<esc>
:q! |
|
ping |
traceroute |
save and exit: |
<esc>
:wq |
|
hostname |
route |
exit forcing save: |
<esc>
:wq! |
|
File systems: |
|
SHELL: |
|
|
tree -L 2 |
du
-sh / df -h |
BASH - Bourne Again Shell |
.bashrc |
|
fdisk
-l |
fdisk, parted, gparted |
shell
built-ins |
env /
echo / fg / bg / jobs |
|
fsck /dev/sdb1 |
fsck |
shell aliases: |
alias
ll="ls -al" |
|
mkfs -t ext4 -V /dev/sdb1 |
mkfs |
File
management: |
|
|
step by step setup of LVM |
pv / vg
/ lv -display |
change owner & permissions |
chown /
chmod |
|
/etc/fstab |
mount /
umount |
copy (-r
recurisve, p-preserve) |
cp
(-rp) |
|
Admin: |
|
locate
by name if indexed |
locate |
|
passwd,
group, shadow |
adduser
/ deluser |
ls OPEN files |
lsof |
|
crontab |
crontab & wget |
move
files and directories |
mv |
|
last |
w /who / uptime |
remove(-r
recursive)/ rmdir |
rm
(-rf) |
|
sysstat
pkg |
vmstat / iostat |
touch
file (create) |
touch |
|
RedHat Package Management: |
rpm |
tree -L
2 - display dirs |
tree |
|
zip |
tar |
which
locates commands |
which |
|
Yellowdog Update Manager |
yum |
Over 250 Distributions |
https://distrowatch.com/ |
|
Recommended Browser |
Firefox
- Mozilla (Netscape) |
Linux Mint - MATE |
Linux Mint MATE desktop |
|
Suggested Email tool |
Thunderbird |
Centos /
(RedHat) |
https://centos.org |
|
Preferred Office Suite |
OpenOffice
Suite |
Older
Linux Overview: |
Overview of LINUX pdf |
|
Default imaging tool |
GIMP |
2014-2019 Linux at Lunch |
Linux at Lunch 2014-2019 |
|
Image Editing tool |
darktable
~(lightroom) |
|
|
|
|
|
|
|
|
|
|
|
|
|