10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using,
#!/bin/bash
# main backup location, trailing slash included
backup_loc="/Volumes/Archive_Volume/00_macos_backup/"
# generic backup function
function backup {... (12 Replies)
Discussion started by: LMHmedchem
12 Replies
2. Shell Programming and Scripting
Hello All,
Here I am trying to login a Linux machine as admin user from a Solaris box..
& then switch to root user..
Code I use:
ssh admin@<IP> << END
su - root << A
echo "Hello I am logged in as root"
exit
A
exit
END
But the error I get..
su: must be run from a... (3 Replies)
Discussion started by: ailnilanjan
3 Replies
3. UNIX for Advanced & Expert Users
Hi,
In one of the circumstances, my manager asked my password and opened unix terminal (Putty) with my user credentials. Its been more than 2 days that terminal is opened (saw it through finger command). How do I close that terminal which is not opened in my pc. I'm very uncomfortable of the... (11 Replies)
Discussion started by: bobbygsk
11 Replies
4. OS X (Apple)
When I open terminal the user account name changes from my account name to "some-guy" ie this is what I see when I open it:
Last login: Sun Jun 5 15:27:51 on ttys000
some-guy:~ backupuser$
What does this mean please and how can I get rid of it? I dont have any blue tooth or anything in... (5 Replies)
Discussion started by: gravitate
5 Replies
5. Programming
i must close server after a specific user input, such as FINE, if i put a test inside function "maiuscolatore" i receive an error on second recv of client. why?
below there are code of client and server:
CLIENT:
#include <stdlib.h>
#include <stdio.h>
#include... (0 Replies)
Discussion started by: tafazzi87
0 Replies
6. UNIX for Advanced & Expert Users
Is there a trick to closing a mac terminal with a command? I would think you could just type exit into your terminal but that doesn't work. I also tried quit and close just for the hell of it and that didn't work either. Does anyone know what the command is? (1 Reply)
Discussion started by: cokedude
1 Replies
7. Shell Programming and Scripting
For a small script i want it so that the terminal closes when the script has completed its tasks.
To do so i use at the end if the script the following:
echo "Hello, World!"
echo "Knowledge is power."
echo ""
echo "shutting down terminal in 10 seconds"
exit 10
however the terminal stay's... (3 Replies)
Discussion started by: Ditzyken
3 Replies
8. OS X (Apple)
Can anyone tell me what the command(s) are for adding a new account through the terminal application in OS X? I've been looking around the man pages but can't find anything. (1 Reply)
Discussion started by: Straitsfan
1 Replies
9. Programming
can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies
10. What is on Your Mind?
Just a test thread. (0 Replies)
Discussion started by: Perdy
0 Replies