- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Cron Schedule in Linux - issue with newline ch...
Operating System - Linux
1752795
Members
6222
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2011 05:24 PM
06-18-2011 05:24 PM
Re: Cron Schedule in Linux - issue with newline character
> [...] /bin/sh [...] on Linux is a symlink
> to /bin/bash.
Interestingly, this may be less true now than
it has been. On my Debian system, for
example:
debi# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 9 08:27 /bin/sh -> dash
debi# man dash
[...]
DESCRIPTION
dash is the standard command interpreter for the system. [...]
debi# ls -lL /bin/bash /bin/dash
-rwxr-xr-x 1 root root 1943176 Apr 10 2010 /bin/bash
-rwxr-xr-x 1 root root 232224 Dec 14 2010 /bin/dash
As you can see, "dash" is more compact than
"bash", making it a better choice where a
basic (stripped-down?) shell is desired (as
for non-interactive use).
debi# uname -a
Linux debi 2.6.32-5-mckinley #1 SMP Wed Jan 12 06:05:21 UTC 2011 ia64 GNU/Linux
debi# cat /etc/debian_version
6.0
Everything's complicated.
> to /bin/bash.
Interestingly, this may be less true now than
it has been. On my Debian system, for
example:
debi# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 9 08:27 /bin/sh -> dash
debi# man dash
[...]
DESCRIPTION
dash is the standard command interpreter for the system. [...]
debi# ls -lL /bin/bash /bin/dash
-rwxr-xr-x 1 root root 1943176 Apr 10 2010 /bin/bash
-rwxr-xr-x 1 root root 232224 Dec 14 2010 /bin/dash
As you can see, "dash" is more compact than
"bash", making it a better choice where a
basic (stripped-down?) shell is desired (as
for non-interactive use).
debi# uname -a
Linux debi 2.6.32-5-mckinley #1 SMP Wed Jan 12 06:05:21 UTC 2011 ia64 GNU/Linux
debi# cat /etc/debian_version
6.0
Everything's complicated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2011 11:06 PM
06-19-2011 11:06 PM
Re: Cron Schedule in Linux - issue with newline character
>Interestingly, this may be less true now than
>it has been. On my Debian system, for
>example:
>
>debi# ls -l /bin/sh
>lrwxrwxrwx 1 root root 4 Mar 9 08:27 /bin/sh -> dash
Hi Steven,
that's interesting news to me. I even haven't heard of "dash" yet.
Is it debian-specific? Because it of course the "d" sort of implies this.
Ah yes, it seems so
http://en.wikipedia.org/wiki/Debian_Almquist_shell
>it has been. On my Debian system, for
>example:
>
>debi# ls -l /bin/sh
>lrwxrwxrwx 1 root root 4 Mar 9 08:27 /bin/sh -> dash
Hi Steven,
that's interesting news to me. I even haven't heard of "dash" yet.
Is it debian-specific? Because it of course the "d" sort of implies this.
Ah yes, it seems so
http://en.wikipedia.org/wiki/Debian_Almquist_shell
Madness, thy name is system administration
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP