Value In Brief – by Abanoub Hanna
All You Need To Know Explained In Brief

Posts Tagged with Linux

[OS] GNU Linux : A Whole Category of Operating Systems

Linux Software
GNU Linux is a category of all operating systems with a Linux kernel inside. The Linux kernel first released on September 17, 1991, by Linus Torvalds. GNU Linux operating systems are — for example — Ubuntu, Debian, Linux Mint, Arch Linux, Pop!_OS, Elementary OS, Fedora Linux, Zorin OS, Manjaro, RedHat Entreprise Linux (RHEL), Deepin, Solus. If you like any of them, you can try it out from a live bootable USB drive without installation.

View time taken of last command in Fish shell

Linux Mac OS X Fish UNIX Tips & Tricks Tutorials
Just use $CMD_DURATION to get the time taken running the last command. To make your prompt give you the elapsed time for every command you run in Terminal, add this function in your Fish config file ~/.config/fish/config.fish. function fish_prompt; echo "$CMD_DURATION "; end The prompt will be like that. I hope this helps you. You know someone will benefit from this, share it with him/her, a friend or colleage.

How to get filename without the extension in Fish script?

Linux Mac OS X UNIX Fish Tips & Tricks
We can use string split like this (string split -r -m1 . $filename)[1]. I use this method in my Fish script function. function vidfps --description "vidfps <input.mp4>" ffmpeg -i $argv -filter:v fps=fps=24 (string split -r -m1 . $argv)[1]-24fps.mp4 end The above function is located in my ~/.config/fish/config.fish file. So I can use it to convert a video to a 24 frames-per-second video using ffmpeg. the code (string split -r -m1 .

How to get arguments in Fish script?

Linux Mac OS X Fish CLI Tips & Tricks
Here is a command with 3 arguments. myfunc one two "third arg" How to get each argument in Fish script/function. to get all arguments as one string/text, use $argv. to get first argument, use $argv[1]. to get second argument, use $argv[2]. to get the function name or the script name, use $argv[0]. to the remaining three arguments after two : myfunc one two three four five, use $argv[3..-1] as -1 is the end of arguments.

ssh Handshake Failed Unable to Authenticate | Github Actions

Linux Web Development Laravel PHP Error fixing Guide Tutorials
I have set up the github action to deploy laravel website using appleboy ssh-action but all actions failed with this weird error message. 2022/09/03 23:46:24 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain The fix is simple. just change the permission of authorized-keys by this command. chmod 700 ~/.ssh/authorized_keys If it works, share it with a friend or colleage.

Windows vs Linux RAM Usage - Is Linux Better Than Windows?

Linux Windows
Is Linux better than Windows in RAM usage or RAM management ? Both Linux and Windows are full multitasking operating systems that use virtual memory. If the operating system does not have enough space of physical memory, it use swap memory. swapping means that if your actual RAM is totally used, the operating system will take some of the memory from RAM and copy them into the hard disk or SSD.

Is Ubuntu Good for Hacking ?

Linux
Yes, it is good but not recommended. The recommended operating systems for hacking are Kali Linux and Parrot OS as they are dedicated for hacking and pentesting with ready-to-use tools and apps. So, I recommend using Kali Linux for hacking and pentesting. And I do not recommend using it as your main operating system. What is my general purpose OS I recommend ? It’s Ubuntu for sure. Why use a dedicated OS for hacking and pentesting ?

Is Ubuntu Better Than Windows

Linux Windows
To know if Ubuntu is better than Windows or not, we should compare important points. Here is a table of Ubuntu vs. Windows 10 comparison. Ubuntu Windows 10 price free 🆓 paid 💰 Security more secure 🔒 less secure 🙅‍♂️ Privacy great 👍 bad 👎 Performance better than Windows medium System Resources use less resources consumes alot of resources Updating better ❤️ horrible 👿 Live USB available by default on bootable USB sticks no Open Source yes 🧑‍💻 no Reliability and Stability stable black screen of death ☠️ and blue screens 🤦🏻 Options and Choices too many Linux distros, too many desktop environments, .

Is Ubuntu a Linux Distribution ?

Linux
Yes. Ubuntu is the most popular Linux distribution for desktop and laptop computers. A Linux distritubtion (aka distro) is an operating system with a Linux kernel and GNU utility programs. Ubuntu is suitable for users and developers. You can use Ubuntu to create your own Android apps in Android Studio, or VS Code. You can create apps in Flutter for Android and desktop operating systems. You can use Ubuntu to surf the web with Google Chrome or Firefox browser.

Is Ubuntu a Debian Based System ?

Linux
Yes. Ubuntu is a Debian based operating system. Debian is an operating system using Linux kernel. Debian is known for its stability and reliability. So, Canonical built Ubuntu as an operating system based on Debian to maintain a stable reliable OS for users, developers and enterprise companies. Despite being Debian-based, Ubuntu has too many unique and different features implementation which makes it easily distinguishable from Debian itself. I personally prefer Ubuntu as it is feature rich with somewhat unique looking GNOME environment.