9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is a bit complicated for me.
My scenario in MyFile:
When string1 is found, grep the line containing string1, go back over that line in upward direction and grep the first line containing string2.
Here is an example:
His email address... (17 Replies)
Discussion started by: baris35
2. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
I am running some performance based tests on Solaris, and I was wondering how fast the "seeking" rate of Solaris is, or how fast Solaris can get information about files with the "find" command. Does anyone know what 'find' command I could run to traverse through my system to see the rate... (1 Reply)
Discussion started by: bstring
4. Shell Programming and Scripting
Please help me to sort out this problem, I am running this in centos o/s and whenever I run this script I am getting "find: missing argument to `-exec' " but when I run the same code in the command line I didn't find any problem. I am using perl script to run this ... (2 Replies)
Discussion started by: ramkumarselvam
5. Shell Programming and Scripting
Hi all ,
I'm new to unix
I have a checked project , there exists a file called xxx.config .
now my task is to find all the files in the checked out project which references to this xxx.config file.
how do i use grep or find command . (2 Replies)
Discussion started by: Gangam
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
7. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
8. Shell Programming and Scripting
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Jatin Jain (10 Replies)
Discussion started by: jatin.jain
9. Shell Programming and Scripting
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Discussion started by: yacsil
ip6_setup(8) System Manager's Manual ip6_setup(8)
ip6_setup - IPv6 configuration program
The ip6_setup utility allows you to configure the IPv6 networking software on your system.
To run ip6_setup, enter the following command and then answer the questions: # ip6_setup
You must know your Internet Protocol Version 6 (IPv6) address. If your network uses subnet routing, you must know the subnet mask for your
network. The network manager should be able to provide you with the information that you need.
After the ip6_setup command completes, the network services on the system can be restarted manually with the following command: #
Before you restart the network services with the preceding command, warn the users that the network services on the system are being
removed. File systems that were not mounted using the /etc/fstab file or the automount command must be unmounted with the unmount command.
You must remount these file systems using the mount command after the network is started on your system.
Alternatively, you can reboot the system with the following command: # /usr/sbin/shutdown -r now
Specifies the host name file. Specifies the environment variables that define the network configuration on your system. Specifies the
trusted hosts file. Specifies the network name file. Specifies Internet routing information. Specifies Internet routing information.
Commands: mount(8), rcinet(8)
Files: gateways(4), hosts(4), hosts.equiv(4), networks(4), routes(4).