Search Results

Search: Posts Made By: kalpeer
Forum: Red Hat 06-22-2015
2,834
Posted By Don Cragun
On most UNIX systems, the default erase character...
On most UNIX systems, the default erase character (the character you use to delete the previous character typed) and kill character (the character you use to delete everything you have typed so far...
Forum: Red Hat 10-27-2014
23,327
Posted By blackrageous
I think you can just copy the files in this case....
I think you can just copy the files in this case. If you are converting between VM systems you could use QEMU. I use qemu-img when I want to try and go between KVM and VMware and vice versa.
...
Forum: Red Hat 10-29-2014
23,327
Posted By fpmurphy
You can use the virt-clone command and copy the...
You can use the virt-clone command and copy the result XML configuration file and image file to the target system.
3,832
Posted By ctsgnb
Note that ygemici's code # awk '/input...
Note that ygemici's code
# awk '/input parameter/{getline;a=$0;getline;a=a"\n"$0;print a;exit}' infilecould be made more readable with :

awk '/input parameter/{getline;print;getline;print;exit}'...
3,832
Posted By ygemici
/* sed */ we use the "-n" parameter for only...
/* sed */
we use the "-n" parameter for only print the line when our pattern matches with input..

-n, --quiet, --silent
suppress automatic printing of pattern space


you can...
3,832
Posted By ctsgnb
Assuming your whole file has the same format as...
Assuming your whole file has the same format as your example :

awk 'NF>1{sub("\n",z,$NF);print $NF}' FS="input parameter {" RS="" infileor
awk '/input parameter/{f=1;next}/}/{f=0}f&&/./' infile$...
1,354
Posted By methyl
The eval command is normally a shell built-in. ...
The eval command is normally a shell built-in.
What Operating System and version do you have and what Shell are you using?

# The eval method
TYPE=ABC
ABC_SOURCE=/abc/xyz
eval...
23,375
Posted By daWonderer
pa=getline mypwd; printf paoutput: 1 EDIT: ...
pa=getline mypwd; printf paoutput: 1

EDIT:

found the static array 'ENVIRON' in manual.

works:pa=ENVIRON["PWD"]; printf pa
2,758
Posted By gani_85
Hi Kalpeer, \( ..... \) :- this is called...
Hi Kalpeer,

\( ..... \) :- this is called save operator, what ever you will put in side this like \(abc\), will be stored in unix system buffer(\1..\9). There are 9 system buffers present in unix...
2,022
Posted By Scrutinizer
awk '/SAMSUNG/' RS=\" infile awk...
awk '/SAMSUNG/' RS=\" infile
awk '/SAMSUNG/{print $1}' RS=\" infile
grep -o 'SAMSUNG-GT-[^/]*/[^"]*' infile
13,401
Posted By agama
The -F option on the last command will generate a...
The -F option on the last command will generate a full date, but then it's still a bit of work to show just who has logged in during the last 24 hours:



# print all users who have logged in in...
2,689
Posted By Scrutinizer
Hi kalpeer. This is just an example of how your...
Hi kalpeer. This is just an example of how your code might be made to work. Your setup will only work with eval. Be advised though that the use of eval introduces a security risk, since anyone with...
2,689
Posted By Scrutinizer
instead of cp $filename $filepath/$filename ...
instead of
cp $filename $filepath/$filename
try this:
eval cp "\"$filename\"" "\"$filepath/$filename\""
25,336
Posted By knight_eon
He is looking for Tab Space and not Blank...
He is looking for Tab Space and not Blank Space... hence


sed -e 's/|/\t/g' inputfile > outputfile
Forum: Solaris 10-06-2010
7,750
Posted By nareshkumar1
dump
it is better to contact from your personal email id .so that we can have a chat regarding dump

---------- Post updated at 05:47 PM ---------- Previous update was at 05:34 PM ----------

My email...
Showing results 1 to 15 of 15

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