So both addresses are unambiguous. For what reason now would I need a
FQDN? Why wouldn't a domain name suffice?
Typically, I see it that a domain refers to an entity, whereas a FQDN refers to
a host or service within that entity. For your purposes the following sdhould
be sufficient:
Thanks for your feedback!
So both addresses are unambiguous. For what reason now would I need a
FQDN? Why wouldn't a domain name suffice?
What happens when you want/need to add another machine ?
I use the domain solely for private purposes and I will probably never
need more than two or thre
Hello,
in my understanding the /etc/hosts file should contain an entry with the
FQDN of the host.
123.123.123.123 hostname.domain.tld hostname
I would for simplicity prefer to use a domain name instead of a FQDN.
123.123.123.123 domain.tld hostname
In my DNS-configuration I can define an IP
Hello,
in my understanding the /etc/hosts file should contain an entry with the
FQDN of the host.
123.123.123.123 hostname.domain.tld hostname
I would for simplicity prefer to use a domain name instead of a FQDN.
123.123.123.123 domain.tld hostname
In my DNS-configuration I can define an IP-
If the files are all PDF, then pdftk can easily join them in another
PDF. For Postscript, they can easily be converted to PDF and then
joined.
I believe there was a KDE extension that allowed some pdftk
operations in an "easy" graphical way. But I do not remember in which
package it was.
> cd does not seem to do its thing when stdout is redirected to a pipe,
> however it does work with a (temporary) file:
>
> cd bad > cd.out 2>&1
> cat cd.out
> rm cd.out
I ultimately came up with this variant:
#!/bin/bash
LOG_FILE="/home/stefan/log/output.log"
TEMP_LOG="/home/stefan/log/temp.l
> >if I pipe the output of a cd command the working directory doesn't
> change.
>
> That's because all elements of a pipeline except the last are run in
> different processes to the main shell that starts the pipeline. As such,
> the cd command is running in a subshell which exits when cd exits. T
> cd does not seem to do its thing when stdout is redirected to a pipe,
Is this behaviour a bug or a feature?
Stefan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > ,
> > | $ cd ~/bin 2>&1 | tee -a output.log; pwd
> > | /home/stefan
> > `
> >
> > How come and how can I get this to work?
>
> Sorry, but I am not sure quite what you are trying to achieve. Maybe I
> am missing the point!
I want to change the working directory and if there is an err
Hello,
if I pipe the output of a cd command the working directory doesn't change.
,
| $ cd ~/bin 2>&1 | tee -a output.log; pwd
| /home/stefan
`
How come and how can I get this to work?
Stefan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Con
Hello,
if I pipe the output of a cd command the working directory doesn't change.
,
| $ cd ~/bin 2>&1 | tee -a output.log; pwd
| /home/stefan
`
How come and how can I get this to work?
Stefan
P.S. Sorry if this gets double-posted
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a
> Closing quotes are missing, but your script hopefully has them.
Yes, indeed ;)
> Because the exit status of the pipe is that of the last command, and tee
> has no reason to complain:
I was suspecting something like that, but unfortunately I had misinterpreted
the output of my debugging variat
Hello,
I have a bash script with trap, but the trap doesn't catch the error.
function handle {
echo "This should be reached
exit 1
}
trap handle ERR
ls nonexist | tee -a output.log
echo "This should not be reached"
outputs
ls: nonexist: No such file or directory
This should not be reached
How
Hello,
there are three files on my vps which contain the following data inserted by my
provider.
# /etc/hostname
lvps123-123-123-123.dedicated.hosteurope.de
# /etc/hosts
127.0.0.1 localhost localhost.localdomain
123.123.123.123 lvps123-123-123-123.dedicated.hosteurope.de lvps123-123-123-123
#
14 matches
Mail list logo