Hi,
I am using the below code to move *.sh files to another directory.
My requirement is i want to move *.sh,*.txt,*.xlsx,*.doc,*.pdf and *.epub files to the specified directory.
How i can specify the pattern in the while condition for achieving this?
Greetings,
I know i can use the mv command to move and rename one file. How can I do this with multiple files?
example
pic01.bmp to pic0001.bmp
how can i perform this function on an entire directory of sequential files and keep them in sequence?
Hints, suggestions are most welcome:)
... (1 Reply)
Hi All
I need to put a bunch of specific files in a directory (with loads of other files), into a tar archive. The best way I thought of doing this was putting the filenames into a file, reading them line by line in a for loop, and then adding them to a tar acrhive.
However the filenames have... (6 Replies)
The scenario is like this :
I need to read records from a file one by one and increment counter1, if a certain field matches with a number say "40"..the script should increment the counter2 and also extract a corresponding field from the same line and adding them one by one and redirecting the the... (5 Replies)
Hi,
I will use below command for grep single string ("osuser" is search string)
ex: find . -type f | xarg grep -il osuser
but i have one more string "v$session"
here i want to grep in which file these two strings are present.
any help is appreciated,
Thanks in advance.
Gagan (2 Replies)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Hello Guys,
I have a small loop problem as below.
I have 3 different values to be used while running the same script -
va1="some-value1"
va2="some-value2"
va3="some-value3"
Now I want to use these three variable values to be used for running the same command, like -
while... (1 Reply)
HI I have a list of files that are incorrectely names and I need to move them to new name .. I tried few things that has not worked so far can you help ?
I need to rename all thes eifle ( tere are over 100 )
xldn0357bap.orig.new
xldn0389bap.orig.new
xldn0439bap.orig.new... (12 Replies)
hdr=$(cut -c1 $path$file|head -1)#extract header”H”
trl=$(cut -c|path$file|tail -1)#extract trailer “T”
SplitFile=$(cut -c 50-250 $path 1$newfile |sed'$/ *$//' head -1')# to trim white space and extract table name
If; then # start loop if it is a header
While read I #read file
Do... (4 Replies)
Hello Team,
I am using the following awk script to calculate the SMA (Single Moving Average) for an specific period but now I would like to include the standard deviation output.
Could you please help me to modify this awk shell script
awk -F, -v points=5 ' { a = $2; ... (4 Replies)
Discussion started by: csierra
4 Replies
LEARN ABOUT DEBIAN
keynav
KEYNAV(1) General Commands Manual KEYNAV(1)NAME
keynav - a keyboard-driven mouse cursor mover
SYNOPSIS
keynav
DESCRIPTION
Keynav makes your keyboard a fast mouse cursor mover. You can move the cursor to any point on the screen with a few key strokes. It also
simulates mouse click. You can do everything mouse can do with a keyboard.
HOW TO USE
Run keynav, and activate it by pressing Ctrl+; (semicolon). You should see a thin frame on the screen with a cross in it.
Default configuration:
* h : select the left half of the region
* j : select the bottom half of the region
* k : select the top half of the region
* l : select the right half of the region
* Shift+h : move the region left
* Shift+j : move the region down
* Shift+k : move the region up
* Shift+l : move the region right
* Semicolon: move the cursor to the center of the selected region
* Spacebar : move the cursor and left-click
* Escape : cancel the move
CONFIGURATION
You can configure your own key setting. There is an example in /usr/share/doc/keynav/keynavrc. Copy it to $HOME/.keynavrc and edit it as
you like.
CONFFILE COMMANDS
* start : activate keynav
* end : deactivate keynav
* cut-left : select the left half of the region
* cut-right : select the right half of the region
* cut-up : select the top half of the region
* cut-down : select the bottom half of the region
* move-left : move the region left
* move-right : move the region right
* move-up : move the region up
* move-down : move the region down
* warp : move the cursor to the center of the selected region
* click 1 : left-click
* click 2 : middle-click
* click 3 : right-click
* doubleclick 1: left-click twice quickly
* doubleclick 2: middle-click twice quickly
* doubleclick 3: right-click twice quickly
* drag <button> [keyseq]: toggle dragging mode for the given button
Example: "drag 1 alt" to do a alt+click-drag
* grid <rows>x<columns> : change the grid layout of the selection
Example: "grid 2x3" to cut screen to 6 cells
* cell-select <row>x<column>: select a specific cell in the grid
* cell-select <cell> : select a specific cell in the grid
AUTHOR
keynav was written by Jordan Sissel <jls@semicomplete.com>.
This manual page was written by Wen-Yen Chuang <caleb@calno.com>, for the Debian project (but may be used by others).
KEYNAV(1)