Skip to content

Why are some Bash commands both built-in and external?

Some commands are internal built-in Bash commands while others are external (other programs). I see why certain commands need to be built-in. Some of the reasons are: If a command needs to change the internal state of the shell process. If a command performs a very basic operation in the shell. If a command i…

Unaligned writes on block devices

I’ve read that write of block of unaligned size can induce extra reads.I mean writes on block devices in Linux. Why? How can I see it? Answer Block devices can only be written or read at their native block alignment, which for everything I’ve ever encountered is either 512 bytes or 4096 bytes. You…

How to use sed/awk/grep [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 4 years ago. Improve this question I hav…

Where to execute bash command in visual studio?

I want to setup CI for my flutter project, and i need to encrypt the keystore file. For this i choose the following solution: https://docs.travis-ci.com/user/encrypting-files/ I am developing with visual studio code, also i have no idea about bash. I need to execute following command: Questions: Where do I ex…

How to install gcc8 using devtoolset-8-gcc

I am using CentOS Linux release 7.3.1611 which has gcc 4.8.5 20150623 installed. I am looking for a way to install a newer version of gcc, specially 8.1. I found the following site on how to install gcc v7 link 1 which describes how to install gcc v7 (using devtoolset-7-gcc*). I did follow the guidelines and …

ASCII Text Browser Vs. cURL

I hit this url : http://artii.herokuapp.com/make?text=abc+art&font=smisome1 I see this Then when I curl exact same URL curl http://artii.herokuapp.com/make?text=abc+art&font=smisome1 I got this 🤦🏻‍♂️ Does anyone know why this is happening ? Is there a specific flag in the curl I should pass to make it…

Print a column without 1st item of that column

Good night everybody, i want to print a column without printing the 1st item of that column. I want print the 4th column of this csv file: So i do this: But this print: But i only want the numbers, so i want to print all except the first line (MediaAcesso), how can i do this? Can i do this

Access List of Items from cURL Result

If u go to this url : http://artii.herokuapp.com/fonts_list, you will see a list of 417 items on the list. I’m trying to create a variable to store/access those list. I could not get it to work. I kept getting Any hints on how to do it ? Answer Starting with the assumption that the result is, in fact, o…