Questions tagged [unix-shell]
130 questions
0
votes
3 answers
how to find the weblogic server start time in unix box
how to find the weblogic server start time in unix.
i have give ps -f | grep port number
but it is showing my current system time.
how to find this

Navadeep
- 1
- 2
- 2
0
votes
2 answers
What are best practices writing parallel startup scripts in Unix shell (ksh,bash)?
I have a piece of software with different components running on the same Unix machine (web server, DBMS, middleware, different daemons). Startup of the few components depends on the success of the start of the previous ones (like DBMS). Some of the…

Laura Połońska
- 3
- 1
0
votes
4 answers
how to compare the files data in 2 different unix boxes
i have one file which exists in 2 different unix machines.
how i can compare the data with in the file

Navadeep
- 1
- 2
- 2
0
votes
3 answers
install mysql on freebsd
How to install Mysql on freebsd , i have tried a lot but after i am getting lot many error so i have removed it , but now i want to reinstall it so , can anyone suggest me the link / commands to install it ?

rawman
- 13
- 3
0
votes
4 answers
Vim how to change the cursor from char block to pre pipe/line
Not sure what the terminology is for it but on Vim the 'cursor' is always like an insert/replace cursor instead of the blinking line cursor I'm used to in other gui editors. Is there any way to change this when in insert mode?

Derek Organ
- 591
- 1
- 10
- 20
0
votes
4 answers
direct file transfer via ftp to ftp
Hi i want to transfer few file (which is very big in size ) from A server to B server via
ftp.
I have credentials of Server A's ftp and Server B's ftp - server B is my own server running
unix.
so can anyone suggest me the way to direct transfer…

Hunt
- 1
- 1
0
votes
3 answers
Bash as default shell for Netware user
I am connecting to the Novell Netware (OES) server via ssh. It shows me default novell console. I want it to start bash automatically when I connect. How can I do this?

alex
- 5
- 1
0
votes
1 answer
Turn off colors in Netware console?
I'm looking for a method of changing colors in default Novell Netware (OES) console

alex
- 5
- 1
0
votes
1 answer
Wow, there is no way this is wrong. What is wrong?
I am going to put this out there first, this is my shell script homework. However, I am finished with my work. It is just not running properly for some reason. I already asked 2 game developer graduates and a few peers and no one could figure out…

Strawberry
- 1,132
- 4
- 15
- 27
0
votes
2 answers
How do I traverse the filesystem looking for a regex match?
I know this is teeball for veteran sysadmins, but I'm looking to search a directory tree for file contents that match a regex (here, the word "Keyword"). I've gotten that far, but now I'm having trouble ignoring files in a hidden (.svn) file tree.…

editor
- 383
- 2
- 5
- 21
0
votes
0 answers
Add mac address in rsyslog template
I am trying to add system/device mac address in syslog. No solution is working for me. Following command gives me mac address, just wanted to use in rsyslog template.
mac_addr=$(ifconfig en0 | awk '/ether/ {print $2}')
template
template(name="tpl3"…

sandip karanjekar
- 101
- 1
0
votes
1 answer
Change Ubuntu server password every 7 days and do autologin
am working on a scenario where i need to Change Ubuntu server password every 7 days and do autologin.
i tried with breaking the problem:
command to create user with password:
useradd -p $(openssl passwd -1 "krspassword") krs
than using the cron to…

user9990
- 1
0
votes
0 answers
Terminate ssh session on startup
Ssh session can be terminated within working window if there is some trouble on ssh server. Depending on the nature of the problem there is different way to do this:
If the server is not reachable ssh can be managed by regular shell keystroke like…

kab00m
- 498
- 3
- 10
0
votes
0 answers
how to make a shell execute with suid
I'm trying to suid a shell and it's not working. I need help understanding why, and how to fix it...
I'm following these steps (as root)
cp /usr/bin/bash /usr/bin/bash-emergency
chmod 4755 /usr/bin/bash-emergency
bash-emergency is owned by…

mikem
- 418
- 2
- 7
0
votes
1 answer
Taking input on remote vm
below is my use case , I have to take a input from a user for a specific command which need to run on a remote machine.But my problem is I am not able to access that machine directly so what I am doing
Ssh to othere server and from their I am doing…

Mohan
- 1