How do I exclude a directory when using `find`?
:/$ sudo find / -type d -name *openssl* -not -path “/mnt/*” 2>/dev/null
Iordanis Kazanas – Virtual Systems Administrator
:/$ sudo find / -type d -name *openssl* -not -path “/mnt/*” 2>/dev/null
Check bitrates : find . -type f -name *.mp4 | sort | while read line; do echo “‘$line’” ; done > file_list OIFS=”$IFS” ; IFS=$’\n’ ; for file in $(find . -type f -name “*.mp4”) ; do echo “${file}” ; ffprobe -v quiet -show_entries “stream=codec_name,bit_rate” -i $file | egrep ‘codec|bit’ ; done All files that … Read more
Common Options Configuration Files (Manifest files) Cluster Management & Context Daemonsets Deployments Events Logs Namespaces Nodes Pods Replication Controllers ReplicaSets Secrets Services Service Accounts Common Options In kubectl you can specify optional flags for use with various commands. alias – Set an alias for kubectl. alias k=kubectl echo ‘alias k=kubectl’ >>~/.bashrc -o=json – Output format in JSON. … Read more
sudo setcap cap_net_raw+p /bin/ping
UBUNTU 18.04.6 https://www.google.com/search?q=Radeon+linux++22.10&client=firefox-b-d&biw=1760&bih=787&ei=rZFPZLWvD5GaptQP25uE-As&ved=0ahUKEwj1ueeE8tP-AhURjYkEHdsNAb8Q4dUDCA8&uact=5&oq=Radeon+linux++22.10&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIGCAAQFhAeMggIABCKBRCGAzIICAAQigUQhgM6CwgAEIoFEIYDELADSgQIQRgBUI0HWLAIYKsNaAFwAHgAgAGOAYgB_AGSAQMwLjKYAQCgAQHIAQTAAQE&sclient=gws-wiz-serp https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-22-10-2 https://repo.radeon.com/amdgpu-install/22.10.2/ubuntu/bionic/ sudo apt-get install ./amdgpu-install-VERSION.deb amdgpu-install –usecase=workstation,rocm,opencl –opencl=rocr,legacy –vulkan=pro –accept-eula sudo apt-get -y install ocl-icd-opencl-dev opencl-headers To use the ROCr implementation of OpenCL, the running user might need additional permissions depending on OS policy. If clinfo or any openCL application does not work, check ownership and permissions of the render nodes: … Read more
A team is not a group of people who work together. A team is a group of people who trust each other.
du -sh — * | sort -h
https://copyright.cornell.edu/publicdomain Never Published, Never Registered Works Type of Work Copyright Term In the public domain in the U.S. as of 1 January 2021 3 Unpublished works Life of the author + 70 years Works from authors who died before 1951 Unpublished anonymous and pseudonymous works, and works made for hire (corporate authorship) 120 years from … Read more
tar -zcvf archive.tar.gz directory/
vi /etc/default/grub # Uncomment to disable graphical terminal (grub-pc only) GRUB_TERMINAL=console sudo update-grub Reboot