253 lines
5.2 KiB
Bash
253 lines
5.2 KiB
Bash
|
cd /DOCKER/nextcloud/data/greggy/files
|
||
|
ls
|
||
|
cd InstantUpload/
|
||
|
ls
|
||
|
cd Camera/
|
||
|
#rm -fr '*\(2\)*.*'
|
||
|
ls
|
||
|
ls -altrh
|
||
|
rm -fr '*\(2\)*.*'
|
||
|
ls -altrh
|
||
|
rm -fr *\(2\)*.*
|
||
|
ls -altrh
|
||
|
cd ..
|
||
|
cd Messages/
|
||
|
ls -altrh
|
||
|
cd ..
|
||
|
ls
|
||
|
cd Messenger/
|
||
|
ls -altrh
|
||
|
cd ..
|
||
|
ls
|
||
|
cd Screenshots/
|
||
|
ls
|
||
|
ls -altrh
|
||
|
rm -fr *\(2\)*.*
|
||
|
rm -fr *\(3\)*.*
|
||
|
cd ..
|
||
|
ls
|
||
|
cd Video/
|
||
|
ls -altrh
|
||
|
rm -fr *\(2\)*.*
|
||
|
ls -altrh
|
||
|
rm -fr *\(3\)*.*
|
||
|
rm -fr *\(4\)*.*
|
||
|
cd ..
|
||
|
ls
|
||
|
cd Whatsapp/
|
||
|
ls
|
||
|
rm -fr *\(2\)*.*
|
||
|
rm -fr *\(3\)*.*
|
||
|
rm -fr *\(4\)*.*
|
||
|
apt-get install libdbd-pg-perl libsnmp-perl libssl-dev libio-socket-ssl-perl curl postgresql build-essential
|
||
|
df -h
|
||
|
useradd -m -p x -s /bin/bash netdisco
|
||
|
su - postgres
|
||
|
su - netdisco
|
||
|
cd /DOCKER/caddy/
|
||
|
ls
|
||
|
vi Caddyfile
|
||
|
docker pull nextcloud; docker rm $(docker stop nextcloud); docker run -d --name nextcloud --restart always -p 83:80/tcp -v /DOCKER/nextcloud:/var/www/html nextcloud; sudo chown -R www-data: /DOCKER/nextcloud/
|
||
|
df -h
|
||
|
cd /srv/
|
||
|
ls
|
||
|
cd
|
||
|
ls -akltrh
|
||
|
ls -altrh
|
||
|
cd .
|
||
|
cd /
|
||
|
ls -altrh
|
||
|
cd /DOCKER/nextcloud/
|
||
|
ls
|
||
|
cd data/
|
||
|
ls
|
||
|
cd greggy/
|
||
|
ls
|
||
|
cd files
|
||
|
ls
|
||
|
cd InstantUpload/
|
||
|
ls
|
||
|
find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD
|
||
|
cd Video/
|
||
|
find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD
|
||
|
sudo apt-get install fdupes
|
||
|
fdupes -r .
|
||
|
fdupes -rd .
|
||
|
fdupes -rdN .
|
||
|
cd /DOCKER/nextcloud/data/greggy/files
|
||
|
fdupes -rdN .
|
||
|
ls /DOCKER/qbittorrent/telechargement/
|
||
|
ls /DOCKER/qbittorrent/telechargement/gaming/
|
||
|
ls /DOCKER/qbittorrent/telechargement/gaming/
|
||
|
cd /DOCKER/qbittorrent/telechargement/gaming/Hollow\ Knight\ by\ xatab/
|
||
|
ls
|
||
|
cd ..
|
||
|
cd Stray\ \[FitGirl\ Repack\]/
|
||
|
ls
|
||
|
cd ..
|
||
|
cd /DOCKER/qbittorrent/telechargement/gaming
|
||
|
ls
|
||
|
rm -fr Hello\ Neighbor\ 2\ \[FitGirl\ Repack\]/ Hollow\ Knight\ by\ xatab/
|
||
|
rm -fr Stray\ \[FitGirl\ Repack\]/
|
||
|
kubectl config view --raw >~/.kube/config
|
||
|
cd telechargement/
|
||
|
ls
|
||
|
rm -fr UFC.299.Prelims.1080p.WEB-DL.H264.Fight-BB.mkv
|
||
|
ls
|
||
|
helm install my-sshd wiremind/sshd --version 0.1.1
|
||
|
kubectl port-forward -n wiremind-cayzn-cm-production deployment/sshd 2222:22
|
||
|
git init
|
||
|
git add .
|
||
|
git commit -m "Init Backup /etc/ Hulk congratulations file"
|
||
|
git config --global user.email "you@example.com"
|
||
|
git config --global user.email "guegrer@gmail.com"
|
||
|
git config --global user.name "gitea"
|
||
|
git commit -m "Init Backup /etc/ Hulk congratulations file"
|
||
|
git remote add origin https://tag.nsupdate.info/gitea/etc_
|
||
|
git push -u origin main
|
||
|
git remote add origin https://tag.nsupdate.info/gitea/etc_hulk.git
|
||
|
vi .git/config
|
||
|
git push -u origin main
|
||
|
vi .git/config
|
||
|
git push -u origin main
|
||
|
git remote add origin git@tag.nsupdate.info:gitea/etc_hulk.git
|
||
|
vi .git/config
|
||
|
rm -fr .git/
|
||
|
git init
|
||
|
git checkout -b main
|
||
|
git add .
|
||
|
git commit -m "Init Backup /etc/ Hulk congratulations file"
|
||
|
git remote add origin git@tag.nsupdate.info:gitea/etc_hulk.git
|
||
|
git push -u origin main
|
||
|
ssh tag.nsupdate.info 22
|
||
|
rm -fr .git/
|
||
|
git init
|
||
|
git checkout -b main
|
||
|
git add .
|
||
|
git commit -m "Init Backup /etc/ Hulk congratulations file"
|
||
|
git remote add origin https://tag.nsupdate.info/gitea/etc_hulk.git
|
||
|
git push -u origin main
|
||
|
cd
|
||
|
ssh-keygen
|
||
|
cat .ssh/id_rsa.pub
|
||
|
cd /etc/
|
||
|
ls
|
||
|
touch yo
|
||
|
git add -A
|
||
|
touch yoe
|
||
|
git status
|
||
|
git add -A
|
||
|
git status
|
||
|
git commit -m "Backup /etc/ Hulk congratulations file"
|
||
|
git push -u origin main
|
||
|
ssh-add -L
|
||
|
ssh-add -l
|
||
|
vi /root/.bashrc
|
||
|
source /root/.bashrc
|
||
|
git push -u origin main
|
||
|
ssh-add -l
|
||
|
git push -u origin main
|
||
|
git push -u origin main
|
||
|
history
|
||
|
git status
|
||
|
git push
|
||
|
ssh-add -L
|
||
|
cat .git/config
|
||
|
cd
|
||
|
echo -n '926e0c497ab91062294ee4465269e9a36b1f70a2c43c65297e1e95ce1d362442' | ssh-keygen -Y sign -n gitea -f /path_to_PrivateKey_or_RelatedPublicKey
|
||
|
echo -n '926e0c497ab91062294ee4465269e9a36b1f70a2c43c65297e1e95ce1d362442' | ssh-keygen -Y sign -n gitea -f .ssh/
|
||
|
echo -n '926e0c497ab91062294ee4465269e9a36b1f70a2c43c65297e1e95ce1d362442' | ssh-keygen -Y sign -n gitea -f .ssh/id_rsa.pub
|
||
|
echo -n '39e2e37d04da3c4b36cb86bb9eeb55d1e1d477a677ab20ee7bb5c84cc9245c6e' | ssh-keygen -Y sign -n gitea -f
|
||
|
echo -n '39e2e37d04da3c4b36cb86bb9eeb55d1e1d477a677ab20ee7bb5c84cc9245c6e' | ssh-keygen -Y sign -n gitea -f .ssh/id_rsa.pub
|
||
|
git status
|
||
|
cd /etc/
|
||
|
git status
|
||
|
git push
|
||
|
ssh-add -L
|
||
|
cat /root/.bashrc
|
||
|
git status
|
||
|
git push
|
||
|
cat .git/config
|
||
|
vi .git/config
|
||
|
git push
|
||
|
vi .git/config
|
||
|
id git
|
||
|
git push
|
||
|
ssh tag.nsupdate.info
|
||
|
ss -ltpa
|
||
|
vi .git/config
|
||
|
git push
|
||
|
git push
|
||
|
vi .git/config
|
||
|
ssh git@localhost
|
||
|
cd
|
||
|
vi .ssh/config
|
||
|
git push
|
||
|
cd et
|
||
|
cd /etc/
|
||
|
git push
|
||
|
vi .git/config
|
||
|
id gitea
|
||
|
id git
|
||
|
apt install git
|
||
|
git
|
||
|
id git
|
||
|
cat /etc/hosts
|
||
|
ssh -T -p 443 git@tag.nsupdate.info
|
||
|
cat /root/.ssh/config
|
||
|
vi /root/.ssh/config
|
||
|
vi .git/config
|
||
|
git push
|
||
|
vi /root/.ssh/config
|
||
|
git push
|
||
|
cat .git/config
|
||
|
docker ps -a
|
||
|
cat /root/.ssh/id_rsa.pub
|
||
|
docker ps -a
|
||
|
vi /root/.ssh/config
|
||
|
ssh -p 2222 localhost
|
||
|
ssh -p 2222 git@localhost
|
||
|
git push
|
||
|
cd
|
||
|
cd /root/
|
||
|
ls
|
||
|
ls
|
||
|
git init
|
||
|
git checkout -b main
|
||
|
git add README.md
|
||
|
git commit -m "first commit"
|
||
|
git add -A
|
||
|
git status
|
||
|
git remote add origin git@tag.nsupdate.info:gitea/root_hulk.git
|
||
|
git push -u origin main
|
||
|
git status
|
||
|
git add -A
|
||
|
git commit -m "first commit"
|
||
|
git add -A
|
||
|
git push -u origin main
|
||
|
vi .gitignore
|
||
|
git status
|
||
|
git add -A
|
||
|
git commit -m "update /root/ on hulk"
|
||
|
git push -u origin main
|
||
|
git pull
|
||
|
git push -u origin main
|
||
|
git push -u origin main
|
||
|
git pull
|
||
|
git config pull.rebase false
|
||
|
git pull
|
||
|
git status
|
||
|
ls .ssh/
|
||
|
ls -altrh .ssh/
|
||
|
ls -altrh .ssh/
|
||
|
git checkout .ssh/id_rsa
|
||
|
git checkout .ssh/id_rsa
|
||
|
vi .ssh/id_rsa
|
||
|
cd /root/
|
||
|
chmod 600 .ssh/id_rsa
|
||
|
ls .ssh/
|
||
|
ls -altrh .ssh/
|
||
|
vi .ssh/id_rsa.pub
|
||
|
ssh-add -L
|
||
|
cd
|