|
More site info...
UNIX for Dummies Questions & Answers | Forum profile
|
|
Forum profile page for UNIX for Dummies Questions & Answers on http://www.unix.com.
This report page is the aggregated overview from a single forum: UNIX for Dummies Questions & Answers, located on the Message Board at http://www.unix.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "UNIX for Dummies Questions & Answers" on the Message Board at http://www.unix.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on UNIX for Dummies Questions & Answers:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
125
|
406
|
1,199
|
|
Post:
|
299
|
1,003
|
3,029
|
|
|
UNIX for Dummies Questions & Answers Posting activity graph:
|
Top authors during last week:
user's latest post:
Keep just a part of a file ...
Published (2009-11-10 13:06:00)
Code: cat > t1 a b c d =============================================================== e Code: sed -n '/=/,$p' t1 =============================================================== e
user's latest post:
Keep just a part of a file ...
Published (2009-11-10 13:06:00)
Quote: Originally Posted by OneDreamCloser hello all, i would like your help on the following : GIVEN a text file with the following format : Code: a b c d =============================================================== e HOW can i delete all the lines that are located above this line (namely a, b, c, d lines) : Code: =============================================================== OR just keep the line with the equal signs and the line e ?...
user's latest post:
Issue on sorting
Published (2009-11-10 13:06:00)
How can you be so sure it didnt do the sort? Read carefully the man pages of sort again... sort <filename> will not replace your file by a new one sith sorted lines... clue: Quote: sort(1) sort(1) -o output The argument given is the name of an output file to use instead of the standard output. This file can be the same as one of the input files. Where do you think the sort went in your command?
user's latest post:
SED + "tab" character
Published (2009-11-09 13:07:00)
Quote: Originally Posted by OneDreamCloser thank you for your interest, at first. @Scrutinizer : doesn t seem to do the right thing On my system it does this: Code: $> sed 's/no\.PCs\t3/no.PCs\t1/g' infile {tf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf110 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;ed255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0...
user's latest post:
Root filesystem filling up!
Published (2009-11-10 13:06:00)
Do you have logfiles on the root filesystem? Try running find looking for large files that were recently modified Code: find / -mtime+3 -type f -size +10000 -exec ls -l {} \;
user's latest post:
Sorting help
Published (2009-11-09 13:07:00)
Double post, continued here
user's latest post:
translate timestamp
Published (2009-11-06 09:55:00)
my file creation timestamp looks like this: Nov 4 15:44:34 EST 2009 i need to translate into 091104 my way is to awk on $1, $2, $5, but i don't know how to tranlate Nov to 11 ---------- Post updated at 03:01 PM ---------- Previous update was at 11:07 AM ---------- i resolved my post by creating a content as: Nov = 11 Dec = 12
user's latest post:
Location of File
Published (2009-11-09 13:07:00)
The "find" is probably not hung. It will take time to search from root down. The error messages "find: cannot open" are because you are not logged in as "root" and do not have permission look at some directories. This is harmless because you could not have created a file in one of those directories. If you really don't know where you created the file, the find from root will find it...
user's latest post:
How To Get The String Right...
Published (2009-11-05 09:59:00)
i have this basic line of code that accepts for an input parameter. Example of input string is "/u02/app/ccalloc/dev/out/*.txt", a directory name with a wild card filename. my code below can get the directory name by using the `dirname $p1` command. when i attempted to use the `basename $p1` to get the filename with wild card character it failed. Code: $ sh sample.sh "/u02/app/ccalloc/dev/out/*.txt" Usage:...
|
|
|
|
Latest active threads on UNIX for Dummies Questions & Answers::
Started 10 hours, 21 minutes ago (2009-11-12 05:42:00)
by vbe
Code:
smitty chuser
smitty chgroup
Started 1 day, 7 hours ago (2009-11-11 08:42:00)
by thegeek
ok, you are explanations are clear.
Do total/366 only at every 4th time... What suggestion you want ?! or What is the doubt you have here ?
Started 10 hours, 21 minutes ago (2009-11-12 05:42:00)
by pludi
Double post, continued here
Started 12 hours, 21 minutes ago (2009-11-12 03:42:00)
by Neo
You seem to have issues with your makefile.
Did you edit the makefile carefully?
Started 1 day, 7 hours ago (2009-11-11 08:42:00)
by sysrenan
temhem, don't worry, when starting everything is "unknown"
but here you can read a little about scp on wikipedia: Secure copy - Wikipedia, the free encyclopedia
basically you would store the variables with values into a file on serverB, and on serverA you would run this command:
Code:
# scp user@serverB:/home/user/variable_file.txt ./
where all variables you need would ...
Started 1 day, 7 hours ago (2009-11-11 08:42:00)
by fpmurphy
You cannot run a shell script on a remote machine using sftp.
Started 2 days, 2 hours ago (2009-11-10 13:05:00)
by paoie
Hi,
im having problem creating a loop using my code: aside from the fact that the 1st variable (VAR) does not increment, it loops more than the expected output.
for sample purposes, test csv contains 3 lines.
Code:
#get number of lines in the file
lines=$( wc -l < test.csv )
VAR=1
VAR2=1
while [ $VAR -le $lines+1 ]
do
while [ $VAR2 -le $lines+1 ]
do
...
Started 1 day ago (2009-11-11 15:43:00)
by ThriveBank
VCS will not let you stop an agent if any resources owned by that agent (that is, resources of that Type) are online in the cluster.
Now, if you manage to stop the agent outside VCS, then VCS will kick out a dead-agent trigger (if configured), and I think it will automatically restart the agent (not really sure from memory)
If your desire is to stop the agent but still keep the monitored ...
|
|
Hot threads for last week on UNIX for Dummies Questions & Answers::
Started 1 week, 1 day ago (2009-11-04 10:05:00)
by pludi
If you've got legitimate access to the other machine, use the find command given above. If you don't have access to that machine, please give us a good reason why you need to access it. Otherwise I'll invoke Rule 12
Started 3 days, 10 hours ago (2009-11-09 05:29:00)
by redhead
find / -type f -name "beginning*"
Started 4 days, 7 hours ago (2009-11-08 08:34:00)
by g.ashok
What are the ways to know about a command?
Started 2 days, 2 hours ago (2009-11-10 13:06:00)
by TTLGY
Quote:
Originally Posted by TonyLawrence
Works for me:
$
Code:
cat t
sdasdasda XXXXXsiynfSSSSSS
sdasdssXXXXXswednHHHHH
suenfghsddfsdfsdcvgwefrdsfbiXXXXXwugdnUUUUUUUUUUU UUUUUUU
$ cat t| sed 's/.*\(XXXXX.\{1,5\}\).*/\1/'
XXXXXsiynf
XXXXXswed n
XXXXXwugdn
I ran
Code:
zcat /home/...
Started 1 day, 7 hours ago (2009-11-11 08:42:00)
by fpmurphy
You cannot run a shell script on a remote machine using sftp.
Started 3 days, 2 hours ago (2009-11-09 13:07:00)
by ghostdog74
Code:
awk '/no\.PC/{gsub($NF,"1")}1' file
Started 3 days, 2 hours ago (2009-11-09 13:05:00)
by temhem
TTTEST is defined in my tnsnames.ora , i checked it before.
---------- Post updated at 07:12 AM ---------- Previous update was at 07:01 AM ----------
How can i try other structure for sqlplus?
or are there any other way for running sqlplus?
Started 3 days, 10 hours ago (2009-11-09 05:31:00)
by juststarted
Quote:
Originally Posted by thegeek
google .... and following seems useful.
Real and Effective IDs
thank you very much geek ,
your post was so help full.
i have gone through that and i understood well about the effective Ids.
but i have a confusion regarding setuid().
please correct ...
Started 1 day, 7 hours ago (2009-11-11 08:42:00)
by sysrenan
temhem, don't worry, when starting everything is "unknown"
but here you can read a little about scp on wikipedia: Secure copy - Wikipedia, the free encyclopedia
basically you would store the variables with values into a file on serverB, and on serverA you would run this command:
Code:
# scp user@serverB:/home/user/variable_file.txt ./
where all variables you need would ...
Started 1 week, 1 day ago (2009-11-04 10:01:00)
by vbe
What you didnt say was how you logon:
from remote via telnet
from remote via ssh
from remote via X using xdmcp...
from ...
on directly on the box using X (that means at the console...)
|
|