Search Results

Search: Posts Made By: PxT
Forum: OS X (Apple) 09-25-2008
2,963
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
3,756
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
4,013
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
5,981
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
4,092
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
9,308
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
14,242
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.
6,657
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,100
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,520
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,457
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...
9,812
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 |...
17,585
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...
42,815
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
154,740
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
6,297
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,781
Posted By PxT
See the man pages for profil(2) and monitor(3c)
See the man pages for profil(2) and monitor(3c)
1,722
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...
7,813
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.
3,850
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,279
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"...
3,955
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,260
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?
3,705
Posted By PxT
One word: Firewall
One word: Firewall
12,486
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 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy