10 More Discussions You Might Find Interesting
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
2. Shell Programming and Scripting
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Discussion started by: georgi58
3. Shell Programming and Scripting
I have one LOG directory with some files. What I need to do is list ONLY the files that are not present in other directory.
Using Bash programming!
LOG DIR | SYNC DIR
FILE1 | FILE1
FILE2 | FILE3
FILE3 | OTHER FILENAME
FILE4 ... (9 Replies)
Discussion started by: Lord Spectre
4. Shell Programming and Scripting
how can i do a case insensitive search/replace but keep the same case?
e.g., i want to change a word like
apple-pie to orange-cake
but for the first word if the first letter of the keyword or the letter after the - is capitalised i want to preserve that
e.g., if the before is:
... (5 Replies)
Discussion started by: vanessafan99
I'm in a directory named /tmp/mq7
i need to upgrade the mq version from 6 to 7 but im not sure where is the package located ?
which command in solaris will show me the list of all the packages present in the directory /tmp/mq7 ?
my box is running with solaris version 10. (2 Replies)
Discussion started by: newtoaixos
6. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
7. Shell Programming and Scripting
i have a data array as followes.
i need all english letters to be change to lower case. So i am expecting to see
If i have to copy this data in... (8 Replies)
Discussion started by: usustarr
8. Shell Programming and Scripting
how to traverse through each directory (1 Reply)
Discussion started by: Reddy482
How can I get the present working directory in unix system using c programming and stored it in a string ?? (0 Replies)
Discussion started by: winsonlee
10. UNIX for Dummies Questions & Answers
How one can list only the name of directories present in the directory by using ls command. (2 Replies)
Discussion started by: amolpatil54321
cpufreq-selector(1) General Commands Manual cpufreq-selector(1)
cpufreq-selector -- tool to set CPU frequency
cpufreq-selector [-c CPU] [-g GOV] [-f FREQ]
cpufreq-selector is a command-line tool for choosing CPU frequency settings.
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
-?, --help " 10 Show summary of options.
--cpu=NUMBER " 10 number of CPU to set. If omitted, zeroth CPU is implied.
--governor=GOV " 10 CPU governor to use, such as ``powersave'', ``performance''.
--freq=FREQ " 10 CPU frequency to use, in kHz.
cpufreq-selector, as part of gnome-applets, was written by Carlos Garcia Campos firstname.lastname@example.org and other GNOME contributors.
This manual page was written by Theppitak Karoonboonyanan email@example.com for the Debian system (but may be used by others). Permis-
sion is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later ver-
sion published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.