10-31-2008
Thanks a lot Gurus (masters)... :-) , I really learnt a lot from this small topic once again thanks for sharing the info.
I have a quick question again ;-)
I have the following script in my $HOME :
alias l='ls -lai'
EDITOR=emacs # This is my fave editor
alias c='clear'
clear
alias x='exit'
when I type
$ oslevel -r command - I get the result but with the screen cleared
but when I use with sudo , I have no issues
$ sudo oslevel -r ....... i get the result at the next line......
anything wrong in the .kshrc profile
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
can anyone tell me how to save a file from command line?
Any help appreciated. (2 Replies)
Discussion started by: hufs375
2 Replies
2. Programming
Hello! I have a problem:
I compile some function, which must save file:
=====================
// prog.cpp
void save_file(){
FILE *fs = fopen("file.txt", "w");
if(!fs) cerr<< "cannot save";
fprintf(fs, "This is a text file.");
fclose(fs)
}
=====================
If i compile it from... (8 Replies)
Discussion started by: szzz
8 Replies
3. UNIX for Dummies Questions & Answers
i just typed out a letter but want to hang on to it i typed it out in vi and was wondering how to save and exit from it? also how do you S&E from emacs since those are the two editors i mainly use any help would be appreciated (2 Replies)
Discussion started by: hiei
2 Replies
4. Shell Programming and Scripting
hi i would like someone to assist me to find out how i can Write a script called save which copies a file into a special directory, and another called recover which copies a file back out of the special directory. The user of the script should not be aware of the location of the special directory... (2 Replies)
Discussion started by: swainaina
2 Replies
5. UNIX for Dummies Questions & Answers
I edit crontab with vi editor, i delete the lines i wanted, but i can't save!
i tried the :w, :wq, ZZ commands and it seems like vi is unfamiliar with it.
any suggestions? (3 Replies)
Discussion started by: idan_cn
3 Replies
6. UNIX for Advanced & Expert Users
There is a file A.lcf.
I am updating the file and saving it .
But as soon as I am logging off and then logging in I am finding that the updated changes are not there in the file. (5 Replies)
Discussion started by: suchismitasuchi
5 Replies
7. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
8. UNIX for Dummies Questions & Answers
is i want to sort or delete lines etc etc to a file, how do i save the changes.
example i do sort file > file
when i do cat file, all data is erased.
thanks. (2 Replies)
Discussion started by: hobiwhenuknowme
2 Replies
9. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT DEBIAN
ocamlgraph-editor
OCAMLGRAPH-EDITOR(1) User Commands OCAMLGRAPH-EDITOR(1)
NAME
ocamlgraph-editor - GTK-based graph editor based on hyperbolic geometry.
SYNOPSIS
ocamlgraph-editor [-dfs] [-bfs] [-rr refresh-rate] [-aa] [[-help] | [--help]] [graph-file]
DESCRIPTION
This manual page documents briefly the ocamlgraph-editor command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
ocamlgraph-editor is an OCaml and GTK based graph editor based on hyperbolic geometry.
-dfs
DFS drawing strategy.
-bfs
BFS drawing strategy.
-rr refresh-rate
Set the refresh rate, must be greater than 0.
-aa
Turn off anti-aliased mode.
graph-file
Files to edit.
-help, --help
Display an help message.
LICENSE
This manual page was written by Sylvain Le Gall gildor@debian.org for the Debian GNU/Linux system (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any
later version published by the Free Software Foundation; considering as source code all the file that enable the production of this
manpage.
AUTHOR
Sylvain Le Gall <gildor@debian.org>
COPYRIGHT
Copyright (C) 2008 Sylvain Le Gall
OCamlGraph June 21, 2008 OCAMLGRAPH-EDITOR(1)