10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
2. Shell Programming and Scripting
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
3. Shell Programming and Scripting
I have a parts file that looks like this:
EE36264|0NH46||Y|A|EA|0|0|0|N|LUNETTE 3" ADJ. EYE|0|0|*|0|PEOZZU|N|12|N|N|VPS|N|N|N|N|LUNETTE 3" ADJ. EYE|0|||Receive into Inventory|81755|EE36264|*|*|*|0|0||EE36264|A|*|*
F1.5|53932||Y|A|EA|0|0|0|N|FLAT ZERO CAL... (4 Replies)
Discussion started by: djehresmann
4. Shell Programming and Scripting
FILE_ID extraction from file name and save it in CSV file after looping through each folders
My files are located in UNIX Server, i want to extract file_id and file_name from each file .and save it in a CSV file. How do I do that?
I have folders in unix environment, directory structure is... (15 Replies)
Discussion started by: princetd001
5. Shell Programming and Scripting
There are some ksh files named as "*.lib" in my system. When I open them in VIM, vim syntax can't parse it correctly.
Is there a way that I can relate the *.lib with KSH syntax in VIM?
Due to access limitation, i can only update the files under my home directory and can't modify the VIM... (6 Replies)
Discussion started by: sleepy_11
6. UNIX for Dummies Questions & Answers
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
8. Shell Programming and Scripting
In vim, when we press ^G, the file name is displayed at the bottom of the screen and as soon as we enter into some other mode (say e.g. Insert), the file name is replaced by the words "Insert". I was just wondering whether it is possible to continuously show the file name no matter which... (3 Replies)
Discussion started by: jal_capri
9. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
10. Shell Programming and Scripting
I am trying to visually select a section of text in vim and then substitute for it using the :%s/ sequence.
First I visually select text. Then I yank using "ay. Then I type :%s/ followed by Control R and the register name, in this case a.
This fills in the text I have visually selected into... (6 Replies)
Discussion started by: Enobarbus37
dtc-xen_migrate(8) System Manager's Manual dtc-xen_migrate(8)
dtc-xen_migrate - migrate a VPS to another Xen server
LOCAL_VPS_ID DESTINATION_HOSTNAME [ DEST_VPS_ID ]
dtc-xen_migrate This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. Note
that you need rsync in both the source and the destination dom0.
This script is used to move the content of a Xen virtual machine (VM) managed with dtc-xen to another Xen server of the same type. The VM
destination will first be prepared, then the local VM will be shut down, then it's content will be transfered over using rsync.
Note that this is NOT a live migration, and down time of approximatively the time needed for the rsync will occure.
LOCAL_VPS_ID The DTC-Xen id of the VM, from 00 to 99.
DESTINATION_HOSTNAME Destination Xen server hostname to migrate to.
DEST_VPS_ID Destination DTC-Xen id of the VM, from 00 to 99.
dtc-xen_migrate 19 alpha.example.com 21
This will migrate the content of xen19 on the local machine to the destination server alpha.example.com using xen21 as VM name.