Search Results

Search: Posts Made By: PxT
Forum: OS X (Apple) 09-25-2008
4,103
Posted By PxT
It is this command: ln -s text.txt test ...
It is this command: ln -s text.txt test


It creates a link (by default named text.txt because you didn't specify) in the test directory, pointing to text.txt.

If you tell us what you are...
Forum: OS X (Apple) 09-25-2008
4,623
Posted By PxT
You can download Xcode from Apple Developer...
You can download Xcode from Apple Developer Connection - Developer Tools and Technologies - Developer Tools (http://developer.apple.com/technology/tools.html)
Forum: OS X (Apple) 09-19-2008
5,056
Posted By PxT
Which version of the OS are you running? Upgrade...
Which version of the OS are you running? Upgrade to the latest rev of Leopard (10.5) if you can, it does a pretty good job of not starting unnecessary processes. Are you running the Server version...
Forum: OS X (Apple) 09-19-2008
7,079
Posted By PxT
What is the bug you are trying to work around?
What is the bug you are trying to work around?
Forum: OS X (Apple) 08-12-2008
5,839
Posted By PxT
What does it mean to be "off axis"? Can you...
What does it mean to be "off axis"? Can you describe the problem in more detail?
Forum: OS X (Apple) 08-12-2008
10,461
Posted By PxT
Run 'mailq' to see what's currently in the queue....
Run 'mailq' to see what's currently in the queue. Run 'sudo postcat -q <message_id>' to see the contents of a particular message. That should help you diagnose where they care coming from. If they...
Forum: OS X (Apple) 01-21-2008
15,549
Posted By PxT
Use the 'defaults' command which is included with...
Use the 'defaults' command which is included with the OS, or the GUI Property List Editor which comes with the Developers toolkit. If you are on Leopard there is also a tool called PlistBuddy.
7,010
Posted By PxT
Please show us what you have so far and somebody...
Please show us what you have so far and somebody may be able to provide a suggestion.
3,437
Posted By PxT
Print the second line: perl -ne 'print if 2..2'...
Print the second line:
perl -ne 'print if 2..2' $file

Print lines 2 to 10:
perl -ne 'print if 2..10' $file

etc.
2,951
Posted By PxT
You don't specify which version or distribution...
You don't specify which version or distribution of Linux you are running. Many newer releases will read NTFS partitions, however the default Linux filesystem in most cases is ext3. You should...
4,707
Posted By PxT
Only print lines matching the pattern: perl...
Only print lines matching the pattern: perl -i.old -ne 'print if /pattern/' file

-i tells perl to modify a file in-place, -i.old or -i.bak or whatever you like, tells perl to make a backup first...
10,276
Posted By PxT
I'm sure there are many ways to do it. One would...
I'm sure there are many ways to do it. One would be to watch the MD5 of the file, and send a mail when it changes.

ORIGMD5=`crontab -l | md5sum`

while ( true )
do
NEWMD5=`crontab -l |...
18,350
Posted By PxT
Check the list of ANSI escape codes here:...
Check the list of ANSI escape codes here: http://www.bluesock.org/~willg/dev/ansi.html

You just need to "echo" the appropriate codes to the screen. Note that any other command/program which uses...
44,851
Posted By PxT
$ FOO="bar > " $ echo "$FOO" bar $...
$ FOO="bar
> "
$ echo "$FOO"
bar

$ BAR=$FOO
$ echo "$BAR"
bar

$ BAR=`echo $FOO`
$ echo "$BAR"
bar
$



In other words, "echo" will chomp it when used without quotes.
Forum: SuSE 11-17-2004
206,367
Posted By PxT
Here's a fun one. Some big iron from IBM (no, I...
Here's a fun one. Some big iron from IBM (no, I don't own this machine)


$ uname -a
Linux raptor 2.6.8-1-s390x #1 SMP Wed Sep 15 15:36:34 CEST 2004 s390x GNU/Linux


$ cat /proc/cpuinfo...
Forum: Linux 11-17-2004
7,049
Posted By PxT
Re: dhcpd.conf
is that really what it contains or was that a typo? There is one too many 192's in there.
Forum: Programming 11-17-2004
2,968
Posted By PxT
See the man pages for profil(2) and monitor(3c)
See the man pages for profil(2) and monitor(3c)
1,984
Posted By PxT
Which version of Debian are you using? 2.2.19 is...
Which version of Debian are you using? 2.2.19 is not a valid release number (2.2 is, but that is *long* since outdated). The command

cat /etc/debian_version


will display your version...
8,157
Posted By PxT
Works fine on my Solaris 8 machine. Perhaps your...
Works fine on my Solaris 8 machine. Perhaps your font doesn't support those characters so they are not being displayed properly? The file itself should have no problem containing those characters.
4,146
Posted By PxT
AIUI, programs like cpudyn, cpuspeed, etc help...
AIUI, programs like cpudyn, cpuspeed, etc help increase your battery life by reducing your processor power draw (speed) when not performing cpu-intensive tasks. You probably don't want to skip that...
2,506
Posted By PxT
Why not do something like: ...
Why not do something like:



$length=`cat $file | wc -c` # use cat to get only the byte count
if [[ $length -gt 361 ]]
then
awk '{print substr($0,0,361) FILENAME "BATCHID"...
4,352
Posted By PxT
The $? variable always holds the return value of...
The $? variable always holds the return value of the previous command.
Forum: HP-UX 07-14-2004
4,926
Posted By PxT
A C3000 should work ok (See...
A C3000 should work ok (See http://www.pateam.org/list.html). What is the specific error message?
4,077
Posted By PxT
One word: Firewall
One word: Firewall
13,297
Posted By PxT
You can use 'mkdir' within sftp. Just create the...
You can use 'mkdir' within sftp. Just create the directory each time. If it exists you will get an error -- you can safely ignore it and proceed to transfer...
Showing results 1 to 25 of 500

 
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy