Hi,
Is there a way to protect users from deleteing their .profile ?
For the majority of our users I created a captive login by a .profile that starts a menu-script. In this menu a user can only start our applications and logoff. This prevents users from getting to the unix-prompt.
... (7 Replies)
I had created a root account when I installed the Centos 5 into my system.
But now the problem I'm facing is that I accidently deleted the root user account in my system.
Is there a way to recreate the root account in the system now, without reinstalling the OS?
Pls help. (1 Reply)
Hi
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
"asasd,123123,213213,asd"
"esfrf,dsfsdf,234324,sdfsdf"
Then the batch file should remove "" from the... (11 Replies)
Hi
my requirement is that i want pull the bad records from input file and move those records in to a seperate file.
that file has to be sent via email..
any suggentions please (1 Reply)
Hello Unix board community,
I have to program a shell script, but I am a complete noob so I hope I get some help here. The assignment is as follows:
The program removes all comments regardless of formatting or language from files with specific file name extensions (php, css, js, ...).... (3 Replies)
Good Afternoon,
I start with a file named biglist.txt.
I have another file smallerlist. txt
I want to remove the lines from smallerlist.txt from biglist.txt and leave those lines that do not reside in smallerlist.txt.
Thanks !! (2 Replies)
Sorry for the weird title but i have the following problem.
We have several files which have between 10000 and about 500000 lines in them. From these files we want to remove lines which contain a pattern which is located in another file (around 20000 lines, all EAN codes). We also want to get... (28 Replies)
To prevent an accidental "cd /var/yp; make all" from being executed on an NIS slave server, I found a helpful hint from an instructor in a Solaris class. Just rename the /var/yp/Makefile to Makefile.orig. You will get an error message when trying to execute the "make all" on a slave server. (0 Replies)
I was practicing writing simple loops as I am a new bash user and I created this script, which turned out to be an endless loop where the echo output does not stop and I do not see where my mistake is.
#!/bin/bash
echo 'enter a number from 1 to 100'
read number
while
do
... (2 Replies)
Hello,
I have two files of the following form. I would like to remove from File.A where the first three colum matches values in File.B to give the output in File.C
File.A
121 54321 PQR CAT
122 765431 ABC DOG
124 98765 ZXY TIGER
125 86432 GEF LION
File.B
122 765431 ABC
125 86432 GEF... (4 Replies)
Discussion started by: Gussifinknottle
4 Replies
LEARN ABOUT ULTRIX
rmdel
rmdel(1) General Commands Manual rmdel(1)Name
rmdel - remove a delta from an SCCS file
Syntax
rmdel -r files
Description
The command removes the delta specified by the SID from each named SCCS file. The delta to be removed must be the most recent delta in its
branch in the delta chain of each named SCCS file. In addition, the specified delta must not be that of a version being edited for the
purpose of making a delta, for example, if a p-file exists for the named SCCS file, the specified delta must not appear in any entry of
the p-file). For further information, see
If a directory is named, behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last com-
ponent of the path name does not begin with s.) and unreadable files are silently ignored. If - is given as the name, the standard input
is read and each line of the standard input is taken to be the name of an SCCS file to be processed. Non-SCCS files and unreadable files
are silently ignored.
Certain permissions are necessary to remove a delta. If you make a delta or own the file and directory, you can remove it.
Options-rSID Specifies the delta version number.
Diagnostics
Use for explanations.
Files
x-file For further information, see
z-file For further information see
See Alsodelta(1), get(1), help(1), prs(1), sccs(1), sccsfile(5)
Guide to the Source Code Control System
rmdel(1)