General :: Purpose Of Shebang In Scripts?

Oct 15, 2009

Can you explain me what is purpose of shebang in scripts? I have noticed that my scripts will run without shebang. i.e. When i save my crontab file it says that scripts will be executed in i.e. /bin/sh shell. So, what is the point if I put #!/bin/ksh at the start of script?

View 8 Replies


ADVERTISEMENT

General :: What Is Purpose Of Makefile In Nis Server

Aug 17, 2010

can anybody tell the use of make file in Nis server.

View 1 Replies View Related

General :: What Is Purpose Of Bash Scripting?

May 15, 2010

What is the purpose of bash scripting? Is it just for file manipulation?

View 4 Replies View Related

General :: What's The Purpose Of A Boot Partition?

Jan 17, 2010

I've always been confused about this issue of boot partitions. In the past when I install linux I usually have 2-3 partitions.

1. Main OS partition mounted on /
2. Storage partition mounted on /home
3. Swap partition

Why and when would I need to have a boot partition? Even if I dual boot two OSs, I just make one more partition for that other OS. So what's the purpose of a boot partition?

View 5 Replies View Related

General :: Purpose Of /etc/crontab File?

Jun 7, 2010

I attempted to run various cron jobs as root - just general server make-tidy stuff. But if I edit the /etc/crontab file directly, these tasks don't get run. However, if I use crontab -e as root, these jobs appear to work. Any idea why this might be the case? Also, I understand that user cron jobs are stored in /var/spool/cron/<user> (including root). If this is the case, what's the purpose of the /etc/crontab file?

View 5 Replies View Related

Ubuntu :: What's The General Purpose Compressing Format

Jan 14, 2010

I have a folder that may contain text documents, pictures, MP3s, video clips, all sorts of stuff. Supposing that, within reason, I'm not too bothered how long it takes to compress and uncompress them. And suppose I don't care if it's free or open source (well, has to be free as in beer). What's the best compression format/algorithm (whatever it is that I install in Synaptic and choose from the drop down menu in the compression tool) I should use?

View 9 Replies View Related

Ubuntu :: Best General Purpose Language To Learn?

Jun 19, 2010

The last time I wrote code for anything was about 15 years ago using Turbo Pascal. I would like to get back into it, most likely to create some mobile apps or enhance web sites. What is the best general purpose language to learn? And what is a good method for learning, preferably free?

View 1 Replies View Related

Ubuntu :: Creating A General Purpose Switch?

Apr 19, 2011

I want to create a general switch that I can use to send a signal to my ubuntu server when it is activated/deactivated. Here's an example: I want to know when a certain door is open, so I can have a switch closed when the door is closed and opened when the door is opened. When opened or closed, the computer will receive a signal and I can have some software intercept this signal and process it to my liking (i.e. ring a bell/text message me/email me/etc).

I know I will have to create a simple driver, software to make use of this signal, etc... I am willing to do whatever it takes to make it happen. I'm just wondering if anyone can point me in the right direction as far as which interface I should use to communicate with my server (i.e. usb, serial), which references I should read, and any personal experience you have with something like this...

View 3 Replies View Related

General :: Purpose Of Libc In An Operating System?

Jun 24, 2010

What is the purpose of libc in an operating system?

Is the libc is common for all OS or it is different for different OS!?

I mean source of libc build for RH is same for Ubuntu !?

View 2 Replies View Related

General :: Logrotate - Purpose Of Rotate And Postrotate?

Jul 10, 2010

I have been trying out in learning with logrotate command and logrotate configuration file )logrotate.conf custom logfile for an process is 'test.log'

Code:

#cat /etc/logrotate.d/test
/var/log/test.log {
rotate 4

[code]....

whenever the log file (test.log) exceeds 100M a new file will be created with the file name as test.'date'.'gz'(new file is created with a current date and in a compressed format of gz) and also with permission mentioned above). I really dont know what is the role of rotate( will this be carried on only for next 4times i mean upto 400MB; (4times*file reaches 100MB)? and also what could be the purpose of postrotate?

View 5 Replies View Related

General :: What's Difference And Purpose For Console And Terminal

Sep 21, 2010

I'm confuse about different beetwen console and terminal in linux system? And what purpose them for?

View 5 Replies View Related

General :: What Are Advantage Of Getting Into Single User Mode Or Its Purpose?

May 10, 2009

What good does getting into single user mode do?And what's the basic purpose of it , i.e is it maintaining purpose???

View 2 Replies View Related

General :: Editing Windows 7 Bootloader For Sharing Purpose

Oct 26, 2010

"Life has been made easier with all Microsoft systems, all versions of Dos and Windows, because each of them has to be installed in an active primary partition and so hence will always has a boot loader in the root partition." So if I already have Windows 7 installed (in a 100gig partition of a 1t hdd) how do I modify the windows booting process so that I can go on to create many additional partitions that will be used for linux distros?

View 7 Replies View Related

General :: What Is The Purpose Of Using Hard Links Instead Of Being A Shortcut To Some File

Mar 23, 2011

what is the purpose of using hard links instead of being a shortcut to some file ?

View 5 Replies View Related

General :: Unable To Block Downloading Od Mp3 Files And What Is Purpose "$" Ich At The End?

Apr 23, 2011

acl FILE_MP3 urlpath_regex -i .mp3$ http_access deny FILE_MP3. I HAVE SET THIS RULE; ACL rule in Squid to block downloading of .mp3 files

But I don't understand the purpose of "".mp3$ here the ""? even without it ("") I am able to block downloading od mp3 files and what is purpose "$" ich at the end?

View 4 Replies View Related

General :: Meaning / Purpose Of Using "~" Symbol In Scripting Language?

Sep 15, 2009

I would like to know the meaning or purpose of using "~" symbol in scripting language..The line is uri=~"sip:q@192.168.64.75"..

View 6 Replies View Related

General :: What Is The Purpose Of Having "/etc/shadow" File

May 15, 2010

we can save the users password in /etc/password file itself.then why a special file /etc/shadow is created to save the encripted password of users.

View 2 Replies View Related

CentOS 5 :: What Is RSA Key And Purpose

Jul 4, 2010

today when i tried to login into another host my network using ssh it gave me an error saying that the remote host RSA key has changed and i should remove the file .ssh/<idon't rememeber> from my home directory for loggin in and it also gave me the warning that somebody is doing something nasty, As far as i remember we only reinstalled the system that ip, but then after deleting the file .ssh when i put the root password to that system it says bad password, What is an RSA key and what is its purpose under what circumstances is the RSA key gets changed, does it get changed after reinstallation what can do nasty that can change the RSA key

View 1 Replies View Related

Red Hat / Fedora :: Whats Is A Purpose Of Kde Or Shall

Jan 9, 2010

Whats is kde or shall i say the purpose of kde.

View 9 Replies View Related

Ubuntu Multimedia :: Optimizing 10.04 For Hi Fi Purpose ?

Aug 24, 2010

I have just bought a digital-to-analog converter, this one to be exact, along with an amplificator and two speakers. I'd like to get the most of my Ubuntu, a good sound (what player can I use ?) and to know wether I need to do some extra changes in the kernel (OSS / PulseAudio / ALSA ?) or not.

I wonder if my converter will be detected when i plug it in, and if any sound from my computer will be leaded to it automatically ? (I'll have the converter tomorrow). I believe its purpose is to replace the sound card, to provide a greater, pure sound. The converter is linked by USB by the way.

View 4 Replies View Related

Ubuntu :: What Is The Purpose Of The Deb Mysql-client

Sep 29, 2010

[URL]

I just removed mysql-client after installing php5-mysql and my php is connecting to my remote server fine. What is the purpose of mysql-client? Is it a direct API for external servers?

[URL]

So it's basically /usr/bin/mysql that allows connection to external servers

View 1 Replies View Related

Security :: Single Purpose Ssh Key For Sshfs?

Mar 6, 2010

I'm wondering if anyone can give me some guidance, or point me to a relevant reference for setting up a single purpose ssh key.I have setup a single purpose key for rsync, where I have command="/path/to/rsync-secure" associated with the public key in .ssh/authorized_keys, and the rsync-script checks to make sure incoming commands begin with 'rsync --secure', What I would like to do is do something similar to allow sshfs access, and have the server path that can be mounted locked down to a particular location. Does anyone have any suggestions as to how this could be done?As an aside, I might also want to restrict the above rsync script to only allow synchronization to a particular path.

View 1 Replies View Related

Server :: Purpose Of Fetchmail And Postfix?

May 26, 2011

using these fetchmail and postfix for fetching mail and sending mail ...... Instead of using incoming and outgoing like smtp and pop3 in outlook , why we use fetchmail and postfix mail server in linux and forward this to local windows client Outlook ..

View 1 Replies View Related

Debian Multimedia :: Use Commandline Audioplayer For Which Purpose?

Nov 17, 2010

Any commandline audioplayer I might not have heard before? Which one do you use? I just started using Moc [URL]

View 12 Replies View Related

Ubuntu :: Best Practices For Multi Purpose Usb Boot

May 15, 2011

I am in the process of creating a USB multi boot with a variety of utilities for working on pc's as well as multiple distributions for testing via live use and for installation. From what I've found YUMI is the tool to use to create this. Is that right or does anyone have a better tool to use? As long as YUMI is the best tool, does anyone have any best practices to pass on? I'm thinking of relating to casper-rw, preventing any fragmentation issues and etc. Anything else to be thinking of as I create this would be very much welcomed. I'm planning to start with a 16GB stick but I'm curious about how much space others are finding they need. I don't know if 16GB is way high or low.Anyway, what all can you pass on to me and others in the forums about planning for and using a multi boot usb.

View 2 Replies View Related

Software :: Purpose Package Imedia Imp Extension?

Jul 26, 2010

What is the from purpose package imedia linux imp extension ??

View 1 Replies View Related

Software :: Purpose Of SCSI Emulation For IDE Devices?

Jan 23, 2010

What is the purpose of SCSI emulation for IDE devices?

View 2 Replies View Related

Programming :: Is Java Free For Use For Business Purpose

Dec 28, 2010

I learned Java(SE,EE) few years ago and didn't use it because we are using PHP and ASP.NET at work.However, I would like to ask a question: Is Java (SE,EE) free for use for business purpose?I mean,if I start up a company and use tomcat with java, do I have to pay for the license to use Java?I don't know much about java license until I learned that ASF(Apache Software Foundation) quited from the Java Community recently.As a result,they recalled my attention regarding the legitimacy of using java in business purpose for free.

View 9 Replies View Related

CentOS 5 :: Purpose Of Fs.file-max In /etc/sysctl.conf?

Jul 29, 2010

On a production Centos 5.3 system, I want to raise the hard & soft limits of open file handles from 1024 -> 8192 (not a "biggie", I'd think) Right now, "sysctl -a | grep file" shows fs.file-max=463144 (a default, I'd guess) I'm guessing file-max is the maximum number of open file handles on the system, vs the per-user limits seen with "ulimit -Hn" and "ulimit -Sn". Right? If so, I shouldn't think I'd have to touch this on a server with few users.

Also, after doing a lot of reading, I still don't understand the mentions of needing to also add: "session required pam_limits.so" to /etc/pam.d/loginor adding "session required /lib/security/$ISA/pam_limits.so" to /etc/pam.d/system-auth Maybe I've gotten off into the deep weeds in goggling about raising file handle limits.

View 1 Replies View Related

Hardware :: Bios Recognition Of Usb Drive For Booting Purpose?

Jul 10, 2010

I have an HP motherboard w/P4 with 40 GB disk another Maxtor 500GB Hard disk on the usb. Problem: On start up with device selection for booting, my pen drive always gets listed as USB HDD0 and USB HDD1 and Iam able to boot thru' them. However my Maxtor HDD in the first partition of which I have installed FC 13 after much pain,so as to not disturb my existing installation FC 11 in internal drive. This device itself is not visible, nothing to have to say about its partitions in bios list of devices to select. Whether this is a drive related problem or bios related. How may I make it visible in bios list.

Further note: Fedora core 13 installation didn't worry about the windows XP and Fedora 11 installation in main drive. It allowed for installation of the individual boot loader in the installation drive itself.

Bios not recognising this drive precluded access at boot from grub.conf of the exising FC 11 installation too.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved