Sponsored Content
Full Discussion: Usage of '.' in MV command
Top Forums UNIX for Dummies Questions & Answers Usage of '.' in MV command Post 302973105 by rahualux on Saturday 14th of May 2016 12:20:01 PM
Old 05-14-2016
Usage of '.' in MV command

Hi,

Could you please let me know, why we should not use '.' in move command, if we use it, is it something wrong.. Please share the details on it.

Code:
 
/home/rahualux/emp.csv /home/rahualux/details/employee_files/.

Or other example for mutlipile files

Code:
 
/home/rahualux/*.csv /home/rahualux/details/employee_files/.

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file command usage

Hi, i would like to determine how many shell scripts are in a directory. Someone recommended me the file command, but i don't know how to use it in that way. anybody??? Thanks!!! (8 Replies)
Discussion started by: kfad
8 Replies

2. UNIX for Dummies Questions & Answers

cksum command usage

Hi All, I am using cksum command in s script to check integrity of set of files transffred across the network. What are the advantages and disadvantages/limitations of this command? Is the byte count return reliable? What are the other alternatives I could use for this purpose? ... (2 Replies)
Discussion started by: Axis99
2 Replies

3. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. HP-UX

Glance command Usage

Hello We have used Glance command to check Cpu Uage , bit new to Glance command , HP-UXdev # glance B3692A GlancePlus C.03.71.00 18:21:16 nedunix2 9000/800 Current Avg High -------------------------------------------------------------------------------- CPU Util S SN NU | 43% 59%... (1 Reply)
Discussion started by: lukas_pise
1 Replies

6. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

7. Shell Programming and Scripting

Usage of prealloc command

hi please tell me the usage of prealloc command. (1 Reply)
Discussion started by: 2002anand
1 Replies

8. UNIX for Dummies Questions & Answers

sudo - command usage

Hi, I have few doubts regarding "sudo" command. It acutally allows access to other commands as a different user. It stands for "superuser do". Now, we execute a command as sudo su - oracle Can you please tell me what does it do actually, thank you. (6 Replies)
Discussion started by: Dev_Dev
6 Replies

9. Shell Programming and Scripting

cp -v command usage?

I am trying to output a log file from cp usage. I think this can be achieved. In my code I have this. cp -i -v ~/files/* ~/backups/oldfiles/;; > ~/logs/logfile.logThe error I get is "syntax error near unexpected token '>' What am I missing? (7 Replies)
Discussion started by: gameinn
7 Replies

10. UNIX for Dummies Questions & Answers

Sort command usage

I have one file like this: NEW /ifs/SQL_Backups3/SQL_SharePoint1 NEW /ifs/SQL_Backups/SQL_SharePointThis can be easily sorted by the following command: cat file| sort -k3,3nBut I have another file like this: /Pool0/local/Benchmark /Pool0/local/CRAD /Pool0/local/crdhw/espresso_scratch1... (5 Replies)
Discussion started by: newbie2010
5 Replies
scrolledcanvas(1)						  [incr Widgets]						 scrolledcanvas(1)

__________________________________________________________________________________________________________________________________________________

NAME
scrolledcanvas - Create and manipulate scrolled canvas widgets SYNOPSIS
scrolledcanvas pathName ?options? INHERITANCE
itk::Widget <- Labeledwidget <- Scrolledwidget <- Scrolledcanvas STANDARD OPTIONS
activeBackground background borderWidthcursor exportSelection font foreground highlightColor highlightThickness insertBorderWidthinsertOffTimeinsertOnTime insertWidth relief selectBackgroundselectBorderWidth selectForeground See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONS
closeEnough confine scrollRegion xScrollIncrement yScrollIncrement See the "canvas" widget manual entry for details on the above associated options. activeRelief elementBorderWidth jumptroughColor See the "scrollbar" widget manual entry for details on the above associated options. INHERITED OPTIONS
disabledForeground labelBitmap labelFontlabelImage labelMargin labelPos labelText labelVariable state See the "labeledwidget" class manual entry for details on the inherited options. WIDGET-SPECIFIC OPTIONS Name: autoMargin Class: AutoMargin Command-Line Switch: -automargin Specifies the autoresize extra margin to reserve. This option is only effective with autoresize turned on. The default is 10. Name: autoResize Class: AutoResize Command-Line Switch: -autoresize Automatically adjusts the scrolled region to be the bounding box covering all the items in the canvas following the execution of any method which creates or destroys items. Thus, as new items are added, the scrollbars adjust accordingly. Name: height Class: Height Command-Line Switch: -height Specifies the height of the scrolled canvas widget in any of the forms acceptable to Tk_GetPixels. The default height is 30 pixels. Name: hscrollMode Class: ScrollMode Command-Line Switch: -hscrollmode Specifies the the display mode to be used for the horizontal scrollbar: static, dynamic, or none. In static mode, the scroll bar is displayed at all times. Dynamic mode displays the scroll bar as required, and none disables the scroll bar display. The default is static. Name: sbWidth Class: Width Command-Line Switch: -sbwidth Specifies the width of the scrollbar in any of the forms acceptable to Tk_GetPixels. The default width is 15 pixels.. Name: scrollMargin Class: ScrollMargin Command-Line Switch: -scrollmargin Specifies the distance between the canvas and scrollbar in any of the forms acceptable to Tk_GetPixels. The default is 3 pixels. Name: textBackground Class: Background Command-Line Switch -textbackground Specifies the background color for the canvas. This allows the background within the canvas to be different from the normal back- ground color. Name: vscrollMode Class: ScrollMode Command-Line Switch: -vscrollmode Specifies the the display mode to be used for the vertical scrollbar: static, dynamic, or none. In static mode, the scroll bar is displayed at all times. Dynamic mode displays the scroll bar as required, and none disables the scroll bar display. The default is static. Name: width Class: Width Command-Line Switch: -width Specifies the width of the scrolled canvas widget in any of the forms acceptable to Tk_GetPixels. The default height is 30 pixels. __________________________________________________________________________________________________________________________________________________ DESCRIPTION
The scrolledcanvas command creates a scrolled canvas with additional options to manage horizontal and vertical scrollbars. This includes options to control which scrollbars are displayed and the method, i.e. statically or dynamically. METHODS
The scrolledcanvas command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? Option and the args determine the exact behavior of the command. The following commands are possible for scrolledcanvas widgets: ASSOCIATED METHODS
addtag bbox bind canvasx canvasy coords create dchars delete dtag find focus gettags icursor index insert itemconfigure lower move postscript raise scale scan select type xview yview See the "canvas" manual entry for details on the associated methods. WIDGET-SPECIFIC METHODS pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the scrolled- canvas command. pathName childsite Returns the child site widget path name. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the scrolledcanvas command. pathName justify direction Justifies the canvas contents via the scroll bars in one of four directions: left, right, top, or bottom. COMPONENTS
Name: canvas Class: Canvas The canvas component is the canvas widget. See the "canvas" widget manual entry for details on the canvas component item. Name: horizsb Class: Scrollbar The horizsb component is the horizontal scroll bar. See the "ScrollBar" widget manual entry for details on the horizsb component item. Name: vertsb Class: Scrollbar The vertsb component is the vertical scroll bar. See the "ScrollBar" widget manual entry for details on the vertsb component item. EXAMPLE
scrolledcanvas .sc .sc create rectangle 100 100 400 400 -fill red .sc create rectangle 300 300 600 600 -fill green .sc create rectangle 200 200 500 500 -fill blue pack .sc -padx 10 -pady 10 -fill both -expand yes AUTHOR
Mark L. Ulferts KEYWORDS
scrolledcanvas, canvas, widget Tk scrolledcanvas(1)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy