8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
I am a RH Linux admin that recently started working at a company with a number of SUN Servers so it's been an interesting transition.
Considering the last person left with very little documentation left behind so I have been picking up most issues half complete, or troubleshot.
... (7 Replies)
Discussion started by: MobileGSP
3. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
How can achieve that
a.) the leading "./" is omitted
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
4. Shell Programming and Scripting
I have line in input file as below:
My expected output for line in the file must be :
Can someone... (7 Replies)
Discussion started by: shis100
5. Shell Programming and Scripting
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
6. Filesystems, Disks and Memory
I analysed disk performance with blktrace and get some data:
8,3 4 2141 2.882115217 3342 Q R 195732187 + 32
8,3 4 2142 2.882116411 3342 G R 195732187 + 32
8,3 4 2144 2.882117647 3342 I R 195732187 + 32
8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
7. Shell Programming and Scripting
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
and dir2 contains
file6,... (9 Replies)
Discussion started by: swamymns
8. UNIX for Advanced & Expert Users
I am getting this error message (sh: No: not found) and I have no idea what line in my unix script its coming from or what it means. Can anyone help?
Cindy (2 Replies)
Discussion started by: cindytucci