sudo

Winsage
April 8, 2025
Microsoft has introduced a feature called "taskbar icon scaling" in a recent beta build of Windows 11, allowing users to reduce the size of taskbar icons to fit more pinned or open applications. This feature is currently being tested in the Windows Insider Beta channel and is expected to be available in the public version of Windows 11 soon. Additionally, changes to the Start menu may be revealed in an upcoming preview build, although there is no guarantee they will be activated.
Winsage
February 25, 2025
Microsoft introduced a new sudo feature in Windows 11 version 24H2, which began rolling out in October 2024. This feature allows users to execute commands requiring administrative privileges by prefixing them with "sudo." It offers three operational modes: default (executes in a new window), Inline (executes in the same window), and Input closed (executes in the same window without accepting input from other commands). To check for access to this feature, users can navigate to System Settings > System > For developers. If available, users can confirm actions via a pop-up after entering a command with sudo. Users not on version 24H2 or facing compatibility issues may consider using gsudo, an open-source tool that provides a Linux-like experience for command elevation.
Tech Optimizer
December 20, 2024
To install the psql client for PostgreSQL on various operating systems: - **macOS**: Use Homebrew with the command `brew install libpq`. Then link it with `brew link --force libpq`. - **Ubuntu (16.04 and 18.04)**: Run `sudo apt-get install postgresql-client` to install the PostgreSQL 10 client. - **Red Hat Enterprise Linux (RHEL 7)**: First, configure the repository with `sudo yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat10-10-2.noarch.rpm`, then install the client with `sudo yum install postgresql10`. - **Fedora (27 and 28)**: Execute `sudo dnf install postgresql.x86_64` to install the PostgreSQL client. - **Windows 10**: Download the PostgreSQL installer from Enterprise DB, select only the Command Line Tools during installation, and configure the PATH environment variable to include `C:Program FilesPostgreSQL10bin`. These steps allow users to connect to IBM Cloud Databases without needing a full PostgreSQL installation.
Winsage
December 17, 2024
Linux is generally considered to offer superior security compared to Windows, with the author having experienced only one significant security incident in nearly three decades of use. 1. Windows 10 includes Windows Defender as a default firewall, while many Linux distributions, such as Ubuntu and Fedora, do not have their firewalls enabled by default. Linux firewalls allow for detailed configurations, although default settings are often sufficient for most users. 2. In Windows, administrative tasks can often be performed with a simple confirmation, whereas Linux requires users to enter their password for administrative actions using the sudo command, enhancing security. 3. Windows 10 has limited user-configurable permissions, while Linux provides comprehensive control over file and folder permissions through both command line and GUI options, contributing to its enhanced security reputation. 4. Antivirus and antimalware solutions are essential for Windows users to protect against threats, while Linux does not require such software due to its design prioritizing user permissions and advanced security measures. 5. Linux responds rapidly to vulnerabilities, often releasing patches within hours, unlike Windows, which may take weeks to address vulnerabilities and follows a Patch Tuesday schedule for updates.
Winsage
December 16, 2024
Running Windows applications on Linux can be done using tools like Wine, which is a compatibility layer allowing Windows programs to run without a full Windows installation. Users can utilize Wine through command-line or GUI wrappers such as PlayOnLinux, Bottles, Heroic Launcher, and Lutris. To install Windows applications like Notepad++ using Bottles, users can install Bottles via Flatpak, create a new bottle for the application, and run the installer from within Bottles. For more control, users can install Wine via the command line and execute Windows executables directly. The winecfg command allows users to adjust settings, and Winetricks can be used to install necessary components for certain applications. Virtualization software, such as VirtualBox and VMware Player, can be used to create a virtual Windows environment on Linux, which is beneficial for resource-intensive applications. For gaming, tools like Proton and Lutris can facilitate running Windows games on Linux, with Proton being optimized for Steam. Users can also run a Windows virtual machine for gaming, though it may require more resources. Checking for native Linux versions of games is recommended before using compatibility layers or virtualization.
Search