HPE GreenLake Administration
Operating System - Linux
1828278
Members
3474
Online
109975
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
12-03-2003 01:14 AM
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 01:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:14 PM
12-03-2003 08:14 PM
Re: Samba
...or
/etc/init.d/smb stop
to stop it.
To do it permanently: use chkconfig to automatically edit the symlinks in /etc/rc.d/rc3.d and /etc/rc.d/rc5.d. For instance
chkconfig --level 35 smb on
makes the symlink /etc/rc.d/rc3.d/S91smb and /etc/rc.d/rc5.d/S91smb indicating smb should be runnnig in runlevel 3 and 5. Try
chkconfig --del smb
to remove it completely (it does not give you feedback, so verify that the file /etc/rc.d/rc3.d/S91smb is removed)
/etc/init.d/smb stop
to stop it.
To do it permanently: use chkconfig to automatically edit the symlinks in /etc/rc.d/rc3.d and /etc/rc.d/rc5.d. For instance
chkconfig --level 35 smb on
makes the symlink /etc/rc.d/rc3.d/S91smb and /etc/rc.d/rc5.d/S91smb indicating smb should be runnnig in runlevel 3 and 5. Try
chkconfig --del smb
to remove it completely (it does not give you feedback, so verify that the file /etc/rc.d/rc3.d/S91smb is removed)
poi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:23 AM
12-04-2003 11:23 AM
Re: Samba
The feedback it gives is in it's exit state (echo $?). 0 = success, 1 = failure.
This is the case for most Unix based commands..
For instance, you can do freaky stuff like:
if ! grep -q ThisString /tmp/this.file
then
echo "ThisString does not exist in /tmp/this.file"
fi
etc. etc.. Truely almost limitless options.
Makes for *fun* shell scripting *grin*
This is the case for most Unix based commands..
For instance, you can do freaky stuff like:
if ! grep -q ThisString /tmp/this.file
then
echo "ThisString does not exist in /tmp/this.file"
fi
etc. etc.. Truely almost limitless options.
Makes for *fun* shell scripting *grin*
One long-haired git at your service...
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP