ln does make links. chmod does change permissions. if you read each of their manual pages, you should be in the clear.
with chmod you can calculate the octal number representation, or go the easy way. If I'm just changing 1 permission set I use the easy way. It starts with any of "ugoa", for user, group, other, and all, respectively.
Hi,
At the moment, I have inserted an actual filename to conduct searches through it etc... Instead, I want the user to choose a filename and then do the searches against this file, instead of already having specified the file in the code. How would I do this? I tried doing the following, but it... (5 Replies)
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Dear all,
I want to change all the File name in a folder from File1.txt to
File1YYYYMMDD.txt where YYYYMMDD is the date of the file is renamed.
I have used the following scripts:-
********************************************************
#!/bin/ksh
A=`date +"%d%m%Y"
for in * ... (2 Replies)
Hi guys,
I desperately need your help on my problem:-
I got a folder in my directory that has many files in it. Most of the file's name is starting with certain prefix. Eg: ABC, CDE, EFG, etc. I only want to change file name that is starting from certain prefix and the rest I want them to... (1 Reply)
Hi, I want to change on a file this line:
vif =
into:
vif =
But there are some conditionals:
1. last part '] of the original line after 00:16:3E:CE:23:14' ] may vary to 00:16:3E:CE:23:14' ] or 00:16:3E:CE:23:14 ' ]
2. The second mac adrress of the line I need,... (4 Replies)
i have a file a.txt contents as 1,2,3,4,......etc...in a single line, i want to write to another file in rows as
1
2
3
4
5
can u help?
i do not know the length of a.txt (4 Replies)
Write a shell program to replace the starting alphabet "a" with "k" for the file names in the current directory.
Note : Change only the file names starting with "a". Rest of the file names remains unchanged.
Homework. Replies deleted. Closed. (0 Replies)
Hi,
I have several text files each containing some data as shown below:
File1.txt
>DataHeader
Data...
Data...
File2.txt
>DataHeader
Data...
Data...
etc.
What I want is to change the 'DataHeader' based on the file name. So the output should look like:
File1.txt
>File1
... (1 Reply)
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user.
my requirement is to make a zipped file of this .dmp file.
What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies
LEARN ABOUT DEBIAN
acpi_panasonic
ACPI_PANASONIC(4) BSD/i386 Kernel Interfaces Manual ACPI_PANASONIC(4)NAME
acpi_panasonic -- ACPI hotkey driver for Panasonic laptops
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device acpi_panasonic
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
acpi_panasonic_load="YES"
DESCRIPTION
The acpi_panasonic driver enables such hotkey facilities of various Panasonic laptops as changing LCD brightness, controlling mixer volumes,
entering sleep or suspended state and so on. On the following models it is reported to work: Let's note (or Toughbook, outside Japan) CF-
R1N, CF-R2A and CF-R3. It may also work on other models as well.
The driver consists of three functionalities. The first is to detect hotkey events and take corresponding actions, which include changing
LCD luminance and speaker mute state. The second role is to notify occurrences of the event by way of devctl(4) and eventually to devd(8).
The third and last is to provide a way to adjust LCD brightness and sound mute state via sysctl(8).
Hotkeys
There are 9 hotkeys available on the supported hardwares:
Fn+F1 Make LCD backlight darker.
Fn+F2 Make LCD backlight brighter.
Fn+F3 Switch video output between LCD and CRT. Not supported by the acpi_panasonic driver.
Fn+F4 Toggle muting the speaker.
Fn+F5 Turn the mixer volume down.
Fn+F6 Turn the mixer volume up.
Fn+F7 Enter suspend-to-RAM state.
Fn+F9 Show battery status.
Fn+F10 Enter suspend-to-disk state.
Actions are automatically taken within the driver for Fn+F1, Fn+F2 and Fn+F4. For the other events such as mixer control and showing battery
status, devd(8) should take the role as described below.
devd(8) Events
When notified to devd(8), the hotkey event provides the following information:
system "ACPI"
subsystem "Panasonic"
type The source of the event in ACPI namespace. The value depends on the model but typically "\_SB_.HKEY".
notify Event code (see below).
Event codes to be generated are assigned as follows:
0x81-0x86, 0x89
Fn+F<n> pressed. 0x81 corresponds to Fn+F1, 0x82 corresponds to Fn+F2, and so on.
0x01-0x07, 0x09, 0x1a
Fn+F<n> released. 0x01 corresponds to Fn+F1, 0x02 corresponds to Fn+F2, and so on.
SYSCTL VARIABLES
The following MIBs are available:
hw.acpi.panasonic.lcd_brightness_max
The maximum level of brightness. The value is read only and automatically set according to hardware model.
hw.acpi.panasonic.lcd_brightness_min
The minimum level of brightness. The value is read only and automatically set according to hardware model.
hw.acpi.panasonic.lcd_brightness
Current brightness level of the LCD (read-write). The value ranges from hw.acpi.panasonic.lcd_brightness_min to
hw.acpi.panasonic.lcd_brightness_max.
hw.acpi.panasonic.sound_mute
A read-write boolean flag to control whether to mute the speaker. The value 1 means to mute and 0 not.
SEE ALSO acpi(4), devd.conf(5), devd(8), sysctl(8)HISTORY
The acpi_panasonic driver first appeared in FreeBSD 5.3.
AUTHORS
The acpi_panasonic driver and this manual page were written by OGAWA Takaya <t-ogawa@triaez.kaisei.org> and TAKAHASHI Yoshihiro
<nyan@FreeBSD.org>.
BSD September 17, 2009 BSD