HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Some comand qns
Operating System - Linux
        1839913
        Members
    
    
        3367
        Online
    
    
        110157
        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
04-24-2003 12:03 AM
04-24-2003 12:03 AM
			
				
					
					
						1.How does one specify that some script is to be executed without creating a new subshell?
2.How does one ensure that a command uses only a certain amt of resources when it is executed?
3.How does one insulate a variable from any characters that may follow it?
4.How does one kill a process unconditionally?
5.What command can one use to prevent a file from being removed?
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
2.How does one ensure that a command uses only a certain amt of resources when it is executed?
3.How does one insulate a variable from any characters that may follow it?
4.How does one kill a process unconditionally?
5.What command can one use to prevent a file from being removed?
	hey
			
			
				Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 12:38 AM
04-24-2003 12:38 AM
Solution
			
				
					
					
						Hi Sophia,
I can answer 1, 3 and 4
1. either # . ./<script_name>
or
# exec ./<script_name>
3. use the following syntax for a variable:
${VARIABLE}
e.g. to echo the date into a file in your home directory:
# date > ${HOME}/date_file
4. use: kill -9
Cheers,
Trystan.
		
		
	
	
	
I can answer 1, 3 and 4
1. either # . ./<script_name>
or
# exec ./<script_name>
3. use the following syntax for a variable:
${VARIABLE}
e.g. to echo the date into a file in your home directory:
# date > ${HOME}/date_file
4. use: kill -9
Cheers,
Trystan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 12:42 AM
04-24-2003 12:42 AM
			
				
					
						
							Re: Some comand qns
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						ooo...u've been doin ur hw qn?
thanks....
		
		
	
	
	
thanks....
	hey
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 01:01 AM
04-24-2003 01:01 AM
			
				
					
						
							Re: Some comand qns
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
2. A programmer of a code can determine the amount of memory resources code can use. The CPU load exerted by the process is determined by the amount data fed to the process for manipulation or the speed of I/O operations or number of users connecting to that process ( network process ).
4. chattr +i myfile
Now even root cannot delete myfile. unless he gives this command and tries rm again
chattr -i myfile
regards,
U.SivaKumar
					
				
			
			
				
		
		
	
	
	
2. A programmer of a code can determine the amount of memory resources code can use. The CPU load exerted by the process is determined by the amount data fed to the process for manipulation or the speed of I/O operations or number of users connecting to that process ( network process ).
4. chattr +i myfile
Now even root cannot delete myfile. unless he gives this command and tries rm again
chattr -i myfile
regards,
U.SivaKumar
	Innovations are made when conventions are broken
			
			
				
			
			
			
			
			
			
		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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
