bash function for rpm whatprovides
Sometimes some simple one-liner function can save you a lot of time, like-
wps () { rpm -q --whatprovides $(which $1 ) } # ---------- end of function wps ----------
Sometimes some simple one-liner function can save you a lot of time, like-
wps () { rpm -q --whatprovides $(which $1 ) } # ---------- end of function wps ----------
I stublemed across this recently so thought of sharing this for you 🙂
sudo yum install rats
And some details about rats
RATS(Rough Auditing Tool for Security) scans through code, finding potentially
dangerous function calls. The goal of this tool is not to definitively find bugs (yet). The current goal is to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the forthcoming book, “Building Secure Software” by Viega and McGraw.
Continue readingMost of the times when I want to enable the service, I find myself enabling it immediately or it is vice versa. So, the commands I used to use were:
systemctl enable sshd.service systemctl start sshd.service
But recently I learned that I do not need the 2 commands and this can be done in single command like below
1
|
systemctl enable --now sshd.service
Name : recoll Version : 1.23.7 Release : 2.fc28 Arch : x86_64 Size : 2.1 M Source : recoll-1.23.7-2.fc28.src.rpm Repo : fedora Summary : Desktop full text search tool with Qt GUI URL : http://www.lesbonscomptes.com/recoll/ License : GPLv2+ Description : Recoll is a personal full text search package for Linux, FreeBSD and : other Unix systems. It is based on a very strong back end (Xapian), for : which it provides an easy to use, feature-rich, easy administration : interface.
sigil is WYSIWYG ebook editor, here are more details.
Name : sigil
Version : 0.9.9 Release : 2.fc28 Arch : x86_64 Size : 3.6 M Source : sigil-0.9.9-2.fc28.src.rpm Repo : fedora Summary : WYSIWYG ebook editor URL : https://sigil-ebook.com/ License : GPLv3+ Description : Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books : in ePub format. : : Now what does it have to offer… : : * Full Unicode support: everything you see in Sigil is in UTF-16 : * Full EPUB spec support : * WYSIWYG editing : * Multiple Views: Book View, Code View and Split View : * Metadata editor with full support for all possible metadata entries with : full descriptions for each : * Table Of Contents editor : * Multi-level TOC support : * Book View fully supports the display of any XHTML document possible under : the OPS spec : * SVG support : * Basic XPGT support : * Advanced automatic conversion of all imported documents to Unicode : * Currently imports TXT, HTML and EPUB files; more will be added with time : * Embedded HTML Tidy; all imported documents are thoroughly cleaned; : changing views cleans the document so no matter how much you screw up : your code, it will fix it (usually)
Continue readingranger is a terminal file manager, just install and run and have some fun.
Tip: You might want to try it on uxrvt terminal and in Photos folder once.
- Name : ranger
- Version : 1.7.2
- Release : 8.fc28
- Arch : noarch
- Size : 1.2 M
- Source : ranger-1.7.2-8.fc28.src.rpm
- Repo : @System
- From repo : fedora
- Summary : A flexible console file manager
- URL : http://savannah.nongnu.org/projects/ranger/
- License : GPLv3+
- Description : Ranger is a free console file manager that gives you greater flexibility and a
- good overview of your files without having to leave your *nix console. It
- visualizes the directory tree in two dimensions: the directory hierarchy on
- one, lists of files on the other, with a preview to the right so you know where
- you’ll be going.
glances is like top/htop but little different. It shows you sort based on contention (smartly and automatically) unless you change that and hence if you just want to check what is biggest bottleneck in system, then head over to glances quickly. Here is quick description from dnf info command
- Name : glances
- Version : 2.11.1
- Release : 2.fc28
- Arch : noarch
- Size : 3.2 M
- Source : glances-2.11.1-2.fc28.src.rpm
- Repo : @System
- From repo : fedora
- Summary : CLI curses based monitoring tool
- URL : https://github.com/nicolargo/glances
- License : GPLv3
- Description : Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
- Glances uses the PsUtil library to get information from your system.
- It is developed in Python.