10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
the only way we can power off is if we actually press power button on server. Running on HP DL-G4. from root, when we issue command it just returns to root prompt. (1 Reply)
Discussion started by: amexboy
1 Replies
2. UNIX for Beginners Questions & Answers
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
3. Shell Programming and Scripting
Hi,
Here is the output using bash profile on Linux
uptime
04:59:14 up 16 days, 4:48, 2 users, load average: 1.00, 1.00, 1.20
Here is the output using bash profile on Solaris
uptime
4:00am up 84 day(s), 22:21, 3 users, load average: 0.09, 0.10, 0.12
Now,... (4 Replies)
Discussion started by: mohtashims
4 Replies
4. AIX
Could you please help me with the syntax to execute tmadmin command in AIX server?
I have a script that works fine in Linux (OEL). Below is the one :
tmadmin 2> /dev/null > /tmp/psstat1 <<EOF
psr
quit
EOF
I need the corresponding one in AIX. The same command is not working. Tried making... (3 Replies)
Discussion started by: Pandee
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
When I am trying to use tail +13 filename.csv it is throwing an error.
tail: cannot open `+13' for reading: No such file or directory and then prints last 10 lines of the file. (File is present on the path)
But when i try tail -13 filename.csv it runs perfectly.
Could I have... (5 Replies)
Discussion started by: AnkitSenghani
5 Replies
6. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
7. Red Hat
Hi,
:wall:
I am not able to run any utility command in Redat, Please see the below example and suggest me how I shall run this type of command.
$ su
Password:
# ifconfig
bash: ifconfig: command not found
# which ifconfig
/usr/bin/which: no ifconfig in... (3 Replies)
Discussion started by: pradipta_pks
3 Replies
8. Shell Programming and Scripting
I ran one the script in debug mode in linux and have a problem
ret='$prmAttunityUser=ais'
Now i need to remove $ from this '$prmAttunityUser=ais' so i had added a sed command like this sed 's/$//g' but its not working could you all please help me with an alternate command
I want the output... (3 Replies)
Discussion started by: vee_789
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I was trying to install from source USB_ModeSwitch on my Mac. I have always had success with the basic ./configure, make, make install commands in terminal so don't know how, why or what.
The issue I came across is that the makefile.conf uses the -D flag while installing and on UNIX... (0 Replies)
Discussion started by: jprokos
0 Replies
10. Shell Programming and Scripting
Hi,
I am issuing find command below mentioned ways but it givs different count. I don't understand the behaviour. Could any one have any clue?
$ find . -mtime -5 -maxdepth 1 -exec ls -lrt {} \; | wc -l
169
$ find . -mtime -5 -maxdepth 1 | wc -l
47
$ find . -mtime -5 -maxdepth 1 | wc -l... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
Net::Google::Code::Issue::Comment(3pm) User Contributed Perl Documentation Net::Google::Code::Issue::Comment(3pm)
NAME
Net::Google::Code::Issue::Comment - Issue's Comment
DESCRIPTION
ATTRIBUTES
project
project name
email, password
user's email and password
issue_id
sequence
sequence number, initial comment( when you create an issue ) has sequence 0
date
content
author
updates
HashRef that reflects updates
attachments
INTERFACE
parse( HTML::Element or html segment string )
parse format like the following:
<td class="vt issuecomment">
<span class="author">Comment <a name="c18"
href="#c18">18</a>
by
<a href="/u/jsykari/">jsykari</a></span>,
<span class="date" title="Wed Sep 3 04:44:39 2008">Sep 03, 2008</span>
<pre>
<b>haha</b>
</pre>
<div class="attachments">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td rowspan="2" width="24"><a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png" target="new"><img width="16" height="16" src="/hosting/images/generic.gif" border="0" ></a></td>
<td><b>proxy_settings.png</b></td></tr>
<tr><td>14.3 KB
<a href="http://chromium.googlecode.com/issues/attachment?aid=-1323983749556004507&name=proxy_settings.png">Download</a></td></tr>
</table>
</div>
<div class="updates">
<div class="round4"></div>
<div class="round2"></div>
<div class="round1"></div>
<div class="box-inner">
<b>Cc:</b> thatan...@google.com<br><b>Status:</b> Available<br><b>Labels:</b> Mstone-X<br>
</div>
<div class="round1"></div>
<div class="round2"></div>
<div class="round4"></div>
</div>
</td>
list
google's api way to get list of comments return a list of loaded( no scraping is done here ) comments in list context, a ref to the
list otherwise.
parse_hybrid
when $Net::Google::Code::Issue::USE_HYBRID is true, we will try to load comments with the google's official api, but as the api is not
complete, we still need to do scraping to load something( e.g. attachments ), this method is used to do this.
AUTHOR
sunnavy "<sunnavy@bestpractical.com>"
LICENCE AND COPYRIGHT
Copyright 2008-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-04-07 Net::Google::Code::Issue::Comment(3pm)