Gary and Shirley Shelton

Rounged

I like to create online app's useing PHP, javascropt, MYSQL and JQUERY with Bootstrap and CSS

Some Links


Some Help...

zip -r gshel.zip gshel424 ( regular )
zip -r -Z gshelb2.zip gshel424 ( bzip2 )
zip -e gshel.zip gshel424 ( password )

unzip filename.zip ( to uzip a file )

tar -cf compress-file.tar file1.txt ( regular )
tar -cjf compress.tar.bz2 /etc ( bz2 )
tar -czf compress.tar.gz /use ( tar Gzip )

tar -xzvf filename.tar.gz ( to utar a file )

To mount and unmount a drive
sudo mount /dev/sdb1 /mnt/store
sudo umount /dev/sdb1

You can put the following into /etc/fsab to mount on boot
This one to mount to Web html mount point

/dev/sdb1 /var/www/html/dsk1 ext4 rw 0 0

This one to mount backup Drive
/dev/sdc1 /media/pi/XBT_Drive ext4 rw 0 0

sudo systemctl restart smbd.service

find ~ -name "example.txt"
Will Find Example.txt in home dir

find ./home/gary -name sample.txt
Will Find Example.txt in home dir

find ./home/gary -name *.txt
Will Find all txt files in home dir

find /ect -name sample.txt -exec rm -i {} \;
Will find and remover text file in .ect

find ./home/gary -empty
Will find emty files in home dir

find ./home/gary -perm 664

find . -type d

find ./ -type f -name "*.txt" -exec grep 'Geek' {} \;

find . -type f -exec grep -l "pattern" {} \;

Copywrite Ⓒ 2021