Questions tagged [bash4]

is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell (sh). Version 4 was released on 20th of February, 2009.

Bash is a command processor, typically run in a text window, allowing the user to type commands which cause actions. Bash can also read commands from a file, called a script. Like all Unix shells, it supports filename wildcarding, piping, here documents, command substitution, variables and control structures for condition-testing and iteration. The keywords, syntax and other basic features of the language were all copied from sh. Other features, e.g., history, were copied from csh and ksh. Bash is a POSIX shell but with a number of extensions.

The name itself is an acronym, a pun, and a description. As an acronym, it stands for Bourne-again shell, referring to its objective as a free replacement for the Bourne shell. As a pun, it expresses that objective in a phrase that sounds similar to born again, a term for spiritual rebirth. The name is also descriptive of what it did, bashing together the features of sh, csh and ksh.

Source: Wikipedia [Bash (Unix Shell)]

79 questions
0
votes
2 answers

Unable to set the PATH variable for jdk

I have installed sun-java in archlinux kde by first building the package and then installing it. This is the way the environment variables are set in my machine: file: /etc/profile # /etc/profile #Set our umask umask 022 # Set our default…
aash
  • 1,323
  • 1
  • 14
  • 22
-1
votes
5 answers

How can i read specific line and specific field using Bash?

I have this file and i want to only get the value of testme= So that i can do another action. But this throws lots of lines and actually cant yet make it work. 1. test.sh #!/bin/bash for i in $(cat /var/tmp/test.ini); do # just one output i need:…
user285594
-1
votes
1 answer

How to start writing script for multiple commands output in a single script

I want to writing a script in shell for solaris paltform regarding some below commands and their output should written in excel file or text file as a output. How many servers are deployed under global zone --- zoneadm list -cv H/w…
-2
votes
1 answer

How to convert tabs only between words of a sentense in a text or tsv file to spaces using bash script

I have a text or tsv file of below contents : FILE : sample_txt.txt : 1 0x0001 ram_var2 int test.c…
user1497818
  • 375
  • 1
  • 7
  • 16
1 2 3 4 5
6