10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a file with only one column of data (without delimiter). For Ex:
cat temp.txt
22055
21088
93840
30990
50990
50950
I want to insert an additional column with current date as value. So, i have used below command but didn't get the result as excepted. Could onyone over... (5 Replies)
Discussion started by: Suresh
5 Replies
2. Shell Programming and Scripting
HI Guys,
I have below input.
Output Base on Below Condition.
1> if forth column is empty and next coming line have same name with \es then add that column name on all rows
2>rest of all are es:vsDataEUtranCellFDD
Input:-
CCL01736 CCL01736_7A_1 es:vsDataEUtranCellFDD ... (3 Replies)
Discussion started by: pareshkp
3 Replies
3. Shell Programming and Scripting
Trying in this forum. Not sure if it is permitted.... but in need of help.
Please find the requirements in the below link.
https://www.unix.com/unix-dummies-questions-answers/191503-add-extra-commas-csv-file-2.html#post302665179
Thanks in Advance. (1 Reply)
Discussion started by: chillblue
1 Replies
4. Shell Programming and Scripting
Hello!
I am able to do this in bash, using:
echo -ne HELLO > file.txt
and then, 'HELLO' is written into file.txt without the newline character to be added in the end of the file.
How is this possible to be done using sh instead of bash?
If I try something similar is SH, then inside... (3 Replies)
Discussion started by: hakermania
3 Replies
5. Shell Programming and Scripting
####################################################################
#NAME SL.NO TITLE SAL
####################################################################
|RAGAV S S | 12358 | SALES EXECUTIVE| | 25000
|RAJU R B | 64253 | SALES EXECUTIVE| ... (5 Replies)
Discussion started by: manas_ranjan
5 Replies
6. Shell Programming and Scripting
I need to add a word from file1 to file2 accordinggly... file1 contains name of servers and file2 version of server
I need that information in a single file so that the format is
server_name : version
I been trying but havent been able to figure out how to search for a file using sed...
... (14 Replies)
Discussion started by: eponcedeleonc
14 Replies
7. Solaris
Hi Solaris users - I have an Ultra10 SPARC machine, with IIe processor. To prepare for the Solaris10 admin exam PartII I need to set up the metadb/mirroring in my machine, but do not know how to do this properly.
I need this to practice the mirroring tasks.
If anyone could help it would be... (3 Replies)
Discussion started by: patcom
3 Replies
8. UNIX for Dummies Questions & Answers
Hi!
I need to sort file by certain column (column position from-to).
I tried sort command, but it works wrong.
Example:
0001 5214521
0148 6712145
I need to sort this 2 lines by values from position 9 to 12 (bold)
Output:
0148 6712145
0001 5214521
Is there any way how to do this? (2 Replies)
Discussion started by: nadinnne
2 Replies
9. IP Networking
In my college dorm, there is a file sharing network in the entire building. Problem is, there is only a manual for windows with the settings on how to connect... :mad:
They say that you have to give the following command in cmd in windows:
route add 172.16.71.0 mask 255.255.255.0... (2 Replies)
Discussion started by: Japie89
2 Replies
10. Shell Programming and Scripting
How can i add a character(#) in the beginning of every line in a .dat file (2 Replies)
Discussion started by: Cool Coder
2 Replies