Fancy indexing shows the files plus additional information about them like the date the file is last modified, their size and description. To use that type of indexing, you should add the following two lines in a file named .htaccess in the destination folder:
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y"
#!/bin/bash
du -hs $1
while read SIZE ENTRY
do
if ;
then
find $1 -mtime +$2 -exec rm -f {} \;
echo "Files older than $2 days deleted"
else
echo "free Space available"... (4 Replies)
Hi all,
can any one suggest me the script to grep multiple strings from ps -ef
pls correct the below script . its not working/
i want to print OK if all the below process are running in my solaris system. else i want to print NOT OK.
bash-3.00$ ps -ef | grep blu
lscpusr 48 42 ... (11 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OSX
xcodeindex
XCODEINDEX(1) BSD General Commands Manual XCODEINDEX(1)NAME
xcodeindex -- indexes Xcode projects
SYNOPSIS
xcodeindex [-project projectname] [-configuration configurationname] [-quiet] [-destPath path] [-loglevel level] [indexaction ...]
xcodeindex -version
xcodeindex -help
DESCRIPTION
xcodeindex indexes an Xcode project.
Usage
Run xcodeindex from the directory containing your project (i.e. the directory containing the projectname.xcode package). If you have multiple
projects in the this directory you will need to use -project to indicate which project should be indexed.
By default, xcodeindex updates the project index if it exists, otherwise it creates a new index.
Options
-project projectname
Index the project specified by projectname. Required if there are multiple project files in the same directory.
-configuration configurationname
Use the build configuration specified by configurationname when indexing the project. If none is specified, the active configuration is
used.
-quiet
Suppresses all logging while indexing.
-destPath path
Places the project index in the directory specified by path.
-loglevel level
Turns on varying degrees of indexing debugging. The level range is from zero to six, enabling a staggered number of the existing index-
ing defaults for the indexer. If an option greater than six is used, then the maximum level of logging is enabled. The logging levels
are defined as:
0 No logging
1 Prints the name of the file being indexed. This is the default logging level.
2 File processing output
3 Symbol updating output
4 Symbol insertion and creation output
5 Parser basic output
6 Parser error output
The levels are inclusive (thus enabling log level 4 would also automatically include levels 1, 2, and 3). Output from higher logging
levels than the default (level 1) is not expected to be useful for most developers, but could be valuable in troubleshooting cases
where there is a problem with indexing a particular Xcode project.
indexaction ...
Specify an index action (or actions) to perform on the project. Available build actions are:
clean Removes the index for the project.
build Updates the index for the project, creating it if necessary. This is the default index action.
stats Prints the statistics for the index (number of classes, etc)
dump Dumps a tab-delimited format of the index (for major symbols - classes, methods, etc) to stdout
-version
Displays component version numbers for xcodeindex. These can be compared to the version numbers in the Xcode application's About Xcode
window.
-help
Displays usage information for xcodeindex.
EXAMPLES
xcodeindex clean
Cleans the index.
xcodeindex -project FirstProject -project SecondProject -project ThirdProject -configuration Debug -quiet
Indexes three projects using the Debug configuration and suppresses all logging.
Mac OS X September 16, 2008 Mac OS X