ctrl-shift-v
ctrl-shift-vls lists. cd D then double-tab shows options starting with D. pwd is present working directory. cd / goes to root. cd .. goes up.
lspwdcd /cd ..echo "Hi!" > text.txtcp text.txt Downloadsmv test.txt Downloads/rm Downloads/test.txtman is the manual. locate needs an updated database first.
man lsls --helpupdatedblocate bash&& runs the next command only if the previous succeeded. ; runs the next even if the previous failed. You can also write a shell script.
command1 && command2command1; command2passwdtimedatectl list-timezonessudo -isudo suusr does not mean user. It means universal system repository (or something).
Open Terminal in the folder.
sudo apt install ./bitwig-studio-5.2.7.debapt-get install --only-upgrade packagenamechmod +x /path/to/yourscript.shsh install.sh./myscript.shapplicationname -v, for example:
pdftoppm -vsudo add-apt-repository ppa:stebbins/handbrake-git-snapshotssudo apt-get updatesudo apt-get install handbrakeuname -alsb_release -aecho $XDG_CURRENT_DESKTOPecho $XDG_SESSION_TYPEtop shows RAM usage. lsmem shows how much RAM you have. sblk / lsblk shows disks. df -h is disk space.
toplsmemlscpucat /proc/cpuinfofree -mcat /proc/meminfolsblkdf -hsudo dmidecode -t systemsudo dmidecode -t biossudo dmidecode -t processorsudo dmidecode -qlsusblsblkKills that process (which you might have seen using lots of resources).
killall programNamechmod +rwx hello.txtchmod +x hello.txtchmod 777 hello.txtchmod +x myscript.shsu is switch user. userdel deletes the user. john will not be able to sudo passwd root unless they are in the sudoers file.
adduser johncat /etc/passwdcat /etc/shadowsu johnpasswd rootsudo passwd rootuserdel johnifconfig shows interface types and IP addresses. iwconfig you usually see on a laptop. arp -a shows IPs and MAC addresses. netstat -ano shows what is talking on a port. route prints the routing table (where traffic exits).
ifconfigiwconfigping 1.1.1.1arp -anetstat -anoroutexrandr -o leftxrandr -o normalInstall xinput, type xinput, find the screen/finger/digitizer id, then disable that id (9 is only an example).
xinputxinput disable 9rm -rf ~/.cache/thumbnails/*Use Numbering and do Text - Number, and add your text there too.
I think 3X. Install ffmpeg first. Skips missing extensions if they are not in the folder.
for file in *.mp3 *.wav *.WAV *.ogg *.flac *.m4a; do
[ -f "$file" ] || continue
ffmpeg -i "$file" -filter:a "volume=3.0" -c:v copy -c:a libmp3lame -q:a 2 "louder_${file}"
donefor file in *.[wW][aA][vV]; do [ -f "$file" ] || continue; ffmpeg -i "$file" -q:a 2 "${file%.*}.mp3"; donefor i in Silver0709.wav; do ffmpeg -i "$i" "${i%.*}.mp3"; donefor file in *.[mM][pP]4; do [ -f "$file" ] || continue; ffmpeg -i "$file" -vn -q:a 2 "${file%.*}.mp3"; doneInstall mpg321 (not 123). Put the to-be-created wav title first.
mpg321 -w newFile.wav "old file.mp3"mpg321 -w ZOOM0061.WAV ZOOM0061.mp3Then if you click on your sound icon, you should have an option for Remapped Built-in etc. Use the sink name from the first command, without the angle brackets.
pacmd list-sinks | grep name:pacmd load-module module-remap-sink sink_name=mono master=NAME_OF_AUDIO_SINK_GIVEN_BY_PREVIOUS_COMMAND_BUT_WITHOUT_ARROW_BRACKETS channels=2 channel_map=mono,monoInstall imagemagick first.
find . -maxdepth 1 -type f -name "*.jpg" -exec mogrify -negate {} \;mogrify -rotate 90 *.JPGKerning is spacing between the letters. The color is offwhite/yellow. The numbers indicate how far off center.
convert theimage.JPG -font DejaVu-Sans -pointsize 72 -kerning 10 -fill "#D3CBA8" -gravity center -annotate +260+220 "the words" output.jpgmogrify -crop 300x300+150+150 -path ./cropped *.pngconvert *.png -crop 350x300+150+200 cropped.jpgAn example line which is just to illustrate:
convert -crop x_sizexy_size+x_offset+y_offset inputfile outputfileidentify -verbose filename.pngexiftool. jexiftool has an AppImage. exifcleaner also.
exiftool filename.jpgOn Linux it seems there is no ability to modify creation date, even with filesystems that allow it. Put the files in a folder and open Terminal there.
touch *ffmpeg -i kpop.mp4 -vf "fps=10,scale=480:-1:flags=lanczos" output.gifffmpeg -i output.gif -vf "crop=in_w-3:in_h:3:0" outputs.gifUse 1600x1600 if you want, because it is divisible by 2 and 4. ffmpeg does a better job of combining audio with a single image than Kdenlive, which makes big files.
ffmpeg -loop 1 -i *.png -i *.wav -c:v libx264 -tune stillimage -pix_fmt yuv420p -c:a aac -b:a 324k -shortest output.mp4ffmpeg -loop 1 -i theimage.jpg -i Song.wav -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest outputVideo.mp4ffmpeg -loop 1 -i easywords1.jpg -i easywords1.wav -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -t 1480 out-image.mp4ffmpeg -loop 1 -i easywords2.png -i easywords2.wav -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -t 1840 easywords2.mp4Download mp3:
youtube-dl -x --audio-format mp3 http:addressDownload a playlist as mp3s:
youtube-dl --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --output "%(title)s.%(ext)s" --yes-playlist https:addressNano: Ctrl-O saves. Ctrl-shift-V pastes. cat > file then type, then Ctrl-D to save.
touch filename.txtls -lcat filename.txtnano filename.txtcat > filename.txtRecursive is all the subdirectories, which is not its default. Open terminal in the folder.
clamscan -rclamscan -r /path/to/directoryqpdf orig.pdf --pages . 420-511 -- just-the-chapters.pdf && convert -density 288 just-the-chapters.pdf output-%02d.jpg && convert output.jpg -level 25% final-%02d.jpg && convert final.jpg vr.pdf && ocrmypdf -l spa vr.pdf bookonech11-12.pdf && pdftotext -layout bookonech11-12.pdf bookonech11-12.txt && rm output* && rm final* && rm vr.pdf && rm just-the-chapters.pdf