10-26-2016
Corona, I'll have to remember that "inode" technique. After making sure there was only one file in the directory ending in G, the mv command changed the same to something standard like Rudic and Don suggested.
I had to take a hex dump of the ls -l to see its true name.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
2. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
3. Shell Programming and Scripting
I need to delete those lines from a file, which starts with 45.
How to do it? (3 Replies)
Discussion started by: mady135
3 Replies
4. Shell Programming and Scripting
Hi Guys,
I have an awk script that would search the input file for line that starts with a number 3 and copies into a new text file.
I want to extend this script to find the lines that either starts with 3 or a or b and copy all those lines into the new file.
Here is what I have so far:... (1 Reply)
Discussion started by: Amith821
1 Replies
5. Shell Programming and Scripting
Hi, I have one file, I need to check if file exist or not and then remove the lines which starts with ?
My file1.out data is some thing
abcabcppp
xyzxyzpqr
?????????
?????????
Output should be in test.out
abcabcppp
xyzxyzpqr
I am getting the output as below but the File does not exist... (4 Replies)
Discussion started by: Ramyajiguru1
4 Replies
6. Shell Programming and Scripting
Hi,
I have a text file which when I do a 'cat' on it looks like below with the OK’s showing in green and any FAIL showing in red.
cat filename output:
===== MySQL Query Check =====
DB mpuser is alive. 733 = Expected 733 Tables. OK ]
DB mpuser_wf is alive. 61 =... (6 Replies)
Discussion started by: bunti
6 Replies
7. UNIX for Advanced & Expert Users
hello,
can someone please suggest a script to rename a file that was generated today and filename that being generated daily starts with date, its a xml file.
here is example.
# find . -type f -mtime -1
./20130529_4995733057260357019.xml
#
this finename should be renamed to this format.... (6 Replies)
Discussion started by: bobby320
6 Replies
8. Shell Programming and Scripting
This is on a CentOS box, I have two scripts that need to run in order.
I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Discussion started by: btramer
3 Replies
9. Shell Programming and Scripting
Hi all,
I'm new to scripting.. facing some problems while inserting content of a file into another file...
I want to insert content of a file (file2) into file1, before first occurrence of "line starts with pattern" in file1
file1
======
working on linux
its unix world
working on... (14 Replies)
Discussion started by: Jagadeesh Kumar
14 Replies
10. Shell Programming and Scripting
Hi Experts
I have an escape seperated fields in the unix file. And in the below format file I need to extract the first column. Please help its urgent.
cat -v op.dat | head
24397028^
I want to extract the file in below format ( with only first column )
24397028
2439707
thanks.
... (6 Replies)
Discussion started by: neha_suri06
6 Replies
DCONF(1) User Commands DCONF(1)
NAME
dconf - Simple tool for manipulating a dconf database
SYNOPSIS
dconf read KEY
dconf list DIR
dconf write KEY VALUE
dconf reset [-f] PATH
dconf update
dconf watch PATH
dconf dump DIR
dconf load DIR
dconf help [COMMAND]
DESCRIPTION
The dconf program can perform various operations on a dconf database, such as reading or writing individual values or entire directories.
This tool operates directly on the dconf database and does not read gsettings schema information. Therefore, it cannot perform type and
consistency checks on values. The gsettings(1) utility is an alternative if such checks are needed.
The DIR arguments must be directory paths (starting and ending with '/'), the KEY arguments must be key paths (starting, but not ending
with '/') and the PATH arguments can be either directory or key paths.
VALUE arguments must be in GVariant format, so e.g. a string must include explicit quotes: "'foo'". This format is also used when printing
out values.
COMMANDS
read
Read the value of a key.
list
List the sub-keys and sub-directories of a directory.
write
Write a new value to a key.
reset
Reset a key or an entire directory. For directories, -f must be specified.
update
Update the system dconf databases.
watch
Watch a key or directory for changes.
dump
Dump an entire subpath to stdout. The output is in a keyfile-like format, with values in GVariant syntax.
load
Populate a subpath from stdin. The expected format is the same as produced by dump.
help
Display help and exit. If COMMAND is given, display help for this command.
SEE ALSO
dconf(7), gsettings(1), dconf-editor(1)
dconf DCONF(1)