Hi
I need to dispaly only the first column from f1le1 . But i am unable to do with the cut option . Please help me .
The File1 contains the below deatils :
I need to display only the first column as below . Please guide .
Last edited by Yogesh Sawant; 12-14-2009 at 01:26 PM..
Reason: added code tags
how can i display every column in a row individually........
i vauguely remmeber something like echo $1 $2 etc.......but i dont remmeber properly......so is there anything like that?
i tried searching but wasnt able to find......
thanks and regards
vivek.s (2 Replies)
Hi,
I need idea about this, say I have this line:
05 21 * * 0,6 /user/clean.desktop.sh > /tmp/desktop_rpt 2>&1
I would need to grep the word desktop and display the /user/clean.desktop.sh and not the whole line. And if I have some more lines say,
05 21 * * 0,6 /user/clean.desktop.sh >... (1 Reply)
Hi, boss
i have a problem:
i want display one column from a file.
so i think i can used the awk -F"," '{print $number}' XXXX.
but the file contain lots of the column,,,so i can confirm the line number which i need .
so can some body help me to solve this issus.......
PS: how can i... (5 Replies)
Hi I have search everywhere for this but I haven't got any result. so here is my question?
I am trying to ask user to enter a name and then searching that name from a file and from a specific column. If user enter something, it should only displaying that name from that specific column and If the... (3 Replies)
Dear Friends,
I have my command output which displays on one row and values are now scrollable (vertical) 3 pages. How do i display those output in three column so that i no need to scroll?
Example:
dcadd$cat components
1.Caluculator
2.Diary
...
...
50.Mobile
51.Battery
..
...... (12 Replies)
Hi
I need to write a small script to kill the process id of particular job in one shot ,
Example
> ps
PID TTY TIME COMMAND
16280 pts/70 0:00 sh
16278 pts/70 0:00 rlogind
16197 pts/70 0:00 ps
1234 pts/70 0:00 runflow
2341 pts/70 0:00 runflow
12673 pts/70 ... (6 Replies)
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
I've been trying to figure this out for quite a bit... I'm trying to check the first column for a period and only display the line if it contains a period. Below is a sample of the data i'm working with.
www.homestorest 7200 IN CNAME www.homestorest.fishing.net.shopit.net.... (6 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I would like to know how to display my output to this format below:
5000 Bash
300 zsh
0 sh
... (4 Replies)