10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Friends,
I have a problem about a little script,
when i run the following two lines one by one on CLI then they work well:
/usr/bin/mkdir `perl -e 'use POSIX qw(strftime); print strftime "%Y-%m-%d",localtime(time() - 30*24*60*60);'`
find . -type f -name "fuseesb.log.*" -mtime 30... (5 Replies)
Discussion started by: EAGL€
5 Replies
2. AIX
Hi Admins,
Just a small question - Can we have multiple session for single user on HMC.
e.g. Can I have a terminal session (via IE ) and command line (ssh) at same time ??
I am not sure whether it will impact HMC system or not. So want to make sure.
let me know folks.
Thanks (3 Replies)
Discussion started by: snchaudhari2
3 Replies
3. Shell Programming and Scripting
Platform: AIX 6.1/ksh
Question1.
I want to grep for the string "CUSTOM_PKMS" in all the files in server except those files with extensions .dbf , .ctl and .dmp
I started running the following command but it is taking too long because there are lots of .dbf , .ctl and .dmp files in this... (6 Replies)
Discussion started by: John K
6 Replies
4. Shell Programming and Scripting
Hello.
This is my situation.
script .anything
ls -l .
---How can I see the content of .anything using (i.e) cat .anything?
If not possible can someone suggest a sequence to simulate a console-recorder
to "observ" from a RUNNING script session?
Thanks
Paolo
Please use code tags... (3 Replies)
Discussion started by: paolfili
3 Replies
5. UNIX Desktop Questions & Answers
Hello,
I would like to ask you, how to match directory names. I need to find only directories, which are created only from numbers and doesn't include any letters.
I used command
find $AC_WORKDIR/work_archive/test/$dirs_years -maxdepth 1 -name \\* -print
If I have dirs like
12... (3 Replies)
Discussion started by: satin1321
3 Replies
6. UNIX for Dummies Questions & Answers
i feel weird with this 2 command
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec rm -f {}\;
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec ls -lrt {}\;
the first one return correct which only delete those filename that consist *test* where second command it listed all the... (12 Replies)
Discussion started by: lsy
12 Replies
7. Shell Programming and Scripting
Hi All,
I want to capture all the operations performed in the terminal. So to achieve this I used “script” command. This works as I expected. But this command captures all the standard output which is redirected to terminal. For example if i “tail” a file, even the tail output is getting... (2 Replies)
Discussion started by: kalpeer
2 Replies
8. UNIX for Dummies Questions & Answers
Trying to locate files less than xx days old, throughout all directories/subdirectories, but excluding certain types of directories and files.
The directories I want to search all contain the same characteristic (dbdef, pldef, ghdef, etc), and there are subdirectories within that I need to... (2 Replies)
Discussion started by: Condmach
2 Replies
9. Shell Programming and Scripting
I'm trying to figure out how I can run a script "myScript.sh" in such a way that if my remote network connection gets disconnected, the script doesn't stop functioning.
Right now I log in, run "./myScript.sh" and watch my output get pumped to a log file for about 10 hours. Only problem is that... (3 Replies)
Discussion started by: jjinno
3 Replies
10. UNIX for Advanced & Expert Users
hi everyone...
simple question,,,
if I open a new Xwindows session on terminal 8 would it be possible to hook my laptop to a desktop computer platformed with linux and run an alternate session from the desktop on my laptop (on terminal 8 ) ......?
is this impossible, impractical or too far... (1 Reply)
Discussion started by: moxxx68
1 Replies