- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux tar and inittab questions
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
10-18-2004 12:36 AM
10-18-2004 12:36 AM
Linux tar and inittab questions
I'm a Linux newbie, anyone please help me on the question below:
Question 1 : Which switches should I used with the tar command to find out
the different between two tar files?
Question 2 : Do changes to the inittab file require a reboot in order to
take effect?
Thank you.
GOH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 12:52 AM
10-18-2004 12:52 AM
Re: Linux tar and inittab questions
Below is the link which has a lot of details about tar
http://www.delorie.com/gnu/docs/tar/tar_toc.html
Regarding inittab file if you make a change on it you can do a init q ,this will re-read the inittab file, no reboot is required.
Rgds
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 01:12 AM
10-18-2004 01:12 AM
Re: Linux tar and inittab questions
Question 1
I think there is no such option.
You can only find differences between archive and file system with option
tar -df your.tar directory
Question 2:
you have to re-examine /etc/inittab.
It is done by init q command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 01:15 AM
10-18-2004 01:15 AM
Re: Linux tar and inittab questions
2. Boot order is affected by the simple ascii sort of the soft links in /etc/rc.#
first rc.0 then rc.1 etc. Change the order of those thinks alphabettically and you change the boot order on your machine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 01:36 AM
10-18-2004 01:36 AM
Re: Linux tar and inittab questions
# tar -tvf file1.tar > file1_tar_content
# tar -tvf file2.tar > file2_tar_content
# diff file1_tar_content file2_tar_content
2. There lots of different ways to tell init to re-examine the /etc/inittab file. For example:
telinit q
telinit Q
init q
init Q
kill -HUP 1
kill -1 1
...
HTH,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 01:38 PM
10-18-2004 01:38 PM
Re: Linux tar and inittab questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 12:36 AM
12-19-2004 12:36 AM