10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
How can write the nested command substitutions?
echo `expr substr $x 1 expr ${#x} - 1`
the above code is not working!
Thanks in advance
Regards
Chetanz (5 Replies)
Discussion started by: Chetanz
5 Replies
2. Programming
Hi to all the members at unix.com
I have an issue in write command.
Alhtough i know that basically the write command is used to write at the terminal.
So suppose i use the write command then at the target terminal i get "Message from <id>@<servername> on <pts> <time>" and then the <msg>
What... (1 Reply)
Discussion started by: abhijoneja
1 Replies
3. Shell Programming and Scripting
This is all on a Unix computer where I login using Putty (for references sake).
I was wondering if it was possible to use the write command with an already predetermined message in mind.
I'm attempting to write to another user, but I'd like to do something like:
write user1 "Message"
So... (2 Replies)
Discussion started by: eXist73
2 Replies
4. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
5. Shell Programming and Scripting
Hi All,
can you please help me to get clarified about the 'write' command.
I have a script that sends a content of a file msg.txt to other user 'User B' using 'write' command.
Script:
------
.....
cat msg.txt | write "user B"
.....
Issue: I face a issue here, this scripts sends... (3 Replies)
Discussion started by: little_wonder
3 Replies
6. Shell Programming and Scripting
Hello All
i have input files contains 2 values as following
20-Oct-09 Z59408009
20-Oct-09 Z59423060
and i am using the following script
cat /home/or/input.txt | awk '{print $2}' >log
count=0
while read line; do
count=$(( count + 1 ))
echo "UPDATE SAT_JRLTRT SET AVT='X' WHERE... (6 Replies)
Discussion started by: mogabr
6 Replies
7. Shell Programming and Scripting
Hi
I need some help on SED command
I am writing a shell script which does the following:
1. Read one line at a time from a file abc.txt which has millions of lines
2. Prefix each line read with some text "
3. Post fix each line read with a quote "
4. Write the new modified... (11 Replies)
Discussion started by: gaurav_1711
11 Replies
8. Shell Programming and Scripting
i need the a c program that simulates the "ls" command:b: (5 Replies)
Discussion started by: madhu.it
5 Replies
9. UNIX for Dummies Questions & Answers
Hi Group ,
I m trying to execute commands on some other system using write command but inspite of executing the commands they r passed as simple messages.
- i m writing
>write user-id
! ls
o
ctrl-d
inspite of executing the command ls,other terminal shows ! ls.
Thnx in advance. (2 Replies)
Discussion started by: Aashish
2 Replies
10. UNIX for Dummies Questions & Answers
At times I have thse Oracle logfiles that grow like crazy and fill up a specific file system. I wanted to write a find command that lists which are the biggest files from the search path..so
/qbidora02/oracledba/find . -name ....... <downward to the lowest level> and list file names, sizes and... (2 Replies)
Discussion started by: jigarlakhani
2 Replies