![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| running commands from outside of bash | rakabarp | Shell Programming and Scripting | 3 | 03-13-2008 06:40 AM |
| Problem running plsql & unix commands in 1 script | siog | UNIX for Dummies Questions & Answers | 5 | 10-05-2006 10:46 AM |
| Running shell scripts automatically without using Batch or at commands | ritzwan0 | Shell Programming and Scripting | 3 | 09-17-2006 02:51 PM |
| Problem in running shell script | gammit | UNIX for Dummies Questions & Answers | 6 | 09-11-2006 01:42 AM |
| Machine running out of RAM | Esaia | Linux | 2 | 03-10-2006 03:34 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Problem in running bash shell commands on HP-UX machine
Hello All,
After login to the server we are explicitly calling /usr/local/bin/bash to activate bash shell properly. But since commands are not executing properly so I think it is not initialized well. I am facing following problems: 1) If I want to have a look on a particular file using tail command say last 20000 lines i.e. tail -20000 file.txt , it is not working it is showing me the default number of lines. On the other hand tail -f file.txt is working fine(Basically for logging info.) 2) On pressing the up arrow key button(get the previous command from bash_history) and display the commands but it is not happening at all. Also if I press down arrow key button and then press up key button it show me the previous command but in vi mode. Please suggest me the way. Thanks & Regards Abhishek |
|
||||
|
Thanks for the quick response.
How can I set $TERM properly? Also be specific I am facing 2 problems : 1) I am not able to use tail properly. (Exactly I need last 25000 lines of a line and tail -25000 filename.txt is giving me default number of lines) 2) On pressing up arrow key the last command executed should be displayed which is not happening. Also which tail is giving me the following output : /usr/bin/tail Please suggest me the way I can do these. |
|
||||
|
Quote:
alias Last edited by sb008; 02-15-2008 at 04:19 PM.. |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|