I have a task to write a bash script showing permissions to biggest and smallest file in catalog. How I could obtain that ?
I've tried ls -s but it shows me all files sorted by the size.
I have a large text file with a size of more than 30 megabytes. I want to remove all the lines which don't match some specific criteria, e.g. lines that don't have the string 'START'. What's the easiest way to do it?
Thanks.
I'm trying to add a linked server to an Excel 2010 file from SQL Server 2012. Every reference I've found online for doing this is using older versions of SQL Server, and the driver that they tell you to use 'Microsoft.Jet.OLEDB.4.0', is not present in 2012 from what I can tell.
Can anyone tell me which provider I need to use and what the product name, data source, and provider string should be?
For reference, this is the screen I'm looking at:
Thanks.
I have installed web application behind IIS which access the files/directory located on the another machine.
Now while developing the application using the Visual Studio 2008 then Developer Web Server it provides when build the site was able to access the location. However when the site is deployed on the IIS its saying Unable to access the file because of insufficient permissions.
Can some one please help regarding what could be the issue ? any idea or pointers could be helpful.
Thanks,
I have installed web application behind IIS which access the files/directory located on the another machine.
Now while developing the application using the Visual Studio 2008 then Developer Web Server it provides when build the site was able to access the location. However when the site is deployed on the IIS its saying Unable to access the file because of insufficient permissions.
Can some one please help regarding what could be the issue ? any idea or pointers could be helpful.
Thanks,
I have a wps file (Microsoft Works), but no Microsoft Works, and no Microsoft Office. Ultimately, I want to get a PDF but happy to convert to an intermediate format if I can. Preferably on OS X if possible, but would use a Windows solution if there is one.
Is there a converter tool I can use for this? Thanks.
Hey ,,
My Flash Disk is disconnecting when I transfer file from or to it , only big files (More that 30 M.B) , it disconnect and reconnect it self , so what is the wrong with it ? Is it broken? or I can repair it .
I have an account with a hosting company and I have FTP access, how do I find this file
/usr/local/lib/php.ini
When my root directory after looging in to ftp includes the following folders
-admin_backups
-domains
-imap
-Maildir
-user_backups
Hi everybody,
I have an issue with a tarball created on a SuSe 10.3 Server version. The .tar file has a size of 6.5 GB but if I untar it under Ubuntu 9.10 the resulting folder only has a size of 1.5 GB.
commands used: tar cvf for packing, tar xvf for unpacking.
Perhaps somebody knows how this can be fixed, would be great,
cheers
Is there a simple way to export the current selected layer as a png/jpg file in Gimp 2.8.4 ?
I did some searching in google, and the export should do it in gimp 2.6 if the layer is the only visible layer, but I can't get that to work for gimp 2.8
The way I currently do it now is that I select the content, and cut/paste it to a new image, then export the image and close it, but a simple export selected layer would be much more easy to use.
Context: How can I configure a NameCheap domain to point to an Apache subfolder?
Following Devin's answer here I've created a .htaccess file in /var/www and wrote in the following:
RewriteEngine On
RewriteCond !sergiotapia.me
RewriteRule (.*) sergiotapia.me/$1 [QSA]
My folder structure is such:
/var/www/
/var/www/sergiotapia.me
When visiting the URL sergiotapia.me I see the contents of /var/www when I would like to be directly redirected to /var/www/sergiotapia.me
Any ideas?
I very often use subtitles on my mkv player to watch movies. I have frequently observed that there is sometime a lag between the subtitles and the actual video. Even after setting the subtitle offset one would have to go on increasing it as the movie proceeds. This is something i find extremely annoying and would like to know if there is any way when one can check if a subtitle file is the ideal one for a given video.
I have a batch file intended to replace all instances of tracking.js within a folder/sub folders.
FOR /R "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\Version1.2\" %%I IN (tracking.js*) DO COPY /Y "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\tracking.js" %%~fI
When this is run I get the following syntax error
C:COPY /Y "D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\track
ing.js" D:\Virtual Servers (Testing)\CourseWare Master\Shared\Jenison\Version1.2
\SHAPERS_COMBINED\Smarter Communications\WhatisInfluencing\script\Tracking.js
The syntax of the command is incorrect.
Ideas please?
On Windows Vista, when browsing to a network folder containing executables, Windows Explorer
seems to load all the files completely just to be able to show the executable icon (the resource monitor indicates loads of traffic during the loading of the directory)
On XP only a part of the file is loaded.
Is there a way to avoid the complete loading of these files?
Note that disabling my anti virus does not help.
I have an ISO CD image file and want to extract it's contents to a folder.
I know there are ways to mount the image and stuff, but it's complicated.
I'm looking for a GUI tool to open up the contets and extract needed files.
On windows I would use WinRar to do this.
K3B only allows me to burn the stuff, Arch does not work with ISO files :(
Is there a similar tool on Linux, preferably from KDE world?
I would like my external drives to be readable and writable from Linux, Mac OS X and Windows.
FAT32 works, but the 4 GB file size limit is a showstopper these days. Are there any alternatives?
I have a csv file that constantly needs opened into Excel and then have the data copied over to a separate workbook.
I find the process of having to click through all of the dialogs, setting the text identifier, setting the columns to all be text extremely tedious.
In many actions with data like this in regards to MSSQL or Access the program will ask you if you wish to save these steps however Excel doesn't readily ask that.
Is there any way to get a comparable usage with Excel?
Varnish Security main.vcl contains
# clear all internal variables
include "/etc/varnish/security/build/variables.vcl";
and
# fallthrough: clear all internal variables on security.vcl_recv exit
include "/etc/varnish/security/build/variables.vcl";
but /etc/varnish/security/build/variables.vcl is not included into the git.
I commented it out, and it is working fine but where can I get that file?
So... I discovered that my wtmp file was really big today, like 2.1GB.
I deleted it and recreated it, but...
Is there any way I can tell logrotate to well, rotate the log?
I can copy full path of file:
{ "keys": ["super+i"], "command": "copy_file_path" }
But don't know how to copy its relative path (relative to project folder)
I even created .sublime-project
{
"folders":
[
{
"path": ".",
"folder_exclude_patterns": ["node_modules"],
"follow_symlinks": true
}
]
}
But copy_file_path still copies absolute path.
i need check if a network drive is mapped and accessible. From time to time windows displays a red X on the drive, and i would need to manually click the drive in explorer to reconnect.
I already found solutions which involve editing the registry which unfortunately isn´t possible.
So i would need a batch file checking for connection, and (re-)mounting the drive. What i´m using at the moment:
IF NOT EXIST z: net use z: \\10.211.55.5\test
I've checked "Don't use the index when searching in file folders for system files", but I don't see a way to tell Windows 7 that I'm looking for a system file. What does this option actually do, and how do I use it to search every file name on the drive for a specified character string?
I intend to search file names in an indexed folder that contains non-indexed subfolders and "system" file types, and this option seems to have no effect on the skipping of those subfolders and file types.
I'm using the official windows version of nginx. I want to specify the windows equivalent of this configuration
location /static/ {
alias /home/user/staticfiles/;
}
How do I specify windows file paths in the alias directive? Is this even possible?