Quick Start Guide¶
Get up and running quickly with Calculinux basics.
Essential Commands¶
System Information¶
# System version
cat /etc/os-release
# Kernel version
uname -a
# Hardware info
cat /proc/cpuinfo
cat /proc/meminfo
# Disk usage
df -h
# Memory usage
free -h
Package Management¶
# Update package list
opkg update
# Search for package
opkg find <name>
# Install package
opkg install <package>
# Remove package
opkg remove <package>
# List installed
opkg list-installed
File Management¶
# Navigate directories
cd /path/to/directory
pwd # Show current directory
ls -la # List files
# Create/remove
mkdir dirname
rm filename
rm -r dirname
# Copy/move
cp source dest
mv source dest
# View files
cat filename
less filename
nano filename # Edit
System Management¶
# Reboot
reboot
# Shutdown
poweroff
# Check services
systemctl status
systemctl start <service>
systemctl stop <service>
# View logs
journalctl -f # Follow logs
dmesg # Kernel messages
Common Tasks¶
Connect to Network¶
Install Software¶
# Example: Install Python
opkg update
opkg install python3
# Example: Install text editor
opkg install vim
Manage Files¶
# Create a file
echo "Hello World" > test.txt
# Edit a file
nano test.txt
# View a file
cat test.txt
Monitor System¶
# Real-time process monitor
htop # or top
# Disk usage by directory
du -h /home | sort -h
# Running processes
ps aux
Development¶
Python Example¶
C Example¶
Tips & Tricks¶
Keyboard Shortcuts¶
- Ctrl+C: Stop current command
- Ctrl+Z: Suspend current command
- Ctrl+D: Exit/logout
- Tab: Auto-complete
Command History¶
# View history
history
# Search history
Ctrl+R # Then type search term
# Rerun last command
!!
# Rerun command from history
!123 # Run command #123
Useful Aliases¶
Add to ~/.bashrc:
Learning More¶
Built-in Help¶
# Command manual
man <command>
# Command help
<command> --help
# Installed documentation
ls /usr/share/doc
Further Reading¶
Getting Help¶
- Check Troubleshooting
- Visit Community
- Read External Docs
Next Steps¶
Now that you know the basics:
- Explore Basic Usage for detailed guides
- Install your favorite Applications
- Try Development if interested in coding
- Join the Community!