Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Why do basic unix commands not work in BASH Post 302074214 by jsandova on Sunday 21st of May 2006 08:56:30 PM
Old 05-21-2006
What do you mean by BASH mode? Are you using a BASH shell? If so ls works in BASH just as any other basic command.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix basic commands

I need a sheet with the basic unix commands , and commands for VI editor. Does anyone know where i can get them. (3 Replies)
Discussion started by: Peter Spellman
3 Replies

2. Windows & DOS: Issues & Discussions

Basic Unix Commands for cygwin

Hi. I'm New user for this Forum.Presently i'm working with Cygwin I want to know the basic commands that will be used for Cygwin. Can anyone guide me on this regards Thanks & Regards Sanjay (0 Replies)
Discussion started by: sanjay.karthik
0 Replies

3. UNIX for Dummies Questions & Answers

how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS

how do I make my arrow keys behave like they are on DOS. ALSO i need editing on command promt like it is on DOS on my UNIX prompt can anyone help pl.. (11 Replies)
Discussion started by: spotnis
11 Replies

4. UNIX for Dummies Questions & Answers

Vi editor basic commands

I would be thankful if anyone could show me commands to do the following tasks in vi:1) How can I undo or redo my last action in vi editor. 2) How can I copy only a word or a portion of line (not the whole line) in vi, like we can select text and press ctrl+c in notepad to copy any text. 3)... (4 Replies)
Discussion started by: nervous
4 Replies

5. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

6. UNIX for Dummies Questions & Answers

Help with basic command that will not work

I need to be able to look up a file system with the inode number 214743 and, get its absolute reference in a single line... I have tried.. "find / -inum 214743 -print" (1 Reply)
Discussion started by: blankets3
1 Replies

7. UNIX for Dummies Questions & Answers

Basic Unix bash script help

Hello there Been using Unix bash scripting for two days now so am very new to this. I am currently doing a project now and i'm basically making a noughts and crosses game (or tic tac toe). I have created the board using an array. When I try and check to see if the array is empty using an If... (3 Replies)
Discussion started by: ChrisHoogie
3 Replies

8. UNIX for Advanced & Expert Users

New To Unix- Need Help With Bash Commands for Printing

Urgent Help - I have a problem, I need to know how to print a count of files from a specific date that passed and that failed. Additionally, print the name of the files located on the date, print a list of all dates during which a file with a name like 'test' was processed, and then determine... (5 Replies)
Discussion started by: AJ 49er
5 Replies

9. Programming

Using basic UNIX commands to make/compile JAVA files

Hello! This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command. For some... (5 Replies)
Discussion started by: UNdvoItX
5 Replies

10. UNIX for Beginners Questions & Answers

Saltstack commands inside bash scripts donā€™t work

In a Redhat Linux environment, I could run salt commands on the $ prompt but not inside my bash scripts. It will say command not found and the $PATH variable is exactly the same outside and inside the script. !#/usr/bin/bash echo “running”¯ salt "*" cmd.run ‘ls' exit Output:-... (8 Replies)
Discussion started by: gurudewa
8 Replies
win(1)							      General Commands Manual							    win(1)

NAME
win - Terminal emulator SYNOPSIS
win [-v] [-t name] [command [argument ...]] address OPTIONS
-v If the -v option is present, win prints its version number and date and exits. -tname If the -t option is present, win uses +name as the final part of the tag name of its window. DESCRIPTION
win must be able to connect to a running wily(1). win attaches to a window. If the -t option is present, the final part of the tag name is name. If command is present, the final part of the tag name is +command. Otherwise, the final part of the tag name is +win. The first part of the tag name is the current working directory. win runs a program in a child process. The child process is the leader of a process group and is connected to win by a pseudo-terminal. If command is specified, the child process runs $SHELL -c 'command argument ...' otherwise it runs $SHELL -i If SHELL is not found in the environment, /bin/sh is used. TERM=win is placed in the environment of the running program. Output from the running command appears in the window. The point after the last output from the running command is known as the output point. Further output from the running command appears just before the output point. The output point is initially at the end of the win- dow. Normal wily editing commands work in the window. When a newline, interrupt character, or end-of-file character is created after the output point, the text between the output point and the last newline, interrupt character, or end-of-file character in the window (inclusive) is passed to the running program as input. The interrupt character is control-C and the end-of-file character is control-D. The pseudo-terminal initially is configured so that these are recognized with their normal meanings. The B2 commands beginning with the |, <, or > characters or an upper case letter are executed normally by wily. Other B2 are first termi- nated with a newline, if they are not already, and are then appended to the buffer (and thereafter passed to the running program). RETURNS
win returns zero if it is able to successfully create the child process, otherwise it returns non-zero. EXAMPLES
Run a terminal emulator within wily win Run FTP within wily win ftp Run rlogin within wily win -t host.domain rlogin -8 host.domain SEE ALSO
wily(1) Tag(1) Man(1) BUGS
win doesn't follow changes to the terminal attributes. In particular, there is no way to stop echoing or to change its concept of the interrupt and eof characters. rlogin seems to need -8 and, annoyingly, sets echo and onlcr. The latter can be fixed in your .rcrc: if ( ~ $TERM win ) { stty -echo -onlcr } win doesn't follow changes to the terminal attributes. In particular, there is no way to stop echoing or to change its concept of the interrupt and eof characters. WEdestroy messages aren't yet passed by wily. Thus, Del and Delcol can delete the window yet leave win running. There is a race condition; the user can press newline and then delete text before win has a chance to read it. AUTHOR
win was originally written by Gary Capell (gary@cs.su.oz.au). Alan Watson (alan@oldp.nmsu.edu) rewrote it and added support for arguments, pseudo-terminals instead of pipes, and execution of certain B2 commands by wily. The pseudo-terminal support in 9term, written by Matty Farrow (matty@cs.su.oz.au), was a great help. 1R1.1L1 of 1D1 win(1)
All times are GMT -4. The time now is 03:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy