05-23-2012
Well, i already specified .bash_history file, so i am working on bash shell... And i already have this file, i am asking if there is any other temporary location where this is stored before being writtten to .bash_history, because bash_history is written when u close the session, but u can browse through your latest commands using the Up-arrow; also using history shows all the latest commands..
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I am writing a program to retrieve the IP address or machine name of the local machine using C.
Is there any C function that does this?
ny clue will be of gr8 help!!!
thanx a lot. (1 Reply)
Discussion started by: mridula
1 Replies
2. IP Networking
Hi Guys,
How to find the Workgroup/Domain name of my local machine in unix?
Please suggest some link.
Thanks.
sunil. (3 Replies)
Discussion started by: skumar2011
3 Replies
3. Red Hat
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies
4. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies
7. UNIX for Advanced & Expert Users
Hi Am using unix Ksh
Am getting the problem while transferring zero size files through the script .
When i transfer zero size files from local machine to remote machine manually i can able to do it .
My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Discussion started by: Venkatesh1
2 Replies
8. Shell Programming and Scripting
I need to run a local shell script on a remote machine. I am able to achieve that by executing the command
> ssh -qtt user@host < test.sh
However, when I try to pass arguments to test.sh it fails.
Any pointers would be appreciated. (7 Replies)
Discussion started by: Sree10
7 Replies
9. Red Hat
I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99
Source Destination was UP, with IP 192.168.1.15.
This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies
10. Shell Programming and Scripting
Team,
Presently i am running a script from my local box(i.e jumpbox) to all the remote machines.Basically fetching basic queries like pwd,mkdir,touch etc and i am able to successfully fetch it from my local machine.But when i want to check certain database related queries like the dbstat... (20 Replies)
Discussion started by: whizkidash
20 Replies
LEARN ABOUT DEBIAN
usbprog
USBPROG(1) USBprog USBPROG(1)
NAME
usbprog - Programmer for the USBprog hardware
SYNOPSIS
usbprog [options] [commands]
DESCRIPTION
USBprog has two modes: An interactive mode and a batch mode. Both mode use exactly the same commands. As every command takes a fixed number
of arguments, no separator is necessary between commands -- just specify as much commands as you would like to execute.
The help command gives a list of all commands, ? command can be used to get help for a specific command. Example:
(usbprog) help
(usbprog) ? upload
OPTIONS
Following options can be specified, both for the interactive and the batch mode:
-h | --help
Prints a short help.
-v | --version
Prints the version number to standard output.
-d | --datadir datadir
Uses datadir instead of ~/.usbprog.
-o | --offline
Don't try to connect to the internet. Use the cached firmware and index file(s) only.
-D | --debug
Enable debugging output.
COMMANDS
This section describes all commands. As mentioned above, the syntax is the same for interactive and batch usage.
help This just prints an overview about every command, i.e. the command name and an one-sentence description.
helpcmd | ? command
Print a detailed description for command.
exit | quit
Quit the program. On Unix, you can also send an EOF by pressing Ctrl-d on your terminal.
copying | license
Prints a short license (GPL) text and the version number of the program.
list | firmwares
Prints a list of available firmwares. A [*] shows that the firmware is available in the offline cache.
download firmware
Downloads the specified firmware. Use the same string as you retrieved from the firmwares command described above. This command
doesn't work in offline mode.
info firmware
Shows some basic information about firmware like what it does, the latest version number, the author and the USB ID which the
USBprog device has after this firmware has been uploaded. See also the pins command.
pins firmware
This shows the PIN assignment of firmware and the meaning of the LED and jumpers. See also the info command for basic information
about the firmware.
cache clean | delete
clean deletes all old firmware versions from the firmware cache, i.e. if the latest version of a firmware is 5, then it deletes the
versions 0 to 4 if they are still on disk. The delete command deletes the whole firmware cache. Only the index and history file are
in the cache directory after executing this command.
devices
Shows a list of connected USB devices related to USBprog. The currently used update device an be set with device and is also marked
in the output.
device number | name
Sets the update device for the upload command. You have to use the integer number or the device name you retrieved from the devices
command.
upload firmware | file
Uploads a new firmware. The firmware identifier can be found with the list command. Alternatively, you can also specify a file name
on the disk. The extension doesn't matter.
FILES
~/.usbprog/version.xml
Index file, downloaded from http://www.ixbat.de/usbprog/versions.xml.
~/.usbprog/history
The saved readline(1) history.
~/.usbprog/*
The rest in that directory are firmware files. The naming scheme is name.version.
AUTHOR
The USBprog program and documentation has been written by Bernhard Walle <bernhard@bwalle.de>.
SEE ALSO
usbprog-gui(1), http://www.embedded-projects.net/index.php?page_id=135
0.2.0 2010-01-04 USBPROG(1)