Search Results

Search: Posts Made By: Raj999
1,239
Posted By RudiC
You can influence the backup suffix with.
You can influence the backup suffix with.
3,031
Posted By RavinderSingh13
Hello Raj, I am on a Solaris on a AMD- ...
Hello Raj,

I am on a Solaris on a AMD-
uname -agives
OS Solaris 10 x86_64 (SunOS goldtpus34 5.10 Generic_144489-11I wanted to find whether it has a 32bit or 64 bit kernel so I did ...
12,905
Posted By Don Cragun
On Solaris systems, check the section 1M coreadm...
On Solaris systems, check the section 1M coreadm man page (man 1M coreadm) (https://www.unix.com/man-page/opensolaris/1m/coreadm/). On Linux systems, check the section 5 core (man 5 core)...
1,416
Posted By bakunin
Most has already been said, but: `command`...
Most has already been said, but:

`command` and $(command) does basically the same. It executes "command" and uses the output of this command to complete the command line. "command" could either be...
1,416
Posted By MadeInGermany
Spaces can visualize where the tokens end. For...
Spaces can visualize where the tokens end.
For example:
x=1; echo "$(( x + 1 ))"
echo "$( ls )"
echo "$(( $( wc -l </etc/passwd ) + 1 ))"All echo arguments are in "quotes", where $var and $( )...
1,416
Posted By RudiC
You need to supply additional info on e.g. OS,...
You need to supply additional info on e.g. OS, shell, that you use. Assuming bash:
- the first expression will try to apply "arithmetic expansion" and assume command to be a variable and expand it...
1,377
Posted By Don Cragun
In both bash and ksh you can have arrays with...
In both bash and ksh you can have arrays with integer subscripts (and with recent bash and 1993 or later ksh, you can also use non-numeric strings as subscripts). For example:
$ for((i = 1; i <= 5;...
1,415
Posted By Don Cragun
OK. Now I get it. You want tar to read your...
OK. Now I get it. You want tar to read your mind and magically devine what files in your archive you want to update.

Sorry, but tar doesn't work that way. The way it works is you tell tar:

...
1,415
Posted By bakunin
I suggest reading the man page of tar because all...
I suggest reading the man page of tar because all you need is there in plain sight.

Use "t" to list the names of the files in the tar archive, then feed this list to another call of tar as...
1,061
Posted By Scrutinizer
Hi, from man bash: For example $...
Hi, from man bash:


For example
$ var=foo
$ echo "1. $var"
1. foo
$ echo "2. ${var}"
2. foo
$ echo "3. $varbar"
3.
$ echo "4. ${var}bar"
4. foobar
$
$ set -- A B C D E F G H I J K L...
1,061
Posted By Scrutinizer
${PID} = content of variable PID $PID =...
${PID} = content of variable PID
$PID = content of variable PID
`$PID` = result of executing the content of variable PID as a command
'$PID' = the literal string $PID

Only the first two can...
1,061
Posted By RavinderSingh13
Hello Raj999, Welcome to forum Raj, please...
Hello Raj999,

Welcome to forum Raj, please use code tags as per forum rules for your commands/codes/Inputs used in your posts. Following is the link where you can go through from the forum rules....
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 09:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy