Linux Resources
- Home
- Linux Resources
This article covers how to install the KeePass Password Manager application on Ubuntu 20.04 system. In fact, KeePass Password Manager offers encryption algorithms AES-256, multiple User Keys, Portable version for Windows 10/7/8; Auto-Type, Global Auto-Type Hot Key, and Drag & Drop of passwords. The user can export saved passwords to TXT, HTML, XML, and CSV Files. If you are using LastPass, Bitwarden, Dashlane, AnyPAssword, Code wallet, and many others, then importing passwords from them is also possible in KeePass.
This article covers the best way of installing and using bat Command in Linux system. In fact, Bat is a drop-in replacement for the cat command, with some additional cool features such as syntax highlighting, git integration and automatic paging.
This article covers how to use the sysctl command in Linux through examples. In fact, sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl support in Linux.
This article covers how to use the rm command in Linux. In fact, the rm command is used for removing/deleting files and directories.
How to remove directories using rm command?
If you are trying to remove a directory, then you need to use the -r command line option. Otherwise, rm will throw an error saying what you are trying to delete is a directory:
$ rm -r [dir name]
For example:
$ rm -r testdir
How to make rm prompt before every removal ?
If you want rm to prompt before each delete action it performs, then use the -i command line option:
$ rm -i [file or dir]
For example, suppose you want to delete a directory 'testdir' and all its contents, but want rm to prompt before every deletion, then here's how you can do that:
$ rm -r -i testdir
This article covers how to use the range() function in Python via examples. In fact, The range() function is used to generate a sequence of numbers over time. At its simplest, it accepts an integer and returns a range object (a type of iterable). In Python 2, the range() returns a list which is not very efficient to handle large data.
This article covers how to use the ord() function in Python. In fact, The ord() function (short of ordinal) returns an integer representing the character passed to it. For ASCII characters, the returned value is 7-bit ASCII code, and for Unicode characters, it refers to the Unicode code point.