10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I need to write a script to find all "*.sh" files in /home file system and if any string find "*.sh" files with the name vijay@gmail.com need to replace with vijay.bhaskar@gmail.com. I just understood about the find the command to search .sh files. Please help me on this.
find / -name... (3 Replies)
Discussion started by: bhas85
3 Replies
2. UNIX for Beginners Questions & Answers
Hi - If iam logged on to server A, on 4 putty windows using SSH ... and out of these 4 logged-in sessions, in one of the sessions if i did SSH from server A to server B;
i would now have 4 putty windows sessions ... of which 3 are actively logged on to Server A while 1 putty window is actively... (2 Replies)
Discussion started by: i4ismail
2 Replies
3. Shell Programming and Scripting
So I have a loop that stated if a directory exists or not. If it does it prints the number of files within that directory. I use this code...
result=`(ls -l . | egrep -c '^-')`
However, no matter which directory I input, it outputs the number "2"
What is wrong here? (4 Replies)
Discussion started by: itech4814
4 Replies
4. HP-UX
$ uname -a
HP-UX chd007d B.11.23 U 9000/800 3154283600 unlimited-user license
Thanks (7 Replies)
Discussion started by: Maddy123
7 Replies
5. Shell Programming and Scripting
i am prompting for a name to search.
read user
if
then
however, i get this error:
please enter a username on the system:
fool
menu_script2.sh: line 123: (4 Replies)
Discussion started by: icelated
4 Replies
6. Shell Programming and Scripting
Good evening everybody,
I have to find the user owner of the most recently file in the system
How can I do? :confused: (5 Replies)
Discussion started by: Guccio
5 Replies
7. Solaris
Hello, I am running a Solaris 8 system.
I Have encountered that each time I ask the system to report to me the users who have or are about to exceed their quota limit for disk usage, a strange number appears in a user name, it does not appear in my /etc/group or in my /etc/passwd files
The user... (13 Replies)
Discussion started by: lzcool
13 Replies
8. Shell Programming and Scripting
Hi,
How can i able to do a similar operation to "find" number of files in a folder in an awk?
In bash, we could do easily using "find" command. But currently, I am having an awk block and i wanted to extract these information.
Please advise. Thanks. (2 Replies)
Discussion started by: ahjiefreak
2 Replies
9. UNIX for Dummies Questions & Answers
hi,
1) I want to find from the current directory the number of files (count) with two or more particular extentions in another directory.
For ex: If I am in a/b/c directory... I want to find the count of the files with .txt and .dat extention in a/d/e directory. I have tried using the below... (5 Replies)
Discussion started by: harish409
5 Replies
10. UNIX for Dummies Questions & Answers
Hi,
In my company, we are using SCO UNIX system and Informix database. Recently, there have been a lot of users accessing to server and sometimes it has made server run very slow. So, I intend to limit number of users of 30 only. Although I have tried to search on the Internet for several days,... (1 Reply)
Discussion started by: trinhnguyen
1 Replies