I have tried, but no good.
How would you simply remove the list number?
It does not have to be with perl as I tried and I thought
will do, but it returns no output
as opposed to my expectation.
I have a file containing data in multiple columns. The colums are seperated by pipe (|). I need to extract information as below:
myfile_20130929_781;10;100.00
where myfile.txt is the file name. 10 is the number of records in the file starting with 120 and 100.00 is the sum of 26th field of... (16 Replies)
Hi Folks,
I want to use particular number as a variable output..Please find the below for scenario...
Example 1:-
Below output i want to use secondary group 9003 as a variable output
$ id -a |awk -NF '{print $3}'
groups=99(local),9003(testadmin)
Else
I want to use 2006 as a... (8 Replies)
Hi All,
Below is the 2 different ouputs of the command "ls -lrt", my question is what exactly "total 0" & "total 8" means here ?
$ ls -rtl
total 0
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 c
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 b
-rw-r--r-- 1... (1 Reply)
The following perl statement in a bash script consists of two substatements. I intend the first perl substatement (the assignment with glob) to get input from the preceding bash pipe, and the second perl substatement (the foreach loop) to output back to bash. However, the first perl substatement... (7 Replies)
Hi,
I have a glance adviser, the highlights below. The problem that i have is that every time glance finds process name "abc" it write the memory region data in a new line. My question is if i have a way to print without newline?
The output line for process abc looks something like this:... (0 Replies)
Can anyone tell this:
If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used.
Thanks in advance for your help.
Iamnew2solaris (1 Reply)
Hi All,
I just wanted to know, is there a way to suppress the output of the following i.e. the output should not be written on the screen:
ping 10.1.23.234 -n 1
PING 10.1.23.234: 64 byte packets
64 bytes from 10.1.23.234: icmp_seq=0. time=0. ms
----10.1.23.234 PING Statistics----
1... (2 Replies)
I have to stop the output of dd from writing to terminal. Here is the command:
sudo dd if=boot1h of="/dev/r$temp1"
Here is the output:
2+0 records in
2+0 records out
1024 bytes transferred in 0.000804 secs (1273715 bytes/sec)
I have tried >> log.txt but it doesn't work. Is there... (4 Replies)
Hello,
I am new to db2 SQL in unix so bear with me while I try to explain the situation. I have a text file that has the contents of the where condition that I am using for a db2 SQL in UNIX ksh.
Here is the snippet.
if ;
then
echo "Begin processing VALUEs"
... (1 Reply)