Hello,
I need to search in file2 for
class A : public B
{
and insert right after that the content of file1.
I am a bit lost as to which tools (which bash functions, awk...). I should use. Thanks for some directions here.
Regards (1 Reply)
I have a file that I want to split in 2 (with Bourne shell sh) preferably. The file consists of groups of lines separated by newline. The file can vary in length, so I need to check number of groups of text. Here's an example
====EXAMPLE START====
#fruit banana
#color yellow
#surface smooth... (0 Replies)
If I cat a file
And want to go to the first instance of a particular value - what command would I use?
And then from that point where I jumped to search for another value - but only search from that point forward not before the file?
Thanks~ (2 Replies)
this is utterly embarassing :(
after posting here i revisited my files and found that when i used "vi" instead of a gui based editor, i suddenly found that the indentations were in fact wrong :(
sorry about this :( (0 Replies)
Hello, I am using tcsh on AIX.
I would like to write a script that does the following:
1. given an inode, how do I find exactly the name of the file?
I know I could do this using ls -i | grep <inode>
but it returns: <inode> <filename>. I need some string manipulation or something to... (1 Reply)
Hi
I would love a bit of help with a problem im having with a script. I need to insert a line of text which is saved in a variable called $fwInsert into a file whos name is saved in a variable called $server but it needs to be in a certain order.
The file is a forward file for a network and... (12 Replies)
Hello All,
I have following file contents
cat file
#line=aaaaaa
#line=bbbbbb
#line=cccccc
#line=dddddd
line=eeeeee
#comment=11111
#comment=22222
#comment=33333
#comment=44444
comment=55555
Testing script
Good Luck!
I would like to comment line line=eeeeee and insert a new line... (19 Replies)
Hello,
I'm trying to create multiple commands using a variable input from another file but am not getting any successful results.
Basically, file1.txt contains multiple lines with single words:
<file1.txt>
yellow
blue
black
white
I want to create multiple echo commands with these... (8 Replies)
I am trying to use awk to place the contens of a filename in $1 and $2 followed by the data in the text file. Basically, put the filename within the text file. There are over 1000 files in the directory and as of now each file is saved with a unique name but it is not within the file. Thank you... (10 Replies)
Discussion started by: cmccabe
10 Replies
LEARN ABOUT DEBIAN
smbnetfs
smbnetfs(1) General Commands Manual smbnetfs(1)NAME
smbnetfs - User-space filesystem for SMB/NMB (Windows) network servers and shares
DESCRIPTION
usage: smbnetfs mountpoint [options]
general options:
-o opt,[opt...]
mount options
-h--help
print help
-V--version
print version
SMBNetFS options:
-o config=PATH
path to config (~/.smb/smbnetfs.conf)
-o smbnetfs_debug=N
SMBNetFS debug level (N<=10)
-o smb_debug_level=N
Samba debug level (N<=10)
-o log_file=PATH
File to store SMBNetFS debug messages
-o local_charset=CHARSET
Local charset (autodetected)
-o samba_charset=CHARSET
Charset used by samba (utf-8)
-o use_gnome_keyring=BOOL
Enable/disable usage of gnome-keyring
-o gnome_keyring_timeout=T
auth retrieving timeout for gnome_keyring (500ms)
-o max_rw_block_size=N
Maximum size of r/w block in Kb (autodetected)
-o smb_tree_scan_period=T
Period of scanning samba network tree (300s)
-o smb_tree_elements_ttl=T
TTL of scanned elements in samba tree (900s)
-o smb_query_browsers=BOOL
Enable/disable scanning of samba tree (on)
-o show_$_shares=BOOL
Enable/disable showing of hidden shares (off)
-o show_hidden_hosts=BOOL
See in documentation (off)
-o free_space_size=N
Free space size in pages (0)
-o quiet_flag=BOOL
Do not fail on chown/chgroup (on)
-o stat_workaround_depth=N
konquerror and gnome termal hack (3)
-o time_step=T
Scheduler sleep interval (10s)
-o config_update_period=T
Configuration update interval (300s)
-o max_ctx_count=N
Maximum number of childs (15)
-o max_retry_count=N
Number of retries before fail (3)
-o listen_timeout=T
Child process inactivity timeout (300s)
-o reply_timeout=T
Child process reply timeout (30s)
-o max_passwd_query_count=N
See in documentation (10)
FUSE options:
-d-o debug
enable debug output (implies -f)
-f foreground operation
-s disable multi-threaded operation
-o allow_other
allow access to other users
-o allow_root
allow access to root
-o nonempty
allow mounts over non-empty file/dir
-o default_permissions enable permission checking by kernel
-o fsname=NAME
set filesystem name
-o large_read
issue large read requests (2.4 only)
-o max_read=N
set maximum size of read requests
-o hard_remove
immediate removal (don't hide files)
-o use_ino
let filesystem set inode numbers
-o readdir_ino
try to fill in d_ino in readdir
-o direct_io
use direct I/O
-o kernel_cache
cache files in kernel
-o umask=M
set file permissions (octal)
-o uid=N
set file owner
-o gid=N
set file group
-o entry_timeout=T
cache timeout for names (1.0s)
-o negative_timeout=T
cache timeout for deleted names (0.0s)
-o attr_timeout=T
cache timeout for attributes (1.0s)
FILES
Please create configuration directory ~/.smb. This directory should contain at least two files: smb.conf and smbnetfs.conf. You may copy
smb.conf from the /etc/samba directory. You can find a sample of smbnetfs.conf in the /etc directory.
AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>, for the Debian project (but may be used by others).
August 06, 2010 smbnetfs(1)