9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need as script (awk/sed?) to add noatime option to fstab.
It should append ,noatime to whatever is in column 4 if noatime isn't already there, leaving comments alone.
# Created by anaconda on Mon Oct 31 20:44:41 2011
# Accessible filesystems, by reference, are... (5 Replies)
Discussion started by: pblumenthal
I already installed nautilus-actions
now , I want to add "print path" script(option) to the right context menu!..
I did :
the script print located in... (2 Replies)
Discussion started by: eawedat
3. Shell Programming and Scripting
I have created a script that will remove the first two lines of one text file (body.txt) and then add the text from a different text file (header.txt) directly to the beginning of the freshly modified body.txt file. It is as follows:
## This script will add a header... (2 Replies)
Discussion started by: marcozd
4. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
manny (2 Replies)
Discussion started by: mr_manny
5. Shell Programming and Scripting
How do I add the option to change the path in a menu? I have this script. The user chooses a number and had the option of doing something, looking for log files etc. There is a possibility they might want to look at a different path other than what I have given them such as... (2 Replies)
Discussion started by: taekwondo
6. UNIX for Dummies Questions & Answers
to an existing print que? (1 Reply)
Discussion started by: NycUnxer
7. Shell Programming and Scripting
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
8. Shell Programming and Scripting
I am very new to scripting.
I have the following script:
for i in `ls -1 | grep $1 | grep -v $2`
x=`echo $i | sed 's/\.New/\.Old/g'`
echo mv $i DONE/$x
This is taking files from the directory I am in and changing the name from .New to .Old and then echoing the command to move... (2 Replies)
Discussion started by: llsmr777
9. Windows & DOS: Issues & Discussions
I have installed RH Linux 7.1, windows 2000 and windows ME in the same machine.
There are two booting menu:
If I want to use windowME, I need to boot lilo and choose dos and final choose windows ME.
Have any... (3 Replies)
Discussion started by: wilsonchan1000