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.
To Remove Issue of
WARNING: Unable to verify SSL certificate for api.heroku.com
To disable SSL verification, run with HEROKU_SSL_VERIFY=disable
By Googling I got few solution. One of them is added HEROKU_SSL_VERIFY=disable to .bashrc. Unfortunately, I am not able to edit that file, gives an error of
'readonly' option is set (add ! to override)
!wq is used in place of :wq, but no response.
Please suggest me to resolve this issue... Thanks
I am using the follwing to auto login and then run file containng a command.
C:\path\to\putty.exe -load "[Sessionname]" -l [user] -pw [password] -m C:\path\to\commands.txt
Commands.txt contains the following command
ps -elf|grep 'sometext'
but when I try to do so a new window for putty comes and exits instantly after login. I cannot see the output of command in commands.txt
What is the problem;. Is there error in my approach or I need some more command to make the putty window pause for sometime before exiting.
I open a command prompt window in XP. There I run a command line program (foo.exe) and I want to capture stdout in a file. So I run it like this:
foo fooResult.txt
However, at the same time I would like stdout to still be fed to the screen of the command prompt window. What is the syntax for that?
I'm trying to create a very simple Windows-XP batch file:
Program1.exe
Sleep 3
Program2.exe
Sleep 5
Program3.exe
Sleep 11
Of course, I don't want to have to exit each program, before the next 1 starts.
The default for batch-files seems to be "stop until the previous program exists".
How do I get this script to run as expected?
Edit: The 3 executables listed above are more like "notepad" type programs. They open and run and don't just "open,run,close".
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've mapped my domain users to a remote share, and I'm trying to get rid of the security warning that appears whenever a file is run from the remote share.
I've tried adding the FQDN to the intranet list with no prevail and I'm starting to go crazy. I've also turned off IE Enhanced Security Configuration for both Admins and Users.
The group policies are being applied, and I can see the FQDN in the intranet list in internet options.
Relevant group policy:
Relevant security warning:
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 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 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,
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.
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
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?
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?
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 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?
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?