Wrap text with tags in Notepad++
Wrap text with tags in Notepad++ A macro can do that and it’s easier than you think. If you need to wrap the text with html tags or WordPress Gutenberg code blocks or paragraph block or a heading block. Start by selecting the text: In Notepad++ menu Click Macro > Start Recording. Ctrl+X – Cut…
Secret Lesser known useful Linux commands
tree The tree command will list you directory, files and sub folders contents in an easy to see way. No need for repeated ls commands. This can be useful to get an overview of all subfolders of the target directory. pstree Tree but for precesses. Shows what processes originate from other processes. kill -15 SIGTERM…
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 find a file in Linux
There are a few ways to find a file in Linux. The most used way is in Terminal as this can become part of a script very easily and automate tasks on a Linux server. If you are using a desktop environment such as Gnome or Kde, the search for files is as simple as…
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…