ksh
Pass wildcard to alias
I use a modifies list command as alias (in KSH): alias ltf=\'ls -lrt -d -1 $PWD/*\' So the command ltf displays something like this:[详细]
2023-02-26 19:38 分类:问答unix shell ksh: if statement won't execute both parts [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-26 07:24 分类:问答How to use GREP/other commands in UNIX for stripping head and tail records from a text file
I have a flat file as given below. How do I delete the header and footer from the file which header starts with \'H:\' and trailer starts with \'T:\' using UNIX shell script(KSH) and rewrite the rest[详细]
2023-02-25 17:54 分类:问答Unix ksh: multiple conditions in if statement, testing 3 variables at the same time
I am trying to test user input, basically var1, var2 and var3, needs to be in c1, c2,c3, c4, c5, c6, c7.[详细]
2023-02-25 08:03 分类:问答replace string rsubmit with * rsubmit
I have text files with lines like these: -------------------------- .... ... rsubmit; ........ ........ endrsubmit;[详细]
2023-02-22 07:06 分类:问答=: This is not an identifier
I am trying to set an environment开发者_开发问答 in a KornShell (ksh) scipt using export DB_URL = jdbc@xyz.com[详细]
2023-02-19 14:15 分类:问答Remote into Server
I want to remote into the KornShell (ksh) of a Unix server from a Windows box, I did this using perl and cygwin, is there another way of doing this and then after run several Unix commands from a text[详细]
2023-02-19 04:15 分类:问答How do I set an exit code from within a shell conditional?
I have the following: [root@alexandra SCB]# cat test_exit.sh #!/usr/bin/ksh if [[ -e \"test_exit.sh\" ]]; then[详细]
2023-02-17 05:33 分类:问答Running JAR file on AIX via KornShell script
I run the following command on my AIX machine. /usr/java6_64/jre/bin/java -jar myapp.ja开发者_JAVA百科r[详细]
2023-02-16 21:43 分类:问答How to exit multiple nested shells at once?
I have a host on which I don\'t have sudo. Its been setup with ksh, I\'m too used to bash and chsh doesn\'t work. So I put in a /bin/bash as the first line in the .profile on the system.[详细]
2023-02-16 02:59 分类:问答
加载中,请稍侯......