Questions tagged [unix-shell]

124 questions
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
  • 581
  • 1
  • 9
  • 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,112
  • 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
  • 373
  • 1
  • 5
  • 20
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
0
votes
2 answers

Remove parts of a path using parameter expansion... but how?

I need to remove the part man1/bmtoa.1.gz from the full path /usr/share/man/man1/bmtoa.1.gz so that it results in /usr/share/man/ I've tried ${path#[!/]*/*} and ${path#/*/*} but both result in wrong paths.
Trollhorn
  • 203
  • 3
  • 9
0
votes
1 answer

My Server is sending malicious SSH requests

I am facing weird issue on my server (Unix). There are couple vendors reported me that my server is sending malicious requests to their server by using SSH Protocol. I have already checked the system logs under /var/log but didn't get anything…
sumit vedi
  • 11
  • 1
0
votes
2 answers

Bash & blocking processes

Could you help me with the Bash syntax to achieve the following? Run a blocking process without blocking execution of the rest of the script. Run a standard "non-blocking" process (e.g. lsof). "Rejoin" the blocking process so that ^C will stop that…
xyz
  • 501
  • 1
  • 7
  • 13
0
votes
2 answers

What if I want to delete files that are not accessed for a few days in unix?

What if I want to delete files/folders that are not accessed for a few days in Unix? Say there are some files that were last accessed 5 days ago in a particular location. I want to delete those. What is the shell command for that?
-1
votes
2 answers

bash script to detect when a file is added to folder and command exec

I am trying to write a script to detect whenever a file is added to a specific folder and run a command using the last file added name. What I am specifically trying to do is to create a QR code for each file I add in a specific folder. So what I…
BashN00b
  • 13
  • 1
  • 4
-1
votes
1 answer

What file is in every unix login?

I was asked that question and to be honest not sure if I understood that. I would say shell but instead of shell we can run any other program so ... any idea by unix gurus?
Radek
  • 1,133
  • 4
  • 26
  • 38
1 2 3
8
9