Tallahassee, Florida, USA, Onsite Service, Remote Service, Windows Servers, Linux Servers, Websites, Screen Repair, Phone Repair, Pad Repair, iPhone repair, iPad repair, data recovery, Laptop Repair, Programming, Database, Backups, SOHO, Home Service,

Raspberian Linux Command Review



The CLI still reigns on Raspberian Linux for the Raspberry Pi 4B

Raspberian Linux Command Review

copy file

cp [file_name] [destination_file_path]

copy folder

cp -r [directory-name] [destination-directory]

zip and copy

tar -czf [destination-compressed-folder] [folder-to-compress]

copy to different disk

dd if=/dev/sda of=/dev/sdb
(or mount the disk if you don't want to copy an entire drive)

copy to different device

scp [file] [username]@[ip_address]:[filepath]

temperature live display command

python ~/temp.py

encrypt file command

openssl aes-256-cbc -a -salt -in [file] -out [encrypted-file]

Decrypt

openssl aes-256-cbc -d -a -in [encrypted-file] -out [file]

delete file

rm [file]

delete folder

rmdir [dir] #only works on empty directory

rm -r [dir] #use caution with recursive removal

secure delete

shred -zvu -n  5 [file]

ssh cli login and gui

ssh [username]@[ip-address]

show all processes command

ps -aux 

kill program command

kill [process-id]

log file access cli and gui

ls -l /var/log/syslog

mount usb drive

sudo fdisk -l                        #find the usb device name

sudo mkdir /mnt/usb          #create a directory if not already there

mount [storage-device-name] /mnt/usb

copy from to usb drive

mount then copy normally

copy from to hard drive

mount then copy normally

copy from to optical drive

mount then copy normally

#cluster JTR

#RUN FROM MASTER pi!!

#must be in directory /home/pi/git/JohnTheRipper/run/ 

mpiexec --hostfile mpi-nodes.txt ./john [hash-file] -wordlist:[directory to wordlist]

#note place wordlists and hashfiles in /home/nfs as it is a shared folder

#mpi test

mpiexec --hostfile mpi-nodes.txt ./john --test

Links to External Sites with Dos to Linux Conversion Charts:

http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html

DOS to Linux Command Conversion Chart from Red Hat.








This news item is from The Computer Dudes, Inc
https://thecomputerdudesinc.com/news/raspberian-linux-commands-review.html