i currently am using a unix server and NT pc. i have downloaded a ziped file that should explode into 3 seperate unix based files, however when i unzip it using Alading Expander it displays only 1. This exploded version contains all 3 files ( you can scroll down when viewing the file and see the... (1 Reply)
hi i would like to know whether i can delete a part of a file in C
for eg. if my file contained
1234567890
and i want to delete
456
so that it becomes
1237890
is there a way i can do this.
well, one way i can achieve this is by creating a new file, copy whatever i want, then... (2 Replies)
:(
what is the best way of editing the various .plist files without adding third party files? Or is the easiest way is to add third party applications, which ones? please kept in mind that i am not a programmer.
mike (1 Reply)
I attempted to change the IP of my Solaris 9 box by changing these files:
/etc/hosts
/etc/hostname.dmfe0
And when I rebooted my system, the changes did not come up through the reboots. I have searched high and low and this is how you change the IP address permanently. Can anyone tell me what... (2 Replies)
hi guys,
We have to implement new local (/etc/default/login) USER security policy on almost 50 stations.
so editing /etc/default/login and /etc/default/passwd will be way too long work.
Can we do the same using some script, I mean editing the above files and putting variables as RETRIES=3, ... (5 Replies)
Is there any command which I can apply from the command line to find and replace a particular text say "00:00:00:00" with "00" from all the files( where ever this text exists) of the current directory? (17 Replies)
Hi All,
I have a folder that contains 100's of files and each file have a similar content like the following format:
((STBJa:200.0,((STBTz:200.0,(STSwe:200.0,(STDUw:200.0,(ST4Bu:200.0,STL2b:200.0):127.0):86.0):80.0):120.0,
STAHr:200.0):134.0):200.0,STuNg:200.0);What I need is to do is add "#1"... (2 Replies)
I am working in C and need a solution for below problem:
I have a binary file, which needs to be edited in such a way no data is loss.
For example i have to insert 3 bytes of data at some position without changing the contents of the file.
if file has data as:... (2 Replies)
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
This is a smallpart of my input file.I want to change the ID values of entries having CMW as an entry.
Cont_1.266 . CMW 2958 3269 . - 0 PARENT=t:UM06506T0;ID=UM06506P0;rank=6
Cont_1.266 . CMW 3394 3505 . - 0 ... (3 Replies)
Discussion started by: sasdf
3 Replies
LEARN ABOUT DEBIAN
hconsole
HCONSOLE(1) Hatari utilities HCONSOLE(1)NAME
hconsole - Interactive Python console for using Hatari's remote API
SYNOPSIS
hconsole.py [[consoleoptions] [commandfile] --] [hatarioptions]
DESCRIPTION
Hconsole is a Python script that invokes Hatari and then provides an interactive shell (with full readline editing capabilities) for exe-
cuting Hatari remote API commands.
It can be useful for first exploring Hatari's remote API usage interactively and then writing scripts that somehow automate your Hatari
usage. They can invoke hconsole functionality simply by doing "import hconsole" and calling appropriate methods (see example.py coming
with hconsole).
USAGE
Normally hconsole forwards all of its arguments to Hatari instance it invoked. If you want to give arguments for hconsole itself, you
need to add '--' argument after the hconsole arguments and before the arguments going to Hatari.
If you give a file name as hconsole argument, commands in it will be read and executed through Hatari's remote API before you get into
hconsole interactive shell.
Hconsole accepts following options:
--exit Exit after starting Hatari and parsing arguments.
--help, -h
Show command line help.
EXAMPLES
Start Hatari with all of the given arguments:
hconsole.py --monitor mono -d test/
Start Hatari without extra arguments, execute commands from the given commands.txt file, exit after the file ends:
hconsole.py commands.txt --exit --
FILES
By default hconsole and its examples are installed under the /usr/share/hatari/hconsole/ directory.
SEE ALSO hatari(1), hatariui(1)AUTHOR
Written by Eero Tamminen <oak at helsinkinet fi>.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
NO WARRANTY
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Hatari 2010-10-10 HCONSOLE(1)