Sunday 28 April 2019

linux.bash_history Centos 14032019

Ini adalah repo catatan dari bekabeipa@gmail.com - Ryan Bekabe

sh
halt -p
yum install httpd
ifconfig
halt
clear
mkdir -p /home/samba/share
mkdir -p /home/samba/atasan
mkdir -p /home/samba/atasan/bawahan
chmod 0777 /home/samba/share/
1
2
3
4
mkdir -p /home/samba/share
cd home
cd /home
ls
chmod 0777 /home/samba/share/
service smb restart
service nmb restart
service smb restart
cd /var/www/html
chmod 0755 images
ls
chmod 0777 images
ls
chmod 0755 images
useradd exam
groupadd samba
usermod -a -G samba exam
smbpasswd -a exam
chown exam:samba /var/www/html/images/
chmod 0755 images
ls
service smb restart
service nmb restart
/etc/init.d/iptables restart
chown exam /var/www/html/images/
chown exam:samba /var/www/html/images/
mkdir -p /var/www/html/images
service smb restart
service nmb restart
chown exam:samba /var/www/html/images/
ls
chmod -R 777 images
ls
cd images
ls
cd
cd /var/www/html/images
ls
service nmb restart
ls[A
service nmb restart
service smb restart
service nmb restart
service smb restart
clear
service smb restart
yum remove samba
yum remove samba-server
service smb restart
cd
service smb restart
clear
yum install samba
service smb start
service nmb start
2
chkconfig smb on
chkconfig nmb on
clear
mkdir -p /home/samba/share
chmod 0777 /home/samba/share
service smb start
service nmb start
service smb start
service nmb start
service smb start
service nmb start
ping 36.66.336.198
ping 36.66.226.198
clear
service nmb start
service smb start
service nmb start
service smb start
getent group users
service smb start
service nmb start
/etc/init.d/iptables restart
mkdir /home/samba/share
cd /home/samba
ls
clear
ls
chmod -R 777 share
chmod -R 777 share/*
ls
service smb start
service nmb start
service smb start
service nmb start
service smb start
service nmb start
reboot
cd /var/www/html
ls
chmod -R 777 images
chmod -R 777 images/*
service httpd restart
poweroff
ifconfig
poweroff
ifconfig -a
/etc/init.d/network restart
/etc/init.d/network restart
poweroff
/etc/init.d/network restart
ifconfig
cd /etc/sysconfig/
ls
cd network-scripts
ls
nano ifcfg-eth0
/etc/init.d/network restart
nano ifcfg-eth0
/etc/init.d/network restart
ifconfig
service httpd restart
poweroff
/etc/init.d/network restart
poweroff
service httpd restart
poweroff
ifconfig
ifconfig -a
eth1 up
eth0 up
eth1 UP
clear
ifconfig
nslookup
clear
ifconfig
ifconfig eth1 up
ifconfig
ifconfig /all
ifconfig -a
nano ifcfg-eth1
/etc/init.d/network restart
ifconfig
cd /etc
ls
clear
cd /etc/
ls
cd sysconfig
ls
cd networking
ls
cd /etc/
cd sysconfig
ls
cd network-scripts
ls
nano ifcfg-eth0
/etc/init.d/network restart
poweroff
cd /etc/
cd network-scripts
cd /etc/
ls
cd
cd /etc/sysconfig
ls
cd network-scripts
ls
nano ifcfg-eth0
/etc/init.d/network restart
ifconfig
poweroff
service httpd restart
clear
cd etc/sysconfig/network-scripts
cd etc/
cd /etc
cd sysconfig
ls
cd network-scripts
ls
nano ifcfg-eth0
cd etc/sysconfig/network-scripts
/etc/init.d/network restart
cd
service smb restart
service nmb restart
cd etc/sysconfig/network-scripts
cd etc/
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
poweroff
ifconfig
poweroff
timedatectl
date
cate /etc/timezone
cat /etc/timezone
date
ls -l /etc/localtime
date
clear
cd /etc
ln -sf /usr/share/zoneinfo/Asia/Jakarta localtimeln -sf /usr/share/zoneinfo/Asia/Jakarta localtim
date
service httpd restart
date
date -s "1 MAR 2016 08:17:00"
date
ifconfig
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
date
reboot
clear
date 030119282016
rm -f /etc/localtime
lalu buat zona waktu yang baru
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
hwclock –-systohc
hwlock --systohc
hwclock --systohc
date
which ntpdate
yum install ntp
ntpdate 0.us.pool.ntp.org
chkconfig ntpd on
service ntpd start
date
poweroff
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
ifconfig -a
arp -a
ifconfig -a
clear
nano ifcfg-eth0
/etc/init.d/network restart
ifconfig
date
poweroff
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
power off
poweroff
ifconfig
date
poweroff
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
nano ifcfg-eth0
poweroff
/etc/init.d/network restart
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
cd /etc/sysconfig/network-scripts
/etc/init.d/network restart
poweroff
cd /var/www/html
ls
chmod -R 777 data
chmod -R 777 data/*
ls
QUIT
exit
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
nano ifcfg-eth0
/etc/init.d/network restart
poweroff
ls
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
/etc/init.d/network restart
clear
cd /var/www/html
ls
chmod -R 777 data
chmod -R 777 data/*
ls
cd /etc/sysconfig/network-scripts
nano ifcfg-eth0
date
clear
nano ifcfg-eth0
/etc/init.d/network restart
/etc/init.d/network restart
poweroff
cd /var/www/html
ls
cd soal
ls
clear
ls
nano index.php
clear
cd /var/www/jtml
ls
cd /var/www/html
ls
cd kumpul
ls
nano index.php
clear
ls
cd /var/www/html
ls
clear
ls
nano header.php
clear
ls
cd kumpul
nano index.php
clear
cd /var/www/html
ls
cd jawab
ls
nano index.php
clear
cd /var/www/html
ls
cd soal
nano index.php
clear
quit
exit
poweroff
whoami
ifconfig
ping 192.168.56.1
ls
ping 36.66.336.198
poweroff
ifconfig
ping 192.168.56.1
cd /etc/sysconfig/network-scripts
ls
nano ifcfg-eth0
ls
nano ifcfg-lo
ls
cp ifcfg-lo ifcfg-lo-ori
ls
nano ifcfg-lo
/etc/init.d/network restart
ifconfig
mv ifcfg-lo-ori ./../
/etc/init.d/network restart
poweroff
ifconfig
ping 127.0.0.1
ping 192.168.56.1
curl 192.168.56.1
/etc/init.d/network restart
cd /etc/sysconfig/network-scripts
nano ifcfg-lo
poweroff
ping 192.168.56.1
ping 192.168.56.2
ping 192.168.56.
ifconfig
cd /etc/sysconfig/network-scripts
ls
nano ifcfg-lo
ls
nano ifcfg-eth0
ls
ls -al
nano network-functions
ls -al
cd ..
ls
ls -al | less
nano httpd
ls -al | less
nano network
ls -al | less
cd networking
ls
ls -al
cd devices
ls
cd ..
ls profiles
ls -al profiles/default
ls -al profiles
cd ..
ls
ls -al | less
nano iptables
ls
cd ..
ls
ls -al | less
nano networks
ls -al | less
nano hosts
ls -al | less
chmod 0777 issue
nano issue
cd /
ls
ls -al home
ls -al home/exam
ls -al home/samba
ls -al home/samba/atasan
ls -al home/samba/atasan/bawwahan
ls -al home/samba/share
ls -al home/samba/share/unitled folder
ls
ls -al /var/www/html
ls -al /var/www/html | less
ls
ls -al /usr
ls -al /usr/etc
ls
ls -al /etc
ls
ls -al /opt
ls -al /tmp
ifconfig
/etc/init.d/network restart
cd /etc/init.d/network
cd /etc/init.d
lsna
ls -al | less
nano sandbox
ping 192.168.56.1
ping 192.168.56.3
ping 192.168.56.1
sh
halt -p
ping 36.66.226.198
eth0 up
nslookup
ifconfig
arp /all
arp -a
ifconfig
/etc/init.d/network restart
cd /etc/sysconfig/network-scripts
ls
nano ifcfg-eth0
ifup eth0
cd /
ls /etc/udev
ls /etc/udev/rules.d
nano /etc/udev/rules.d/70-persistent-net.rules
mv /etc/udev/rules.d/70-persistent-net.rules ./../
nano /etc/udev/rules.d/70-persistent-net.rules
nano /etc/udev/rules.d/
cd /etc/udev/rules.d/
ls
nano /etc/sysconfig/network-scripts/ifcfg-eth0
poweroff
ifconfig
ping 192.168.56.3
ping 192.168.56.1
/etc/init.d/network restart
nano /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/init.d/network restart
poweroff
ifconfig
nano /etc/sysconfig/network-scripts/ifcfg-eth0
nano /etc/udev/rules.d
cd /etc/udev/rules.d
ls
nano 70-persistent-net.rules
nano /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/init.d/network restart
ifconfig
ping 192.168.56.1
poweroff
ifconfig
ping 192.168.65.1
poweroff
ifconfig
whoami
ping 192.168.65.1
ping google.com
ping 192.168.65.1
ping 192.168.65.3
/etc/init.d/network restart
ping 192.168.65.1
poweroff
ifconfig
ping google.com
poweroff
ifconfig
ping 192.168.56.1
ping 192.168.56.3
ping google.com
poweroff
ping google.com
ifconfig
ping google.com
poweroff
ifconfig
ping google.com
poweroff
ifconfig
ping google.com
ifconfig
ping google.com
ifconfig
ping google.com
/etc/init.d/network restart
ping google.com
poweroff
ifconfig
/etc/init.d/network restart
ifconfig
ping google.com
/etc/init.d/network restart
ifconfig
ping google.com
/etc/init.d/network restart
ifconfig
/etc/init.d/network restart
ifconfig
ping google.com
/etc/init.d/network restart
ping google.com
poweroff
ifconfig
/etc/init.d/network restart
ping google.com
/etc/init.d/network restart
ifconfig
ping google.com
poweroff
ping google.com
ls -al /etc/network
ls -al /etc | less
ls -al /etc/networks
nano /etc/networks
ls -al /etc/networks
ls -al /etc | less
cd /etc/init.d/
ls

nano network
nano /etc/sysconfig/network-scripts/ifcfg-eth0
ls -al /etc | less
nano /etc/resolv.conf
service network restart
ping google.com
ifonfig
ifconfig
nano /etc/sysconfig/network-scripts/ifcfg-eth0
service network restart
ping google.com
poweroff
ifconfig
ping google.com
service network restart
ping google.com
service network restart
ping google.com
nano /etc/sysconfig/network-scripts/ifcfg-eth0
nano /etc/resolv.conf
poweroff
whoami
ping google.com
curl 192.168.56.1
ping 192.168.56.1
ifconfig
ping google.com
service network restart
ping google.com
service network restart
ping 192.168.56.1
ping google.com
service network restart
ping 192.168.56.1
service network restart
ping 192.168.56.1
service network restart
ping 192.168.56.1
service network restart
ping 192.168.56.1
ping google.com
ping 192.168.56.3
ping 192.168.56.1
ifconfig
poweroff

No comments: