Category: Computer Software
Commands any Linux Sysadmin should learn first
Commands any Linux Sysadmin should learn first. These are the commands any Linux Sysadmin should learn first. These are some of the most useful commands for system administration and devops on Linux. They are command line tolls because most of the actions on system administration you would want to be automated and scheduled uptime Time…
How to zip and unzip files and folders in Linux
How to zip and unzip files and folders in Linux Install Zip Unzip Install on RHEL, Centos, Fedora, Rocky Linux, etc. Install on Debian, Ubuntu, etc. Using zip and unzip to compress and extract files and folders. Current directory contents, files and one sub folder. Zip files and directories recursively This creates the zip file,…
Automate Mouse Clicks on PC record and playback
Automate Mouse Clicks on PC record and playback mouse actions. Automate mouse clicks using Python in Windows 10 and this simple script. Python is an increasingly popular programming language for quick tasks like this one. My Python programs are made of 2 parts. one that records mouse click events, that’s all that it does. The…
How to enable Dark mode on Google Search
To enable dark mode or dark theme on Google Search is now as easy as one click. Google has been rolling out the tark theme for Google search slowly recently and you might already have the dark theme in Google search available. At this time not everyone has dark mode available as this is due…
How to delete a directory in Linux
To delete a directory in Linux in a desktop environment is easy as pressing the Del / Delete key. To delete a directory in Linux using command line CLI in Terminal or SSH you can use the rm command. The bellow works fine for a file. A directory cannot be removed just like that. The…
How to create a user in Linux
Creating a user in Linux Terminal The useradd command will create the user and usermod can modify user properties such as groups the user is part of. useradd [options] username Example: Using default options to create username dragos. Also created the user home directory: /home/dragos A group is also created for the user with the…
How to exit VIM – VI Editor
How to exit VIM or VI editor. VIM stands for Vi IMproved. As in a better editor than VI. You can start Vim at any terminal or in a SSH session on Linux with this command: Same goes for vi commands, opens a file the same way. Once vim / vi is opened you are…
Linux commands cheat sheet the most used list
Most useful Linux commands for daily # Display how long has the system been running – since tle last restart. # List directory contents # List files in directory but better attributes and human-readable # List files in directory sorted by file date/time. # Change directory # Wildcards When filtering for files or directories you…
How to learn Python as a second language
How to learn Python as a second language. After watching and reading few tutorials you still can’t say that you know much Python and that’s probably true. How I try to learn it, still work in progress, is to use a project-based approach. Learn the basics of the language. 1. No semicolons; 2. Indentation matters…
Random Password generator in Python
Random Password generator in Python How I wrote a random secure password generator in Python in 30 min. What I needed was a small script that I execute and generate a random password that is then copied to the clipboard and all I had to do was paste it Ctrl+V to use it. Every time…