• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
KaliTut

KaliTut

Kali Linux tutorial and Linux system tips

  • Home
  • Raspberry Pi
  • Privacy Policy
  • About us

Linux bc command calculations

Last Updated on July 14, 2020 by Kalitut 1 Comment

bc utility is surely one of the underdogs when it comes to calculations on command line.
It’s a feature rich utility that has its own fan base but needs time to get comfortable with

Linux bc command
  • bc is included with (almost?) all Linux distros as standard, as well as (again, almost?) all Unices.
  • Results from calculations in some proprietary flavours of bc have up to 99 decimal digits before and after the decimal point. This limit has been greatly surpassed in GNU bc. I don’t know what that limit is, but it’s at least many, many tens of thousands. Certainly it’s more than any GUI-based calculators (I’ve used) could accomodate.
  • You may also find yourself working in an environment where you simply don’t have access to a GUI.
  • The syntax for basic sums is almost identical to Google’s calculator function, so you can learn how to use two utilities in one go!
[Read more…] about Linux bc command calculations

Filed Under: Linux Commands

basename command in Linux

Last Updated on July 12, 2020 by Kalitut Leave a Comment

basename command in Kali Linux

Description
Basename is a simple command which returns the file name string without any path info and it is mostly used in shell scripts.
It can also remove the file extension, and return only the file name without an extension.
The syntax of basename command is as follows,
basename String [ Suffix ]
basename OPTION string – input string Suffix – string needs to be removed from the input
Options
-a, –multiple
support multiple arguments and treat each as a NAME.
-s, –suffix=SUFFIX
remove a trailing suffix SUFFIX, such as a file extension.
-z, –zero
separate output with NUL rather than a newline.
–help
display help information and exit.
–version
output version information and exit.
Examples
basename /usr/bin/sort
Outputs the string “sort”.
basename include/stdio.h .h
Outputs the string “stdio”.
basename -s .h include/stdio.h
Outputs the string “stdio”.
basename -a any/str1 any/str2
Outputs the string “str1” followed by the string “str2”.

Filed Under: Linux Commands

Aspell Linux command

Last Updated on May 20, 2021 by Walid Salame Leave a Comment

aspell linux commandwhat is aspell ?
it’s a GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.
It can either be used as a library or as an independent spell checker.
Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the Englishlanguage, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell processis open at once.

[Read more…] about Aspell Linux command

Filed Under: Linux Commands

Linux awk Command with examples

Last Updated on May 20, 2021 by Walid Salame Leave a Comment

Text is the heart of Unix. The philosophy of “everything is a file” completely permeates the entire system and the tools developed for it. That’s why working with text is one of the required skills not only of a system administrator but also of a regular Linux user who wants to understand this operating system more deeply. So What is the awk command in Linux?

How to use awk command in linux
[Read more…] about Linux awk Command with examples

Filed Under: Linux Commands Tagged With: awk command

apt-get command full guide

Last Updated on May 19, 2021 by Kalitut 2 Comments

What is apt-get command?
APT, short for Advanced Package Tool, is a package management system.

What does the 'sudo apt -get' command do?
[Read more…] about apt-get command full guide

Filed Under: Linux Commands Tagged With: apt-get command

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to Next Page »

Follow us

  • Facebook
  • Twitter
  • YouTube

Categories

  • Android pentesting tools
  • Arduino
  • Books
  • Darknet
  • database
  • General
  • Github Tools
  • Hacking
  • Kali Linux
  • Linux
  • Linux Commands
  • Network Administrator
  • Penetration Testing
  • Penetration Testing Tools
  • PowerShell
  • Raspberry Pi
  • resources
  • Review
  • Termux
  • Tutorials
  • Ubuntu
  • Uncategorized
  • Video Tutorials
  • vmware
  • WiFi Adapter
  • WiFi Pentesting
  • Wireless Router
  • Wireshark

Recent Posts

  • 8849 Tank 2 smartphone
  • ZimaBoard Hackable Single Board Server Review
  • Hijacked Wi-Fi? Thorough explanation of hacking techniques
  • Windows PowerShell tutorial for beginners
  • Learn to Hack Steps from Beginner to Hacker
  • Home
  • About us
  • Privacy Policy
  • Affiliate disclaimer

Copyright © 2023