Is there a utility or command I can use to tell the number of decimal places a number has. For instance, if the number is 432, it will give hundred as the number of decimal places. (7 Replies)
Good Day
I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
Hi There,
I have a script which finds for log files and removes them if the file has changed in the last day.
The script runs fine without errors. The log file is still there. So, I decided to print the find command and run the command outside the script. Getting "Incomplete statement"
Can you... (6 Replies)
When trying to copy a file in Solaris 8 it doesnt copy file or give a error. This worked 100% until the 29th. I've checked the rights and everything seems fine:
drwxrwxrwx 2 bmuser bmgroup 11776 Jan 3 10:32 spool
This is the file I want to copy:
-rwxrwxrwx 1 bmuser bmgroup ... (26 Replies)
Hi,
I have a script which does a tar and sends it to another server as backup.
Script is as below
# Locations to be backed up. Seperate by space
BACKUP_LOCATIONS=/repos/subversion
BACKUP_BASE_FOLDER=/bakpool
BACKUP_FILE_NAME_ROOT=svn-backup
START_TIME_DISP=`date`
START_TIME=`date... (11 Replies)
Hello all,
Something strange going on with a shell script I'm writing. It's trying to write a list of files that it finds in a given directory to another file. But I also have a skip list so matching files that are in that skip list should be, well uhm, skipped :)
Here's the code of my... (2 Replies)
Hi Guys,
I have a strange problem.( AIX 6.1) "vi" is not working at all..Whenever i #vi <anythin> ,, it returns the prompt back. Any clues folks?? (14 Replies)
I am trying to print out two fields in a file using awk. So, I have got
awk -F '\t' 'NF = 2 {print $1 $2 "]"}' two.txt
in a script called what.awk
When i run this version like this - ./what.awk then it runs however I want to run the program like this
awk -f what.awk two.txt.
When I... (8 Replies)
I have simple script. like that, I am working on /usr/local/src and also under src folder there is a ft folder
#!/bin/ksh
#!/bin/bash
dirpath="/usr/local/src/ft"
echo $dirpath
cd $dirpath
echo displays ok "/usr/local/src/ft"
but that doesn't enter "ft" folder. stays in current... (4 Replies)
Discussion started by: F@NTOM
4 Replies
LEARN ABOUT DEBIAN
msp430-run
run(1) GNU Tools run(1)NAME
run--Simulator front-end
SYNOPSIS
run [-v] [-p freq] [-m memory] [--sysroot filepath] program
DESCRIPTION
Use `run program' to execute a binary by interpreting machine instructions on your host computer.
run is the same emulator used by GDB's `target sim' command. You can run it directly by executing run if you just want to see your program
execute, and do not need any debugger functionality. You can also use run to generate profiling information for analysis with gprof.
OPTIONS -v Verbose output. Display the name of the program to run before execution; after execution, display the number of instructions exe-
cuted, the number of machine cycles emulated, the number of pipeline stalls, the real time taken, the emulated execution time taken,
and a summary of how much profiling information was generated.
-p freq
Generate profile information (for use with gprof). freq is the profiling frequency. Write the profiling information to a file
called gmon.out.
-m memory
Set the memory size for the emulated machine to two to the power memory. The default value is 19, emulating a board with 524288
bytes of memory.
--sysroot filepath
Prepend filepath to all simulator system calls that pass absolute file paths. Change working directory to filepath at program
start. Not all simulators support this option; those that don't, will ignore it.
SEE ALSO
`gprof' entry in info; `gdb' entry in info; Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch.
COPYING
Copyright (c) 1993, 2000 Free Software Foundation, Inc.
This document is distributed under the terms of the GNU Free Documentation License, version 1.1. That license is described in the sources
for this manual page, but it is not displayed here in order to make this manual more consise. Copies of this license can also be obtained
from: http://www.gnu.org/copyleft/.
GNU Tools 13oct1993 run(1)