10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
On a daily basis I need to SSH into several different RHEL servers using Putty.
On some of the servers, if I up arrow to get a previous command, it automatically starts in Input Mode, so if I press up arrow, then 'x' it will type the letter x at the end of the command line. On other servers, it... (4 Replies)
Discussion started by: derndingle
4 Replies
2. Shell Programming and Scripting
Have a file which has the create statement like below
create table emp
( empno integer,
empname char(50))
primary index(empno);
i need to find a string starting with create and ends with semi-colon ;. if so insert the below statement before create statement
rename table emp to emp_rename;... (2 Replies)
Discussion started by: Mohan0509
2 Replies
3. Solaris
Hi,
A server is running solaris 10. From the OK prompt, I have used the command 'boot -F failsafe' and here I am trying to mount a remote directory using the command:
#mount 10.238.233.13:/export/home/ssuser /tmp/mnt
but i dont get any response for sometime and then it shows the error... (4 Replies)
Discussion started by: Tayyab101
4 Replies
4. Shell Programming and Scripting
Hi experts,
Need your help on how to insert carriage return after the 10th char position of each line in a file and then add two blank spaces after the carriage return.
Example:
>cat test.txt
testingline
dummystring
samplesample
teststringline
Expected output should be..
... (2 Replies)
Discussion started by: brichigo
2 Replies
5. Shell Programming and Scripting
hii all,
I am unable to login into GUI mode in solaris 10. It is only prompting me to command mode credentials not going further to GUI mode.. Please help..
Thanks & regards,
Bhagi (3 Replies)
Discussion started by: bhargav90
3 Replies
6. Programming
why does this not work?
#include <stdio.h>
#include <stdlib.h>
char getFileMode(char charChanger) {
char filetype; /*var to hold the value to be returned*/
filetype = charSetter; /*set filetype to "l" if it is a symlink*/
return filetype;
}
int main(void){
char... (8 Replies)
Discussion started by: bluetxxth
8 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I've searched for this but couldn't seem to find the answer I'm looking for. I have a text file that looks like this:
sgea0447 Earnings followed the same path. earnings followed the same path
sgea0448 Economic growth slowed further. economic growth slowed further... (13 Replies)
Discussion started by: pxalpine
13 Replies
8. Shell Programming and Scripting
Hi,
I've written a script to interrogate all fibre devices on our systems and output the WWNs to a file. I now want to insert a ":" every 2 characters into the WWN so I can write another script to create aliases within the SAN.
So the current file has WWNs in the following format;... (2 Replies)
Discussion started by: h8mmer
2 Replies
9. Shell Programming and Scripting
Hi All,
I am new to unix Shell scripting
Actually i need to write a shell script to insert data from a dat file to ms-Excel file
The data in the dat file will be like this
Col1 Col2 Col3 Col4
and and
Col5
I a new... (1 Reply)
Discussion started by: kreddy2003
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
When working in vi, the CTRL+j command for merging lines is very convenient. Is there an equivalent for splitting them (inserting a line break)? I often find myself pressing "i" + "return" + "esc", which I find a bit lengthy.
Thanks in advance! (3 Replies)
Discussion started by: Skogsmulle
3 Replies