Tekstit

Linux - for the beginners - and also for an experienced user

Kuva
Below is a structured “Linux terminal + distro + build-from-source” crash course that goes from basics to fairly advanced workflows. I’ll keep it practical: commands, what they do, and a sane end-to-end process for building software, kernels, and embedded systems. 1) Terminal basics (core commands you’ll use daily) Navigation pwd — print working directory ls , ls -la , ls -lh — list files (all / long / human sizes) cd /path , cd .. , cd - , cd ~ — change directory (back / previous / home) File operations cp file dest , cp -r dir dest — copy (recursive) mv old new — move/rename rm file , rm -r dir , rm -rf dir — remove (careful with -rf ) mkdir dir , mkdir -p a/b/c — create directories touch file — create empty file / update timestamp ln file linkname — hard link ln -s target linkname — symlink Viewing files cat file — dump to stdout less file — scroll (recommended) head -n 50 file , tail -n 50 file , tail -f logfile — start/e...