# System Utilities and Forensics # Essential commands for file analysis and system operations % system, forensics, utilities # Archive operations with 7zip 7z l # Extract archive 7z x # Create archive 7z a # Extract with password 7z x -p # File manager with Midnight Commander mc # Navigate MC with panels mc # Convert document formats catdoc # Extract text from DOCX docx2txt # Convert RTF to text unrtf --text # Advanced text processing with busybox busybox # Find files by type find /data -name "*." -type f # Find files modified in last N days find /data -mtime - -type f # Search for text in files grep -r "" /data/ # Case-insensitive search grep -ri "" /data/ # Search with context lines grep -C "" # Count file types in directory find /data -name "*.*" | sed 's/.*\.//' | sort | uniq -c | sort -n # Quick file statistics wc -l # Get file size in human readable format du -sh # Monitor file changes tail -f # Compare files diff # Create file hash (multiple algorithms) md5sum sha1sum sha256sum # Verify file integrity md5sum -c # Network utilities (if needed for analysis) curl -I # Download file safely wget --no-check-certificate # Show disk usage df -h # Show memory usage free -h # Process monitoring ps aux | grep # Environment variables printenv | sort # File permissions ls -la # Change permissions chmod $ archive_file: ls *.zip *.7z *.tar.gz *.rar $ output_archive: echo "output.7z" $ files_to_compress: echo "file1.txt file2.txt" $ password: echo "password123" $ left_dir: echo "/data" $ right_dir: echo "/tmp" $ doc_file: ls *.doc $ docx_file: ls *.docx $ rtf_file: ls *.rtf $ command: echo "ls cat grep find" $ args: echo "-la" $ extension: echo "pdf txt log exe" $ days: echo "1 7 30" $ search_term: echo "malware suspicious error" $ context_lines: echo "3 5 10" $ file: ls * $ file_or_directory: echo "/data" $ log_file: ls *.log $ file1: echo "file1.txt" $ file2: echo "file2.txt" $ checksum_file: echo "checksums.md5" $ url: echo "https://example.com" $ process_name: echo "python nginx apache" $ permissions: echo "755 644 600"