ls -al
split -l 16 passwd2 passwd_geteilt
ls -al
rm passwd_geteilt*
ls
split passwd2 passwd_geteilt
ls
split -l 500 passwd2 passwd_geteilt
ls
ls -al
vi einkaufen
cat einkaufen
uniq -c einkaufen
cat einkaufen
cat einkaufe | sort | uniq
cat einkaufen | sort | uniq
cat einkaufen | sort | uniq -u
cat einkaufen | sort | uniq -c
vi einkaufen
cat einkaufen | sort | uniq -c
cat einkaufen | sort | uniq -u
echo $
echo $0
echo $shell
type cd
type grep
type ls
type tar
type find
type exit
type cat
type nano
type pwd
type echo
type date
type export
echo "$0"
xeyes
bg
xeyes
bg
fg
xeyes &
jobs
fg 1
jobs -h
bzcat komp.txt
cat /etc/psswrd
cat /etc/psswd
cat /etc/passwd
cat /etc/passwd | less
cd ~
ls
ll
ls
pstree
uname
ls
md5sum passwd
cp /etc/passwd
cep --help
cp -h
cp /etc/passwd /home/ali/passwd2
ls
md5sum passwd2
md5sum -c passwd2.md5
md5sum passwd2 > passwd.md5
md5sum -c passwd2.md5
md5sum -c passwd.md5
ls
cat passwd.md5
wc passwd2
split -d -l 116 passwd passwd_geteilt
split -d -l 116 passwd2 passwd_geteilt
ls
ls -al
cat passwd_geteilt00
ls
wc passwd_geteilt00
wc passwd_geteilt01
split -d -l 16 passwd2 passwd_geteilt
ls
wc passwd_geteilt01
wc passwd_geteilt02
wc passwd_geteilt03
ls -al
split -l 16 passwd2 passwd_geteilt
ls -al
rm passwd_geteilt*
ls
split passwd2 passwd_geteilt
ls
echo "Hallo!" > test1
cat test1
ln test1 spielen/test_link
cd spielen
ls
cat test_link
cd ..
ls
ll test*
rm test1
cd spielen/
ls
cat test_link
ls
cd ..
ls
date > test1
ls
cat test1
ln -s test1 test2
ls -l test*
cat test2
ln -s test1 spielen/test2
cd spielen
ls
cat test2
rm test2
ls
ln -s ../test1 test3
ls
cat test3
cd ..
ll tets*
ll test*
ls
rm test1
cd spielen/
cat test2
ll test*
cat test3
rm test3
cd ..
rm test2
env | less
m=4711
echo $m
m = 3+4
m=4711
echo $m
bash
export m
echo $m
bash
pwd
ps
bash
echo $$
.bash_history
history
type pwd
type ls
ls
ls --color=orange
type cat
type cp
man bash
pwd
touch befehl
echo "date" > befehl
cat befehl
ls
ll befehl
chmod 774 befehl
ll befehl
befehl
chmod 777 befehl
befehl
ll befehl
./befehl
uname -a
uname -r
wc -l befehl
cd Ali
ls
wc -l test1
sudo apt install tree
ESC[200~cd /tmp/tutorial
tree~
tree
cd Ali2
cd Ali
ls
echo "Hallo!" > test^C
cat test
ls
cat test1
nano test1
cat test1
hd test1
cd ~
cat Ali2
id
finger
sudo apt install finger
finger
ls
grep Ali2
apt list
btop
sudo yum install
pwd
ls
cd Ali
ls
vi test2.txt
echo $m
exit
echo $m
exit
ps
pstree
echo $$
ps
exit
cd ~
env
sudo apt install zsh
echo$0
echo $0
zsh
pwd
uptime
pwd
whoami
ls
less .bash_historie
less .bash_history
arp -a
htop
sudo apt install htop
htop
sudo apt install armageddon
sudo /proc/cpuinfo
ls -la
fg
htop
sudo apt purge htop
htop
sudo apt install btop
btop
cal
sudo apt install ncal
cal
date
time
man pwd
pwd --version
tar cvf archiv.tar zu_archivieren/*
tar tf archiv.tar
rm -rv zu_archivieren/
tar xvf archiv.tar
tar cvvvzf archiv.tar.Z zu_archivieren/
tar xvf archiv.tar.Z
tar rvzf archiv.tar.Z passwd
dd if=/dev/zero of=ddout bs=1000000 count=1000
sudo dd if=/dev/sda of=ddout bs=512 count=1
hd ddout
ll ddout
dd if=archiv.tar of=neuesArchiv
tar tf neuesArchiv
gzip archiv.tar
gzip -tv archiv.tar.gz
gzip -l archiv.tar.gz
gunzip archiv.tar.gz
cp archiv.tar archiv.tar.org
gzip -9 archiv.tar
gzip -d archiv.tar.gz
bzip2 archiv.tar
bzip2 -t archiv.tar.bz2
bzip2 -tv archiv.tar.bz2
bunzip2 archiv.tar.bz2
xz archiv.tar
xz -tv archiv.tar.xz
xz -l archiv.tar.xz
xz -d archiv.tar.xz
ll arch?v*
find -name "arch?v*"
find -size -100c -exec ls {} \;
tree -L 1 /
tree -L 1 /home/ali
find ./spielen/ -type f
ls -lR
find ./spielen/ -type d
find -size -90 -exec ls -l {} \;
find . -empty
find . -empty -maxdepth 1
find . -maxdepth 1 -empty( besser)
sudo find /tmp -user ali -type f ! -size 0 -exec ls -l {} \;
sudo find /tmp -user ali -type f ! -empty -exec ls -l {} \;
sudo find /tmp -user ali -exec ls -l {} \;
sudo find /tmp -user ali -exec ls -l {} \; 2>/dev/null
locate -c pwd
sudo updatedb
ls datei* | cpio -o
ls datei* | cpio -o > cparchiv
cpio -i < cparchiv
cd tbgtbg >ausgabe.txt 2>&1 Es schreibt Fehlermeldung in einem Text.
echo "Heisses Wetter heute" >> brief.txt Metni silmeden altina ekler.
echo "Guten Morgen ITA3" > brief.txt Tek ok olunca ustune yaziyor. Yani
eski metni silip sadece yeni metni yaziyor.
cd eugeubg > /dev/null 2>&1 hatayi yazmaz ve yok eder.
cat << Aus > einkaufsliste Bu komuttan sonra yadiklarin text e yazilir.
Aus + Enter ile cikilis ve kaydedilir.
cat Textdateien ausgeben und verketten
echo "Das funktioniert doch!" > /dev/tty3 Bu komuttan önce Strg + alt +
F3 ile terminalde oturum acmali. Sonra bu komut ve sonra bu terminal de
kontrol edince yaziyi görebiliyoruz. Strg + alt + F2 ile de terminalden cikis
yapiliyor!
echo "Das funktioniert doch!" | tee abd | tee 123.doc
cat abd 123.doc
echo "Das funktioniert doch!" | tee abd | tee -a 123.doc Dosyaya ekliyor
üzerine yazmiyor.
test -e pruef.txt text in olup olmadigini kontrol ediyor. Bu komuttan
sonra :
echo $? Ile de sonucu kontrol ediyoruz. 0 ise dosya var 1 ise dosya yok!
cut -d: -f1,3 passwd2
cat /etc/hosts
tac /etc/hosts
echo „hallo“ | tr [a-z] [A-Z]
tail -3 passwd2
tail -f passwd2
od pruef.txt
hexdump pruef.txt
hexdump -C pruef.txt
hd pruef.txt
Find / - maxdepth 1 -type d -empty
find / -maxdepth 1 -type d -empty 2>/dev/null
ls -latr
nl -b n frosch.txt
cat texte/frosch.txt |tr -d [:punct:] | tr -s „ „ //n | sort -fu | wc -w
tac frosch.txt | nl -ba | tac
head -n 15 frosch.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'
rm -- -f
lolcat |syslog
sudo less boot.log
tail -f syslog
sudo dmesg |grep usb
runlevel
systemctl get-default
systemmctl isolate multi-user.target
systemctl set-default graphical.target
systemctl set-default
sudo dmesg | grep usb
tail -f syslog
sudo less boot.log
systemctl isolate multi-user.target
systemctl list-units | grep Net
systemctl list-units –type=target
systemctl start network.target ( falls inactive)
ps -e | wc -l
ps -e | wc -l cat
sudo shutdown -h +5 „Nachricht!“
shutdown -c
systemctl daemon-reload
sudo systemctl enable sigmund_jaehn.service
systemctl start sigmund_jaehn.service
systemctl status sigmund_jaehn.service
systemctl restart sigmund_jaehn.service
journal -xe -u sigmund_jaehn.service
less graphical.target
cd graphical.target.wants
sudo fdisk /dev/sda3
dd if=/dev/zero of=myswap bs=1M count=1024
mksap myswap
chmod 0600 myswap
swapon myswap
config-4.15.0-65-generic
System.map4.15.0-65-generic
vmlinux-4.15.0-65-generic
initrd.img-6.1.0-13-amd64
mkfs.xfs TARGET
mkfs.exfat TARGET
mkfs.btrfs TARGET
sudo apt-get install btrfs-progs
btrfs subvolume create /media/btrfs/BTR
mount -t btrfs -o subvol=BTR /dev/sda1 /mnt
ls -lh /media/btrfs/
btrfs subvolume show /media/btrfs/BTR
btrfs subvolume snapshot /media/btrfs /media/btrfs/snap
mount /dev/sda1 /mnt/tmp
grub-install --boot-directory=/mnt/tmp /dev/sda
grub-install --boot-directory=/boot /dev/sda
ls -l /dev/disk/by-uuid/
set root=(hd0,msdos1)
t linux /boot/vmlinuz root=/dev/sda1
initrd /boot/initrd.img
sudo apt install lvm2
echo $?
sudo ip address add 192.168.10.1 dev ens33
sudo sysctl net.ipv4.ip_forward=1
sudo ip route add 192.168.100.0/24 via 192.168.110.128
sudo apt install openssh-servernmcli device
container olusturma
sudo apt install lcx
lxc + tab = komutlari görmek !
sudo lxc-create --name start_container -t download
sudo lxc-start -n start_container
sudo lxc-info -n start_container
sudo lxc-attach -n start_container
sudo lxc-console -n start_container
cd /var/lib/lxc
root@ubuntu1:/var/lib/lxc/start_container/rootfs# cd
/usr/share/lxc/templates
hostnamectl --pretty set-hostname "LAN Shared Storage"
hostnamectl status
netstat -tulnp
hostnamectl --static set-hostname firewall
nmtui
nmcli device
nmcli general status
nmcli general
nmcli device wifi list
nmcli connection show
nmcli connection add type ethernet ifname ens38 con-name
ethernet.ens38 ip4 192.168.2.139/24
sudo nc -l 1234
nc 127.0.0.1 1234
sudo find /tmp -type f -user ali -not -empty
find ./tmp .type d
find . -maxdepth 2 -empty
getent hosts
getent hosts www.wdr.de
dig lpi.org
ps -f
sudo apt install nmap
nmap -p 80-443 192.168.182.128
ps aux | grep bash
ls -l /etc/xinetd.d
systemctl status systemd-timesyncd.service
timedatectl show-timesync –all
timedatectl
sudo apt install ntp
systemctl status ntp
sudo apt install chrony
apt install systemd-timesyncd
systemctl start systemd-timesysncd.service
systemctl status systemd-timesysncd.service
sudo apt install sendmail
sudo apt install mailutils
sudo vi /etc/hosts - wechselt hostname!
mail -s "Hello" root@ali-xubuntu <<< "Hello, This is your first Mail"
lp -d PDF /etc/services
sudo apt install x11-apps
xdpyinfo | less
sudo Xorg -configure
sudo service --status-all | grep "+"
sudo lsof -i :22
sudo systemctl status xinetd.service
sudo systemctl status sshd
sudo lsof -i :22 -P
systemctl enable cups –now
systemctl list-units --state active --type service
ssh-keygen -t ecdsa