Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: sbw1
117,991
Posted By sbw1
...Or if you're using ksh, the command >...
...Or if you're using ksh, the command

> /tmp/the-file-I-want-nothing-in.txt

will create a null file.
117,991
Posted By sbw1
Or, you could enter on line one: dG and...
Or, you could enter on line one:

dG

and that would delete to the end of the file.
4,366
Posted By sbw1
Also, you can use vgcfgbackup and vgcfgrestore to...
Also, you can use vgcfgbackup and vgcfgrestore to back up and restore LVM configuration information for volume groups.
19,536
Posted By sbw1
I am runnig Solaris 5.6 and using the command...
I am runnig Solaris 5.6 and using the command line. The tr command is in /usr/bin.
# echo "-777" | tr '\-rwx' 0421
0777


I also got this to work taking dashes into consideration. The...
19,536
Posted By sbw1
This worked for me: #echo "rwx" | tr rwx 421...
This worked for me:

#echo "rwx" | tr rwx 421
421
Showing results 1 to 5 of 5

 

Featured Tech Videos

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