05-02-2007
Equivalent command for setlocal in Unix
Hi all,
Is there any command in unix equivalent to setlocal in windows.
setlocal command is really useful in restoring local environment variables in windows.
Thanks,
Sonal.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
To all experts, I need some advice on how I can enter a unix command which is equivalent to the action of minimizing/maximizing an active xterm window. How can I do this (i) when control is in the active xterm window to be minimized/maximized , & (ii) when control is in a xterm window which runs... (0 Replies)
Discussion started by: icemocha75
0 Replies
2. UNIX for Advanced & Expert Users
I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (1 Reply)
Discussion started by: anjan_kumar_k
1 Replies
3. Programming
I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (2 Replies)
Discussion started by: anjan_kumar_k
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a shell variable which has a value 123456:abcdeg. I want to extract the value which is present before ":". Is there any command in Unix through which I can achieve this. Please suggest.
Thanks,
Saurabh (7 Replies)
Discussion started by: saurabhsinha23
7 Replies
5. Shell Programming and Scripting
In Windows we use cmd.exe \c as the command SHell
What is its equivalent in UNIX ?
Thanx for all your help. (10 Replies)
Discussion started by: simonsimon
10 Replies
6. Windows & DOS: Issues & Discussions
In Unix I can use command line to do a find for files older than so many days and remove them. I can also capture the date to see if its a saturday and do something different. Are there any dos/intel command line equivalent commands to do this on a windows 2003 server? This is from an... (6 Replies)
Discussion started by: MizzGail
6 Replies
7. Shell Programming and Scripting
Hi Can any one please let me know which will be the PHP equivalent of the below Unix statement,
curl -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H "X-JaskUid:111" -X POST "www.google.com/res"'Thanks in advance!!
... (0 Replies)
Discussion started by: vidhyaS
0 Replies
8. AIX
i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies
9. Windows & DOS: Issues & Discussions
Hi,
The title of this post is a little vague but I couldn't think of what to call it.
In Unix you can perform the following command
ftp -v IPADDRESS <<END
put FILE
END
In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does?
So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
10. Shell Programming and Scripting
I have a folder called "log" which has a few sub-folders say "fda" "fd7" "fdd" "fd6 .... "
I wish to fire the below command inside each subfolder starting with the folder with the latest time stamp.
grep "$greptime.*exit" Prod.$(hostname).log | grep $fdrdate_new
If the seach did not yield... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
wincommand
WinCommand(1x) AfterStep X11 window manager WinCommand(1x)
NAME
WinCommand - AfterStep module for choosing and manipulating windows based on patterns
CONFIGURATION OPTIONS
DESCRIPTION
WinCommand is a command line tool which allows you to select windows based on their name and to then manipulate them in various ways.
Actions currently supported are: "center", "center jump", "iconify", "jump", "kill", "move", "resize" and "sendtodesk".
DEFAULTS
The default pattern is "", meaning all windows will be selected.
All other default-values depend on the action you would like WinCommand to take. If more than one action is specified, default-values are
set depending on the last action specified.
ACTIONS
center
Place matching windows into the center of the screen.
center jump:
Places first window that matches into the center of the screen and jumps to it.
iconify:
Iconifies matching windows.
jump:
Jumps to the first window which matches.
kill:
Kills all matching windows.
move:
Moves all matching windows to x/y. x and y are specified using the -x and -y flags.
resize:
Resize all matching windows. The two parameters width and height are specified using the -width and -height flags.
send_to_desk:
Send all matching windows to desk specified with the -new_desk flag.
OPTIONS
-all
Operate on all windows which match the given pattern. This is set by default unless the action is either "jump" or "center jump".
-alldesks
Windows on all desks will be taken into account. This is set by default if action is either "jump" or "center jump".
-desk
Windows on the whole desk will be taken into account.
-x/-y
These are required when issuing the move-command.
-width/-height
These are required whenever you want to resize windows.
Examples WinCommand -pattern term iconify
This command will iconify all terminals. Since the specified pattern is a regular expression, something like this also works:
WinCommand -pattern "(term)|(moz)" iconify
This will iconify all terminals and mozilla-browser windows.
WinCommand -pattern xmm jump
will jump to your xmms. In this situation, it's far more advisable to use GWCommand though.
It is probably not a good idea to delete windows while windows are being arranged.
3rd Berkeley Distribution AfterStep v.2.2.11 WinCommand(1x)