Search Results

Search: Posts Made By: RedSpyder
Forum: Solaris 04-02-2010
46,459
Posted By son_t
From the man page for crontab: So yes (at...
From the man page for crontab:

So yes (at 2am).
109,243
Posted By navsha
TO run on Last day of every month
00 08 * * * [ `date +%d` -eq `echo \`cal | awk '{print $NR}'\` | awk '{print $NF}'` ] && /your_script_path/your_script.sh


A bit of explanation:
----------------------
cal : Gives the Calendar...
Forum: Solaris 02-15-2013
3,605
Posted By cero
I'll give some further details for the shutdown,...
I'll give some further details for the shutdown, as it may be important (there are some posts on this site that demonstrate what happens when you delete a file at os level with processes still having...
Forum: Solaris 02-13-2013
3,605
Posted By bakunin
This is only one database instance (probably...
This is only one database instance (probably called "SMART"). What you see here are are just different filesystems, holding tablespaces, redo-logs and controlfiles.

A little explanation about what...
Forum: Solaris 01-24-2013
3,605
Posted By bartus11
You don't need to wipe the server, but you should...
You don't need to wipe the server, but you should probably recreate the application ZFS pool in a way that will suit your new application. To list ZFS pools and check their sizes:zpool listTo check...
Forum: Solaris 10-02-2012
3,531
Posted By bartus11
This filesystem is mounted on "/export/home". To...
This filesystem is mounted on "/export/home". To check what is taking space there, run: cd /export/home
du -sk *
4,102
Posted By Corona688
That's the thing -- Linux/UNIX are systems, not...
That's the thing -- Linux/UNIX are systems, not "things to learn". You need to learn how to solve problems in it, not just "learn x" then "learn y" then "learn z". This is because they're sets of...
918
Posted By jawsnnn
I guess (and it is just a guess, since I know...
I guess (and it is just a guess, since I know next to nothing about how shell works) is that
1. Since the variable $FILE may refer to more than one files, grep is showing you the exact filename...
31,762
Posted By hergp
Glad, you could figure out, what was wrong, and...
Glad, you could figure out, what was wrong, and it's working now.
31,762
Posted By hergp
Hmm, some more ideas: Is the public key in...
Hmm, some more ideas:

Is the public key in ~/.ssh/authorized_keys on the target system written as a single line? Because keys are long strings, sometimes they are pasted as multiple lines instead...
31,762
Posted By hergp
Doesn't look like much. You sent a RSA key to the...
Doesn't look like much. You sent a RSA key to the target host, but it didn't like it. Try ssh -vvv too.

If that does not reveal anything useful, you have to make your sshd on the target machine...
10,242
Posted By ddreggors
simple for awk to do this... $ awk -F,...
simple for awk to do this...



$ awk -F, '{print $2 "," $1}' InFile.csv
'ColumnB','ColumnA'
'A2','A1'
'B2','B1'
'C2','C1'
10,242
Posted By bartus11
Run this before running your code: tr '\r' '\n' <...
Run this before running your code: tr '\r' '\n' < InFile.csv > InFile.csv.tmp; mv InFile.csv.tmp InFile.csv
1,285
Posted By Corona688
I believe the first two match digits at the end...
I believe the first two match digits at the end of a string, the first one without h on the end, the second with h on the end. Possibly with intention of grabbing it from the $1 etc specials later....
1,455
Posted By Corona688
It's certainly not going to work if you force the...
It's certainly not going to work if you force the string to contain quotes. It will search for files with literal quotes in their names.

Also, just repeating the list won't work either. You need...
1,455
Posted By Corona688
Also, don't put the results of the find in...
Also, don't put the results of the find in backticks there. Do

find ... | while read LINE
do
echo "line is $LINE"
done Since that's not prone to bad splitting or too-many-arguments.
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy