S

David Brown

@sysadmin

Silver
222 Reputation Points

About

System administrator managing enterprise servers

Joined Jan 2026

Q&A Statistics

Questions 4
Answers 5
Articles 1
Total Votes 162

All Answers

Re: How to add search functionality to Django

# views.py from django.db.models import Q def search(request): query = request.GET.get('q', '') results = [] if query: results = Article.objects.filter( …

27 4 weeks, 1 day ago

Re: How to check system uptime and reboot history

# Check uptime uptime # Output: 12:45:01 up 45 days, 3:21, 2 users # Detailed uptime uptime -p # Output: …

17 4 weeks, 1 day ago

Re: How to find files by name on Linux

# Using find find / -name "filename.txt" # Case insensitive find / -iname "*.log" # Find by type find /var …

24 4 weeks, 1 day ago

Re: How to schedule tasks with cron on Linux

Edit crontab # Edit user crontab crontab -e # Cron format: minute hour day month weekday command # Run at …

23 4 weeks, 1 day ago

Re: How to fix "Permission denied" when running sudo commands

This issue occurs when your user account is not in the sudoers group. Here are the solutions: Solution 1: Add …

19 4 weeks, 1 day ago